Home
last modified time | relevance | path

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

/linux/net/xfrm/
A Dxfrm_output.c228 struct iphdr *top_iph; in xfrm4_beet_encap_add() local
248 top_iph = ip_hdr(skb); in xfrm4_beet_encap_add()
277 struct iphdr *top_iph; in xfrm4_tunnel_encap_add() local
287 top_iph = ip_hdr(skb); in xfrm4_tunnel_encap_add()
289 top_iph->ihl = 5; in xfrm4_tunnel_encap_add()
290 top_iph->version = 4; in xfrm4_tunnel_encap_add()
296 top_iph->tos = 0; in xfrm4_tunnel_encap_add()
299 top_iph->tos = INET_ECN_encapsulate(top_iph->tos, in xfrm4_tunnel_encap_add()
304 IP_ECN_clear(top_iph); in xfrm4_tunnel_encap_add()
322 struct ipv6hdr *top_iph; in xfrm6_tunnel_encap_add() local
[all …]
/linux/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/net/ipv6/
A Dah6.c295 struct ipv6hdr *top_iph = ipv6_hdr(skb); in ah6_output_done() local
312 memcpy(&top_iph->saddr, iph_ext, extlen); in ah6_output_done()
334 struct ipv6hdr *top_iph; in ah6_output() local
376 top_iph = ipv6_hdr(skb); in ah6_output()
377 top_iph->payload_len = htons(skb->len - sizeof(*top_iph)); in ah6_output()
395 sizeof(*top_iph), in ah6_output()
403 top_iph->priority = 0; in ah6_output()
404 top_iph->flow_lbl[0] = 0; in ah6_output()
405 top_iph->flow_lbl[1] = 0; in ah6_output()
406 top_iph->flow_lbl[2] = 0; in ah6_output()
[all …]

Completed in 10 milliseconds