Searched refs:newlen (Results 1 – 8 of 8) sorted by relevance
/net/netfilter/ |
D | nf_conntrack_extend.c | 42 unsigned int newlen, newoff, oldlen, alloc; in nf_ct_ext_add() local 67 newlen = newoff + t->len; in nf_ct_ext_add() 70 alloc = max(newlen, NF_CT_EXT_PREALLOC); in nf_ct_ext_add() 85 new->len = newlen; in nf_ct_ext_add() 86 memset((void *)new + newoff, 0, newlen - newoff); in nf_ct_ext_add()
|
D | xt_TCPMSS.c | 199 __be16 newlen; in tcpmss_tg4() local 210 newlen = htons(ntohs(iph->tot_len) + ret); in tcpmss_tg4() 211 csum_replace2(&iph->check, iph->tot_len, newlen); in tcpmss_tg4() 212 iph->tot_len = newlen; in tcpmss_tg4() 223 __be16 frag_off, oldlen, newlen; in tcpmss_tg6() local 240 newlen = htons(ntohs(oldlen) + ret); in tcpmss_tg6() 243 newlen); in tcpmss_tg6() 244 ipv6h->payload_len = newlen; in tcpmss_tg6()
|
/net/ipv4/ |
D | udp_offload.c | 197 __be16 newlen; in __udp_gso_segment() local 233 newlen = htons(sizeof(*uh) + mss); in __udp_gso_segment() 234 check = csum16_add(csum16_sub(uh->check, uh->len), newlen); in __udp_gso_segment() 246 uh->len = newlen; in __udp_gso_segment() 260 newlen = htons(skb_tail_pointer(seg) - skb_transport_header(seg) + in __udp_gso_segment() 262 check = csum16_add(csum16_sub(uh->check, uh->len), newlen); in __udp_gso_segment() 264 uh->len = newlen; in __udp_gso_segment() 510 __be16 newlen = htons(skb->len - nhoff); in udp_gro_complete() local 515 uh->len = newlen; in udp_gro_complete()
|
D | af_inet.c | 1587 __be16 newlen = htons(skb->len - nhoff); in inet_gro_complete() local 1598 csum_replace2(&iph->check, iph->tot_len, newlen); in inet_gro_complete() 1599 iph->tot_len = newlen; in inet_gro_complete()
|
/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()
|
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()
|
/net/sunrpc/ |
D | svcsock.c | 1400 int newlen; in svc_create_socket() local 1452 newlen = error; in svc_create_socket() 1464 svc_xprt_set_local(&svsk->sk_xprt, newsin, newlen); in svc_create_socket()
|
/net/core/ |
D | skbuff.c | 6036 unsigned int newlen, newoff; in skb_ext_add() local 6057 newlen = newoff + skb_ext_type_len[id]; in skb_ext_add() 6058 new->chunks = newlen; in skb_ext_add()
|