Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/xfrm/
A Dxfrm_output.c226 struct iphdr *top_iph; in xfrm4_beet_encap_add() local
246 top_iph = ip_hdr(skb); in xfrm4_beet_encap_add()
276 struct iphdr *top_iph; in xfrm4_tunnel_encap_add() local
286 top_iph = ip_hdr(skb); in xfrm4_tunnel_encap_add()
288 top_iph->ihl = 5; in xfrm4_tunnel_encap_add()
289 top_iph->version = 4; in xfrm4_tunnel_encap_add()
295 top_iph->tos = 0; in xfrm4_tunnel_encap_add()
298 top_iph->tos = INET_ECN_encapsulate(top_iph->tos, in xfrm4_tunnel_encap_add()
303 IP_ECN_clear(top_iph); in xfrm4_tunnel_encap_add()
321 struct ipv6hdr *top_iph; in xfrm6_tunnel_encap_add() local
[all …]
/linux-6.3-rc2/net/ipv4/
A Dah4.c135 top_iph->tos = iph->tos; in ah_output_done()
136 top_iph->ttl = iph->ttl; in ah_output_done()
140 memcpy(top_iph+1, iph+1, top_iph->ihl*4 - sizeof(struct iphdr)); in ah_output_done()
192 top_iph = ip_hdr(skb); in ah_output()
200 memcpy(iph+1, top_iph+1, top_iph->ihl*4 - sizeof(struct iphdr)); in ah_output()
201 err = ip_clear_mutable_options(top_iph, &top_iph->daddr); in ah_output()
209 top_iph->tos = 0; in ah_output()
211 top_iph->frag_off = 0; in ah_output()
212 top_iph->ttl = 0; in ah_output()
213 top_iph->check = 0; in ah_output()
[all …]
/linux-6.3-rc2/net/ipv6/
A Dah6.c292 struct ipv6hdr *top_iph = ipv6_hdr(skb); in ah6_output_done() local
309 memcpy(&top_iph->saddr, iph_ext, extlen); in ah6_output_done()
331 struct ipv6hdr *top_iph; in ah6_output() local
373 top_iph = ipv6_hdr(skb); in ah6_output()
374 top_iph->payload_len = htons(skb->len - sizeof(*top_iph)); in ah6_output()
392 sizeof(*top_iph), in ah6_output()
400 top_iph->priority = 0; in ah6_output()
401 top_iph->flow_lbl[0] = 0; in ah6_output()
402 top_iph->flow_lbl[1] = 0; in ah6_output()
403 top_iph->flow_lbl[2] = 0; in ah6_output()
[all …]

Completed in 7 milliseconds