Searched refs:oldlen (Results 1 – 7 of 7) sorted by relevance
/net/netfilter/ |
D | nf_nat_helper.c | 96 int oldlen, datalen; in __nf_nat_mangle_tcp_packet() local 108 oldlen = skb->len - protoff; in __nf_nat_mangle_tcp_packet() 115 tcph, &tcph->check, datalen, oldlen); in __nf_nat_mangle_tcp_packet() 146 int datalen, oldlen; in nf_nat_mangle_udp_packet() local 158 oldlen = skb->len - protoff; in nf_nat_mangle_udp_packet() 171 udph, &udph->check, datalen, oldlen); in nf_nat_mangle_udp_packet()
|
D | nf_conntrack_extend.c | 42 unsigned int newlen, newoff, oldlen, alloc; in nf_ct_ext_add() local 54 oldlen = old->len; in nf_ct_ext_add() 56 oldlen = sizeof(*new); in nf_ct_ext_add() 66 newoff = ALIGN(oldlen, t->align); in nf_ct_ext_add()
|
D | xt_TCPMSS.c | 223 __be16 frag_off, oldlen, newlen; in tcpmss_tg6() local 239 oldlen = ipv6h->payload_len; in tcpmss_tg6() 240 newlen = htons(ntohs(oldlen) + ret); in tcpmss_tg6() 242 skb->csum = csum_add(csum_sub(skb->csum, oldlen), in tcpmss_tg6()
|
D | nf_nat_proto.c | 501 int datalen, int oldlen) in nf_nat_ipv4_csum_recalc() argument 514 htons(oldlen), htons(datalen), true); in nf_nat_ipv4_csum_recalc() 521 int datalen, int oldlen) in nf_nat_ipv6_csum_recalc() argument 534 htons(oldlen), htons(datalen), true); in nf_nat_ipv6_csum_recalc() 541 int datalen, int oldlen) in nf_nat_csum_recalc() argument 546 datalen, oldlen); in nf_nat_csum_recalc() 551 datalen, oldlen); in nf_nat_csum_recalc()
|
/net/netfilter/ipvs/ |
D | ip_vs_proto_udp.c | 118 __be16 oldlen, __be16 newlen) in udp_partial_csum_update() argument 124 ip_vs_check_diff2(oldlen, newlen, in udp_partial_csum_update() 130 ip_vs_check_diff2(oldlen, newlen, in udp_partial_csum_update() 142 int oldlen; in udp_snat_handler() local 148 oldlen = skb->len - udphoff; in udp_snat_handler() 168 oldlen = skb->len - udphoff; in udp_snat_handler() 181 htons(oldlen), in udp_snat_handler() 225 int oldlen; in udp_dnat_handler() local 231 oldlen = skb->len - udphoff; in udp_dnat_handler() 252 oldlen = skb->len - udphoff; in udp_dnat_handler() [all …]
|
D | ip_vs_proto_tcp.c | 129 __be16 oldlen, __be16 newlen) in tcp_partial_csum_update() argument 135 ip_vs_check_diff2(oldlen, newlen, in tcp_partial_csum_update() 141 ip_vs_check_diff2(oldlen, newlen, in tcp_partial_csum_update() 153 int oldlen; in tcp_snat_handler() local 159 oldlen = skb->len - tcphoff; in tcp_snat_handler() 177 oldlen = skb->len - tcphoff; in tcp_snat_handler() 188 htons(oldlen), in tcp_snat_handler() 231 int oldlen; in tcp_dnat_handler() local 237 oldlen = skb->len - tcphoff; in tcp_dnat_handler() 258 oldlen = skb->len - tcphoff; in tcp_dnat_handler() [all …]
|
/net/ipv4/ |
D | tcp_offload.c | 63 unsigned int oldlen; in tcp_gso_segment() local 77 oldlen = (u16)~skb->len; in tcp_gso_segment() 112 delta = htonl(oldlen + (thlen + mss)); in tcp_gso_segment() 167 delta = htonl(oldlen + (skb_tail_pointer(skb) - in tcp_gso_segment()
|