Searched refs:udplen (Results 1 – 3 of 3) sorted by relevance
54 u_int32_t udplen = len - iph->ihl * 4; in help() local55 u_int32_t datalen = udplen - sizeof(struct udphdr); in help()65 if (udplen < sizeof(struct udphdr)) { in help()67 printk("amanda_help: udplen = %u\n", udplen); in help()72 csum_tcpudp_magic(iph->saddr, iph->daddr, udplen, IPPROTO_UDP, in help()73 csum_partial((char *)udph, udplen, 0))) in help()
230 u_int32_t udplen, newlen, newudplen; in ip_nat_mangle_udp_packet() local232 udplen = (*skb)->len - iph->ihl*4; in ip_nat_mangle_udp_packet()233 newudplen = udplen - match_len + rep_len; in ip_nat_mangle_udp_packet()237 if (udplen < sizeof(*udph) + match_offset + match_len) { in ip_nat_mangle_udp_packet()
1226 u_int16_t udplen = ntohs(udph->len); in snmp_translate() local1227 u_int16_t paylen = udplen - sizeof(struct udphdr); in snmp_translate()