Home
last modified time | relevance | path

Searched refs:udplen (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/net/ipv4/netfilter/
Dip_conntrack_amanda.c54 u_int32_t udplen = len - iph->ihl * 4; in help() local
55 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()
Dip_nat_helper.c230 u_int32_t udplen, newlen, newudplen; in ip_nat_mangle_udp_packet() local
232 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()
Dip_nat_snmp_basic.c1226 u_int16_t udplen = ntohs(udph->len); in snmp_translate() local
1227 u_int16_t paylen = udplen - sizeof(struct udphdr); in snmp_translate()