Home
last modified time | relevance | path

Searched refs:ipv6hdr (Results 1 – 159 of 159) sorted by relevance

/linux-4.1.27/net/ipv6/netfilter/
Dnf_reject_ipv6.c23 const struct ipv6hdr *oip6h = ipv6_hdr(oldskb); in nf_reject_ip6_tcphdr_get()
67 struct ipv6hdr *nf_reject_ip6hdr_put(struct sk_buff *nskb, in nf_reject_ip6hdr_put()
71 struct ipv6hdr *ip6h; in nf_reject_ip6hdr_put()
72 const struct ipv6hdr *oip6h = ipv6_hdr(oldskb); in nf_reject_ip6hdr_put()
76 skb_put(nskb, sizeof(struct ipv6hdr)); in nf_reject_ip6hdr_put()
139 const struct ipv6hdr *oip6h = ipv6_hdr(oldskb); in nf_send_reset6()
140 struct ipv6hdr *ip6h; in nf_send_reset6()
171 nskb = alloc_skb(hh_len + 15 + dst->header_len + sizeof(struct ipv6hdr) in nf_send_reset6()
215 const struct ipv6hdr *ip6h = ipv6_hdr(skb); in reject6_csum_ok()
Dnf_nat_l3proto_ipv6.c83 struct ipv6hdr *ipv6h; in nf_nat_ipv6_manip_pkt()
116 const struct ipv6hdr *ipv6h = (struct ipv6hdr *)(skb->data + iphdroff); in nf_nat_ipv6_csum_update()
134 const struct ipv6hdr *ipv6h = ipv6_hdr(skb); in nf_nat_ipv6_csum_recalc()
204 struct ipv6hdr ip6; in nf_nat_icmpv6_reply_translation()
245 struct ipv6hdr *ipv6h = ipv6_hdr(skb); in nf_nat_icmpv6_reply_translation()
301 hdrlen = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), in nf_nat_ipv6_fn()
391 if (skb->len < sizeof(struct ipv6hdr)) in nf_nat_ipv6_out()
430 if (skb->len < sizeof(struct ipv6hdr)) in nf_nat_ipv6_local_fn()
Dip6t_SYNPROXY.c22 static struct ipv6hdr *
26 struct ipv6hdr *iph; in synproxy_build_ip()
29 iph = (struct ipv6hdr *)skb_put(skb, sizeof(*iph)); in synproxy_build_ip()
42 struct ipv6hdr *niph, struct tcphdr *nth, in synproxy_send_tcp()
90 struct ipv6hdr *iph, *niph; in synproxy_send_client_synack()
132 struct ipv6hdr *iph, *niph; in synproxy_send_server_syn()
177 struct ipv6hdr *iph, *niph; in synproxy_send_server_ack()
215 struct ipv6hdr *iph, *niph; in synproxy_send_client_ack()
343 thoff = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &nexthdr, in ipv6_synproxy_hook()
Dnf_conntrack_l3proto_ipv6.c43 ap = skb_header_pointer(skb, nhoff + offsetof(struct ipv6hdr, saddr), in ipv6_pkt_to_tuple()
73 unsigned int extoff = nhoff + sizeof(struct ipv6hdr); in ipv6_get_l4proto()
78 if (skb_copy_bits(skb, nhoff + offsetof(struct ipv6hdr, nexthdr), in ipv6_get_l4proto()
124 protoff = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &nexthdr, in ipv6_helper()
148 protoff = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &pnum, in ipv6_confirm()
180 if (skb->len < sizeof(struct ipv6hdr)) { in ipv6_conntrack_local()
Dnf_log_ipv6.c46 struct ipv6hdr _ip6h; in dump_ipv6_packet()
47 const struct ipv6hdr *ih; in dump_ipv6_packet()
68 ntohs(ih->payload_len) + sizeof(struct ipv6hdr), in dump_ipv6_packet()
74 ptr = ip6hoff + sizeof(struct ipv6hdr); in dump_ipv6_packet()
Dip6t_rpfilter.c33 struct ipv6hdr *iph = ipv6_hdr(skb); in rpfilter_lookup_reverse6()
85 struct ipv6hdr *iph; in rpfilter_mt()
Dnf_conntrack_reasm.c151 static inline u8 ip6_frag_ecn(const struct ipv6hdr *ipv6h) in ip6_frag_ecn()
397 sizeof(struct ipv6hdr) + fq->q.len - in nf_ct_frag6_reasm()
466 IP6CB(head)->frag_max_size = sizeof(struct ipv6hdr) + fq->q.max_size; in nf_ct_frag6_reasm()
522 u8 prev_nhoff = netoff + offsetof(struct ipv6hdr, nexthdr); in find_prev_fhdr()
523 int start = netoff + sizeof(struct ipv6hdr); in find_prev_fhdr()
575 struct ipv6hdr *hdr; in nf_ct_frag6_gather()
Dip6t_NPT.c90 offsetof(struct ipv6hdr, saddr)); in ip6t_snpt_tg()
103 offsetof(struct ipv6hdr, daddr)); in ip6t_dnpt_tg()
Dnf_tables_ipv6.c36 if (unlikely(skb->len < sizeof(struct ipv6hdr))) { in nft_ipv6_output()
Dip6t_ipv6header.c43 ptr = sizeof(struct ipv6hdr); in ipv6header_mt6()
Dnf_conntrack_proto_icmpv6.c160 + sizeof(struct ipv6hdr) in icmpv6_error_message()
Dip6_tables.c96 const struct ipv6hdr *ipv6 = ipv6_hdr(skb); in ip6_packet_match()
/linux-4.1.27/net/ipv6/
Dip6_offload.c61 struct ipv6hdr *ipv6h; in ipv6_gso_segment()
119 ipv6h = (struct ipv6hdr *)(skb_mac_header(skb) + nhoff); in ipv6_gso_segment()
143 static int ipv6_exthdrs_len(struct ipv6hdr *iph, in ipv6_exthdrs_len()
172 struct ipv6hdr *iph; in ipv6_gro_receive()
217 const struct ipv6hdr *iph2; in ipv6_gro_receive()
223 iph2 = (struct ipv6hdr *)(p->data + off); in ipv6_gro_receive()
234 nlen - offsetof(struct ipv6hdr, nexthdr))) { in ipv6_gro_receive()
264 struct ipv6hdr *iph = (struct ipv6hdr *)(skb->data + nhoff); in ipv6_gro_complete()
Dxfrm6_mode_tunnel.c23 const struct ipv6hdr *outer_iph = ipv6_hdr(skb); in ipip6_ecn_decapsulate()
24 struct ipv6hdr *inner_iph = ipipv6_hdr(skb); in ipip6_ecn_decapsulate()
37 struct ipv6hdr *top_iph; in xfrm6_mode_tunnel_output()
42 offsetof(struct ipv6hdr, nexthdr); in xfrm6_mode_tunnel_output()
78 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in xfrm6_mode_tunnel_input()
Dxfrm6_mode_beet.c24 struct ipv6hdr *iph = ipv6_hdr(skb); in xfrm6_beet_make_header()
42 struct ipv6hdr *top_iph; in xfrm6_beet_output()
55 offsetof(struct ipv6hdr, nexthdr); in xfrm6_beet_output()
82 struct ipv6hdr *ip6h; in xfrm6_beet_input()
83 int size = sizeof(struct ipv6hdr); in xfrm6_beet_input()
Dah6.c160 static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *destopt) in ipv6_rearrange_destopt()
213 static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *destopt) {} in ipv6_rearrange_destopt()
225 static void ipv6_rearrange_rthdr(struct ipv6hdr *iph, struct ipv6_rt_hdr *rthdr) in ipv6_rearrange_rthdr()
255 static int ipv6_clear_mutable_options(struct ipv6hdr *iph, int len, int dir) in ipv6_clear_mutable_options()
258 struct ipv6hdr *iph; in ipv6_clear_mutable_options()
305 struct ipv6hdr *top_iph = ipv6_hdr(skb); in ah6_output_done()
309 extlen = skb_network_header_len(skb) - sizeof(struct ipv6hdr); in ah6_output_done()
344 struct ipv6hdr *top_iph; in ah6_output()
362 extlen = skb_network_header_len(skb) - sizeof(struct ipv6hdr); in ah6_output()
526 struct ipv6hdr *ip6h; in ah6_input()
[all …]
Dip6_input.c66 const struct ipv6hdr *hdr; in ipv6_rcv()
154 IP6CB(skb)->nhoff = offsetof(struct ipv6hdr, nexthdr); in ipv6_rcv()
160 if (pkt_len + sizeof(struct ipv6hdr) > skb->len) { in ipv6_rcv()
165 if (pskb_trim_rcsum(skb, pkt_len + sizeof(struct ipv6hdr))) { in ipv6_rcv()
228 const struct ipv6hdr *hdr; in ip6_input_finish()
287 const struct ipv6hdr *hdr; in ip6_mc_input()
Dnetfilter.c24 const struct ipv6hdr *iph = ipv6_hdr(skb); in ip6_route_me_harder()
88 const struct ipv6hdr *iph = ipv6_hdr(skb); in nf_ip6_saveroute()
102 const struct ipv6hdr *iph = ipv6_hdr(skb); in nf_ip6_reroute()
136 const struct ipv6hdr *ip6h = ipv6_hdr(skb); in nf_ip6_checksum()
170 const struct ipv6hdr *ip6h = ipv6_hdr(skb); in nf_ip6_checksum_partial()
Doutput_core.c49 offsetof(struct ipv6hdr, saddr), in ipv6_proxy_select_ident()
79 u16 offset = sizeof(struct ipv6hdr); in ip6_find_1stfragopt()
143 len = skb->len - sizeof(struct ipv6hdr); in __ip6_local_out_sk()
147 IP6CB(skb)->nhoff = offsetof(struct ipv6hdr, nexthdr); in __ip6_local_out_sk()
Dtcpv6_offload.c34 const struct ipv6hdr *iph = ipv6_hdr(skb); in tcp6_gro_complete()
53 const struct ipv6hdr *ipv6h = ipv6_hdr(skb); in tcp6_gso_segment()
Dxfrm6_mode_transport.c24 struct ipv6hdr *iph; in xfrm6_transport_output()
57 sizeof(struct ipv6hdr)); in xfrm6_transport_input()
Dexthdrs_core.c188 unsigned int start = skb_network_offset(skb) + sizeof(struct ipv6hdr); in ipv6_find_hdr()
197 struct ipv6hdr _ip6, *ip6; in ipv6_find_hdr()
204 start = *offset + sizeof(struct ipv6hdr); in ipv6_find_hdr()
Dmip6.c133 const struct ipv6hdr *iph = ipv6_hdr(skb); in mip6_destopt_input()
152 struct ipv6hdr *iph; in mip6_destopt_output()
267 u16 offset = sizeof(struct ipv6hdr); in mip6_destopt_offset()
355 const struct ipv6hdr *iph = ipv6_hdr(skb); in mip6_rthdr_input()
373 struct ipv6hdr *iph; in mip6_rthdr_output()
403 u16 offset = sizeof(struct ipv6hdr); in mip6_rthdr_offset()
Dip6_output.c163 struct ipv6hdr *hdr; in ip6_xmit()
177 head_room += sizeof(struct ipv6hdr) + LL_RESERVED_SPACE(dst->dev); in ip6_xmit()
197 skb_push(skb, sizeof(struct ipv6hdr)); in ip6_xmit()
270 struct ipv6hdr *hdr = ipv6_hdr(skb); in ip6_forward_proxy_check()
280 offset = sizeof(struct ipv6hdr); in ip6_forward_proxy_check()
368 struct ipv6hdr *hdr = ipv6_hdr(skb); in ip6_forward()
553 struct ipv6hdr *tmp_hdr; in ip6_fragment()
648 sizeof(struct ipv6hdr)); in ip6_fragment()
672 sizeof(struct ipv6hdr)); in ip6_fragment()
801 sizeof(struct ipv6hdr)); in ip6_fragment()
[all …]
Dipcomp6.c61 const struct ipv6hdr *iph = (const struct ipv6hdr *)skb->data; in ipcomp6_err()
158 x->props.header_len += sizeof(struct ipv6hdr); in ipcomp6_init_state()
Ddatagram.c258 serr->addr_offset = (u8 *)&(((struct ipv6hdr *)(icmph + 1))->daddr) - in ipv6_icmp_error()
273 struct ipv6hdr *iph; in ipv6_local_error()
279 skb = alloc_skb(sizeof(struct ipv6hdr), GFP_ATOMIC); in ipv6_local_error()
285 skb_put(skb, sizeof(struct ipv6hdr)); in ipv6_local_error()
311 struct ipv6hdr *iph; in ipv6_local_rxpmtu()
318 skb = alloc_skb(sizeof(struct ipv6hdr), GFP_ATOMIC); in ipv6_local_rxpmtu()
322 skb_put(skb, sizeof(struct ipv6hdr)); in ipv6_local_rxpmtu()
423 const struct ipv6hdr *ip6h = container_of((struct in6_addr *)(nh + serr->addr_offset), in ipv6_recv_error()
424 struct ipv6hdr, daddr); in ipv6_recv_error()
570 __be32 flowinfo = ip6_flowinfo((struct ipv6hdr *)nh); in ip6_datagram_recv_specific_ctl()
[all …]
Dicmp.c302 struct ipv6hdr *iph = ipv6_hdr(skb); in mip6_addr_swap()
394 struct ipv6hdr *hdr = ipv6_hdr(skb); in icmp6_send()
510 len = min_t(unsigned int, len, IPV6_MIN_MTU - sizeof(struct ipv6hdr) - sizeof(struct icmp6hdr)); in icmp6_send()
635 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in icmpv6_notify()
638 nexthdr = ((struct ipv6hdr *)skb->data)->nexthdr; in icmpv6_notify()
641 inner_offset = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), in icmpv6_notify()
646 inner_offset = sizeof(struct ipv6hdr); in icmpv6_notify()
692 if (!pskb_may_pull(skb, sizeof(*hdr) + sizeof(struct ipv6hdr))) in icmpv6_rcv()
739 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in icmpv6_rcv()
Dip6_tunnel.c421 const struct ipv6hdr *ipv6h = (const struct ipv6hdr *) raw; in ip6_tnl_parse_tlv_enc_lim()
483 const struct ipv6hdr *ipv6h = (const struct ipv6hdr *) skb->data; in ip6_tnl_err()
688 if (rel_msg && pskb_may_pull(skb, offset + sizeof(struct ipv6hdr))) { in ip6ip6_err()
717 const struct ipv6hdr *ipv6h, in ip4ip6_dscp_ecn_decapsulate()
729 const struct ipv6hdr *ipv6h, in ip6ip6_dscp_ecn_decapsulate()
800 const struct ipv6hdr *ipv6h, in ip6_tnl_rcv()
804 const struct ipv6hdr *ipv6h = ipv6_hdr(skb); in ip6_tnl_rcv()
915 ip6_tnl_addr_conflict(const struct ip6_tnl *t, const struct ipv6hdr *hdr) in ip6_tnl_addr_conflict()
981 struct ipv6hdr *ipv6h = ipv6_hdr(skb); in ip6_tnl_xmit2()
986 unsigned int max_headroom = sizeof(struct ipv6hdr); in ip6_tnl_xmit2()
[all …]
Dip6_gre.c372 const struct ipv6hdr *ipv6h = (const struct ipv6hdr *)skb->data; in ip6gre_err()
392 ipv6h = (const struct ipv6hdr *)skb->data; in ip6gre_err()
449 const struct ipv6hdr *ipv6h; in ip6gre_rcv()
612 struct ipv6hdr *ipv6h; /* Our new IP header */ in ip6gre_xmit2()
629 ipv6h = (struct ipv6hdr *)skb->data; in ip6gre_xmit2()
758 skb->len - sizeof(struct ipv6hdr)); in ip6gre_xmit2()
815 struct ipv6hdr *ipv6h = ipv6_hdr(skb); in ip6gre_xmit_ipv6()
875 const struct ipv6hdr *hdr) in ip6gre_tnl_addr_conflict()
938 int addend = sizeof(struct ipv6hdr) + 4; in ip6gre_tnl_link_config()
1181 struct ipv6hdr *ipv6h = (struct ipv6hdr *)skb_push(skb, t->hlen); in ip6gre_header()
[all …]
Dexthdrs.c182 struct ipv6hdr *ipv6h = ipv6_hdr(skb); in ipv6_dest_hao()
590 if (pkt_len > skb->len - sizeof(struct ipv6hdr)) { in ipv6_hop_jumbo()
596 if (pskb_trim_rcsum(skb, pkt_len + sizeof(struct ipv6hdr))) in ipv6_hop_jumbo()
628 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr) + 8) || in ipv6_parse_hopopts()
629 !pskb_may_pull(skb, (sizeof(struct ipv6hdr) + in ipv6_parse_hopopts()
635 opt->hop = sizeof(struct ipv6hdr); in ipv6_parse_hopopts()
639 opt->nhoff = sizeof(struct ipv6hdr); in ipv6_parse_hopopts()
Dudp_offload.c67 const struct ipv6hdr *ipv6h; in udp6_ufo_fragment()
159 const struct ipv6hdr *ipv6h = ipv6_hdr(skb); in udp6_gro_complete()
Dsyncookies.c117 u32 __cookie_v6_init_sequence(const struct ipv6hdr *iph, in __cookie_v6_init_sequence()
136 const struct ipv6hdr *iph = ipv6_hdr(skb); in cookie_v6_init_sequence()
145 int __cookie_v6_check(const struct ipv6hdr *iph, const struct tcphdr *th, in __cookie_v6_check()
Desp6.c418 net_adj = sizeof(struct ipv6hdr); in esp6_get_mtu()
430 const struct ipv6hdr *iph = (const struct ipv6hdr *)skb->data; in esp6_err()
603 (sizeof(struct ipv6hdr) - sizeof(struct iphdr)); in esp6_init_state()
608 x->props.header_len += sizeof(struct ipv6hdr); in esp6_init_state()
Dtcp_ipv6.c274 tp->rx_opt.mss_clamp = IPV6_MIN_MTU - sizeof(struct tcphdr) - sizeof(struct ipv6hdr); in tcp_v6_connect()
326 const struct ipv6hdr *hdr = (const struct ipv6hdr *)skb->data; in tcp_v6_err()
597 const struct ipv6hdr *ip6h = ipv6_hdr(skb); in tcp_v6_md5_hash_skb()
635 const struct ipv6hdr *ip6h = ipv6_hdr(skb); in tcp_v6_inbound_md5_hash()
718 sizeof(struct ipv6hdr),
755 buff = alloc_skb(MAX_HEADER + sizeof(struct ipv6hdr) + tot_len, in tcp_v6_send_response()
760 skb_reserve(buff, MAX_HEADER + sizeof(struct ipv6hdr) + tot_len); in tcp_v6_send_response()
839 struct ipv6hdr *ipv6h = ipv6_hdr(skb); in tcp_v6_send_reset()
1337 static void tcp_v6_fill_cb(struct sk_buff *skb, const struct ipv6hdr *hdr, in tcp_v6_fill_cb()
1371 const struct ipv6hdr *hdr; in tcp_v6_rcv()
[all …]
Dxfrm6_mode_ro.c43 struct ipv6hdr *iph; in xfrm6_ro_output()
Dip6_vti.c303 const struct ipv6hdr *ipv6h = ipv6_hdr(skb); in vti6_rcv()
395 vti6_addr_conflict(const struct ip6_tnl *t, const struct ipv6hdr *hdr) in vti6_addr_conflict()
512 struct ipv6hdr *ipv6h; in vti6_tnl_xmit()
564 const struct ipv6hdr *iph = (const struct ipv6hdr *)skb->data; in vti6_err()
845 dev->hard_header_len = LL_MAX_HEADER + sizeof(struct ipv6hdr); in vti6_dev_setup()
Dip6mr.c626 struct ipv6hdr *encap; in pim6_rcv()
649 encap = (struct ipv6hdr *)(skb_transport_header(skb) + in pim6_rcv()
734 dev->mtu = 1500 - sizeof(struct ipv6hdr) - 8; in reg_vif_setup()
853 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct ipv6hdr)); in ip6mr_destroy_unres()
1111 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct ipv6hdr)); in ip6mr_cache_resolve()
1147 skb = alloc_skb(sizeof(struct ipv6hdr) + sizeof(*msg), GFP_ATOMIC); in ip6mr_cache_report()
1184 skb_put(skb, sizeof(struct ipv6hdr)); in ip6mr_cache_report()
1186 skb_copy_to_linear_data(skb, ipv6_hdr(pkt), sizeof(struct ipv6hdr)); in ip6mr_cache_report()
2006 struct ipv6hdr *ipv6h; in ip6mr_forward2()
2307 struct ipv6hdr *iph; in ip6mr_get_route()
[all …]
Dxfrm6_tunnel.c235 const struct ipv6hdr *iph = ipv6_hdr(skb); in xfrm6_tunnel_rcv()
291 x->props.header_len = sizeof(struct ipv6hdr); in xfrm6_tunnel_init_state()
Dreassembly.c72 static u8 ip6_frag_ecn(const struct ipv6hdr *ipv6h) in ip6_frag_ecn()
264 offsetof(struct ipv6hdr, payload_len)); in ip6_frag_queue()
420 sizeof(struct ipv6hdr) + fq->q.len - in ip6_frag_reasm()
527 const struct ipv6hdr *hdr = ipv6_hdr(skb); in ipv6_frag_rcv()
Dip6_udp_tunnel.c73 struct ipv6hdr *ip6h; in udp_tunnel6_xmit_skb()
Dxfrm6_input.c27 XFRM_SPI_SKB_CB(skb)->daddroff = offsetof(struct ipv6hdr, daddr); in xfrm6_rcv_spi()
Dtunnel6.c105 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in tunnel6_rcv()
Dxfrm6_policy.c131 const struct ipv6hdr *hdr = ipv6_hdr(skb); in _decode_session6()
140 nhoff = offsetof(struct ipv6hdr, nexthdr); in _decode_session6()
Dxfrm6_state.c158 struct ipv6hdr *iph = ipv6_hdr(skb); in xfrm6_extract_header()
Dxfrm6_output.c61 const struct ipv6hdr *hdr; in xfrm6_local_error()
Draw.c372 const struct ipv6hdr *ip6h = (const struct ipv6hdr *)skb->data; in raw6_icmp_error()
616 struct ipv6hdr *iph; in rawv6_send_hdrinc()
Dndisc.c386 skb = alloc_skb(hlen + sizeof(struct ipv6hdr) + len + tlen, GFP_ATOMIC); in ndisc_alloc_skb()
396 skb_reserve(skb, hlen + sizeof(struct ipv6hdr)); in ndisc_alloc_skb()
412 struct ipv6hdr *hdr; in ip6_nd_hdr()
1535 IPV6_MIN_MTU - sizeof(struct ipv6hdr) - sizeof(*msg) - optlen, in ndisc_send_redirect()
Droute.c1012 const struct ipv6hdr *iph = ipv6_hdr(skb); in ip6_route_input()
1170 const struct ipv6hdr *iph = (struct ipv6hdr *) skb->data; in ip6_update_pmtu()
1274 const struct ipv6hdr *iph = (struct ipv6hdr *) skb->data; in ip6_redirect()
1295 const struct ipv6hdr *iph = ipv6_hdr(skb); in ip6_redirect_no_header()
1324 mtu -= sizeof(struct ipv6hdr) + sizeof(struct tcphdr); in ip6_default_advmss()
2992 skb_reserve(skb, MAX_HEADER + sizeof(struct ipv6hdr)); in inet6_rtm_getroute()
Dudp.c370 const struct ipv6hdr *iph = ipv6_hdr(skb); in __udp6_lib_lookup_skb()
539 const struct ipv6hdr *hdr = (const struct ipv6hdr *)skb->data; in __udp6_lib_err()
Dmcast.c1314 len = ntohs(ipv6_hdr(skb)->payload_len) + sizeof(struct ipv6hdr); in igmp6_event_query()
1532 struct ipv6hdr *hdr; in ip6_mc_hdr()
1538 skb_put(skb, sizeof(struct ipv6hdr)); in ip6_mc_hdr()
1607 struct ipv6hdr *pip6 = ipv6_hdr(skb); in mld_sendpack()
1956 full_len = sizeof(struct ipv6hdr) + payload_len; in igmp6_send()
Dsit.c491 if (!pskb_may_pull(skb, ihl + sizeof(struct ipv6hdr) + 8)) in ipip6_err_gen_icmpv6_unreach()
633 const struct ipv6hdr *ipv6h; in packet_is_spoofed()
811 const struct ipv6hdr *iph6 = ipv6_hdr(skb); in ipip6_tunnel_xmit()
Daf_inet6.c691 (ip6_flowinfo((struct ipv6hdr *) skb_network_header(skb)) && in ipv6_opt_accepted()
/linux-4.1.27/include/net/
Dinet_ecn.h112 struct ipv6hdr;
120 static inline int IP6_ECN_set_ce(struct sk_buff *skb, struct ipv6hdr *iph) in IP6_ECN_set_ce()
135 static inline void IP6_ECN_clear(struct ipv6hdr *iph) in IP6_ECN_clear()
140 static inline void ipv6_copy_dscp(unsigned int dscp, struct ipv6hdr *inner) in ipv6_copy_dscp()
156 if (skb_network_header(skb) + sizeof(struct ipv6hdr) <= in INET_ECN_set_ce()
225 static inline int IP6_ECN_decapsulate(const struct ipv6hdr *oipv6h, in IP6_ECN_decapsulate()
Ddsfield.h21 static inline __u8 ipv6_get_dsfield(const struct ipv6hdr *ipv6h) in ipv6_get_dsfield()
43 static inline void ipv6_change_dsfield(struct ipv6hdr *ipv6h,__u8 mask, in ipv6_change_dsfield()
Dip6_checksum.h53 const struct ipv6hdr *iph = skb_gro_network_header(skb); in ip6_gro_compute_pseudo()
Dip_tunnels.h183 return ipv6_get_dsfield((const struct ipv6hdr *)iph); in ip_tunnel_get_dsfield()
D6lowpan.h312 u16 ret = 2, uncomp_header = sizeof(struct ipv6hdr); in lowpan_uncompress_size()
Dip6_route.h38 #define IP6_MAX_MTU (0xFFFF + sizeof(struct ipv6hdr))
Dipv6.h759 static inline void ip6_flow_hdr(struct ipv6hdr *hdr, unsigned int tclass, in ip6_flow_hdr()
765 static inline __be32 ip6_flowinfo(const struct ipv6hdr *hdr) in ip6_flowinfo()
770 static inline __be32 ip6_flowlabel(const struct ipv6hdr *hdr) in ip6_flowlabel()
Dip_vs.h144 const struct ipv6hdr *iph = in ip_vs_fill_iph_skb()
145 (struct ipv6hdr *)skb_network_header(skb); in ip_vs_fill_iph_skb()
Dtcp.h506 int __cookie_v6_check(const struct ipv6hdr *iph, const struct tcphdr *th,
510 u32 __cookie_v6_init_sequence(const struct ipv6hdr *iph,
/linux-4.1.27/include/linux/
Dipv6.h75 static inline struct ipv6hdr *ipv6_hdr(const struct sk_buff *skb) in ipv6_hdr()
77 return (struct ipv6hdr *)skb_network_header(skb); in ipv6_hdr()
80 static inline struct ipv6hdr *inner_ipv6_hdr(const struct sk_buff *skb) in inner_ipv6_hdr()
82 return (struct ipv6hdr *)skb_inner_network_header(skb); in inner_ipv6_hdr()
85 static inline struct ipv6hdr *ipipv6_hdr(const struct sk_buff *skb) in ipipv6_hdr()
87 return (struct ipv6hdr *)skb_transport_header(skb); in ipipv6_hdr()
/linux-4.1.27/net/6lowpan/
Dnhc.c98 const struct ipv6hdr *hdr, u8 **hc_ptr, in lowpan_nhc_check_compression()
117 int lowpan_nhc_do_compression(struct sk_buff *skb, const struct ipv6hdr *hdr, in lowpan_nhc_do_compression()
145 skb_set_transport_header(skb, sizeof(struct ipv6hdr)); in lowpan_nhc_do_compression()
161 struct ipv6hdr *hdr) in lowpan_nhc_do_uncompression()
171 ret = nhc->uncompress(skb, sizeof(struct ipv6hdr) + in lowpan_nhc_do_uncompression()
Dnhc.h102 const struct ipv6hdr *hdr, u8 **hc_ptr,
113 int lowpan_nhc_do_compression(struct sk_buff *skb, const struct ipv6hdr *hdr,
125 struct ipv6hdr *hdr);
Diphc.c239 struct ipv6hdr hdr = {}; in lowpan_header_decompress()
421 struct ipv6hdr *hdr; in lowpan_header_compress()
437 skb_network_header(skb), sizeof(struct ipv6hdr)); in lowpan_header_compress()
601 skb_pull(skb, sizeof(struct ipv6hdr)); in lowpan_header_compress()
/linux-4.1.27/net/bridge/netfilter/
Dnft_reject_bridge.c153 struct ipv6hdr *nip6h; in nft_reject_br_send_v6_tcp_reset()
162 nskb = alloc_skb(sizeof(struct ipv6hdr) + sizeof(struct tcphdr) + in nft_reject_br_send_v6_tcp_reset()
171 nip6h->payload_len = htons(nskb->len - sizeof(struct ipv6hdr)); in nft_reject_br_send_v6_tcp_reset()
180 const struct ipv6hdr *ip6h = ipv6_hdr(skb); in reject6_br_csum_ok()
208 struct ipv6hdr *nip6h; in nft_reject_br_send_v6_unreach()
244 nip6h->payload_len = htons(nskb->len - sizeof(struct ipv6hdr)); in nft_reject_br_send_v6_unreach()
248 nskb->len - sizeof(struct ipv6hdr), in nft_reject_br_send_v6_unreach()
251 nskb->len - sizeof(struct ipv6hdr), in nft_reject_br_send_v6_unreach()
Dnf_tables_bridge.c49 struct ipv6hdr *hdr; in nft_bridge_ip6hdr_validate()
52 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in nft_bridge_ip6hdr_validate()
60 if (pkt_len + sizeof(struct ipv6hdr) > skb->len) in nft_bridge_ip6hdr_validate()
Debt_ip6.c40 const struct ipv6hdr *ih6; in ebt_ip6_mt()
41 struct ipv6hdr _ip6h; in ebt_ip6_mt()
Debt_log.c117 const struct ipv6hdr *ih; in ebt_log_packet()
118 struct ipv6hdr _iph; in ebt_log_packet()
/linux-4.1.27/drivers/staging/gdm724x/
Dgdm_lte.c181 static int icmp6_checksum(struct ipv6hdr *ipv6, u16 *ptr, int len) in icmp6_checksum()
238 struct ipv6hdr *ipv6_in; in gdm_lte_emulate_ndp()
239 struct ipv6hdr ipv6_out; in gdm_lte_emulate_ndp()
262 ipv6_in = (struct ipv6hdr *)(skb_in->data + mac_header_len); in gdm_lte_emulate_ndp()
268 sizeof(struct ipv6hdr)); in gdm_lte_emulate_ndp()
289 sizeof(struct ipv6hdr) + sizeof(struct icmp6hdr)); in gdm_lte_emulate_ndp()
300 memcpy(&ipv6_out, ipv6_in, sizeof(struct ipv6hdr)); in gdm_lte_emulate_ndp()
330 memcpy(skb_put(skb_out, sizeof(struct ipv6hdr)), &ipv6_out, in gdm_lte_emulate_ndp()
331 sizeof(struct ipv6hdr)); in gdm_lte_emulate_ndp()
353 struct ipv6hdr *ipv6; in gdm_lte_tx_nic_type()
[all …]
/linux-4.1.27/samples/bpf/
Dsockex2_kern.c89 nhoff + offsetof(struct ipv6hdr, nexthdr)); in parse_ipv6()
91 nhoff + offsetof(struct ipv6hdr, saddr)); in parse_ipv6()
93 nhoff + offsetof(struct ipv6hdr, daddr)); in parse_ipv6()
94 nhoff += sizeof(struct ipv6hdr); in parse_ipv6()
/linux-4.1.27/net/batman-adv/
Dgateway_client.c678 struct ipv6hdr *ipv6hdr; in batadv_gw_dhcp_recipient_get() local
718 if (!pskb_may_pull(skb, *header_len + sizeof(*ipv6hdr))) in batadv_gw_dhcp_recipient_get()
721 ipv6hdr = (struct ipv6hdr *)(skb->data + *header_len); in batadv_gw_dhcp_recipient_get()
722 *header_len += sizeof(*ipv6hdr); in batadv_gw_dhcp_recipient_get()
725 if (ipv6hdr->nexthdr != IPPROTO_UDP) in batadv_gw_dhcp_recipient_get()
Dmulticast.c305 struct ipv6hdr *ip6hdr; in batadv_mcast_forw_mode_check_ipv6()
Dmain.c306 struct ipv6hdr ip6_hdr_tmp, *ip6_hdr; in batadv_skb_set_priority()
/linux-4.1.27/net/sched/
Dem_ipset.c71 if (!pskb_network_may_pull(skb, sizeof(struct ipv6hdr))) in em_ipset_match()
74 acpar.thoff = sizeof(struct ipv6hdr); in em_ipset_match()
Dact_csum.c155 const struct ipv6hdr *ip6h; in tcf_csum_ipv6_icmp()
198 const struct ipv6hdr *ip6h; in tcf_csum_ipv6_tcp()
273 const struct ipv6hdr *ip6h; in tcf_csum_ipv6_udp()
419 struct ipv6hdr *ip6h; in tcf_csum_ipv6()
Dact_connmark.c53 if (skb->len < sizeof(struct ipv6hdr)) in tcf_connmark()
Dcls_rsvp.h143 struct ipv6hdr *nhptr; in rsvp_classify()
162 xprt = ((u8 *)nhptr) + sizeof(struct ipv6hdr); in rsvp_classify()
Dsch_dsmark.c216 if (skb_cow_head(skb, sizeof(struct ipv6hdr))) in dsmark_enqueue()
/linux-4.1.27/net/netfilter/
Dxt_DSCP.c55 if (!skb_make_writable(skb, sizeof(struct ipv6hdr))) in dscp_tg6()
100 struct ipv6hdr *iph = ipv6_hdr(skb); in tos_tg6()
Dxt_socket.c265 struct ipv6hdr *ipv6_var) in extract_icmp6_fields()
267 const struct ipv6hdr *inside_iph; in extract_icmp6_fields()
338 struct ipv6hdr *iph = ipv6_hdr(skb); in xt_socket_lookup_slow_v6()
360 struct ipv6hdr ipv6_var; in xt_socket_lookup_slow_v6()
Dxt_AUDIT.c98 struct ipv6hdr _ip6h; in audit_ip6()
99 const struct ipv6hdr *ih; in audit_ip6()
Dxt_length.c37 sizeof(struct ipv6hdr); in length_mt6()
Dxt_hl.c50 const struct ipv6hdr *ip6h = ipv6_hdr(skb); in hl_mt6()
Dxt_TEE.c141 const struct ipv6hdr *iph = ipv6_hdr(skb); in tee_tg_route6()
186 struct ipv6hdr *iph = ipv6_hdr(skb); in tee_tg6()
Dxt_HL.c71 struct ipv6hdr *ip6h; in hl_tg6()
Dxt_TCPOPTSTRIP.c102 struct ipv6hdr *ipv6h = ipv6_hdr(skb); in tcpoptstrip_tg6()
Dxt_HMARK.c169 struct ipv6hdr *ip6, _ip6; in hmark_pkt_set_htuple_ipv6()
175 ip6 = (struct ipv6hdr *) (skb->data + skb_network_offset(skb)); in hmark_pkt_set_htuple_ipv6()
Dxt_iprange.c72 const struct ipv6hdr *iph = ipv6_hdr(skb); in iprange_mt6()
Dnf_nat_helper.c69 htons(skb->len - sizeof(struct ipv6hdr)); in mangle_contents()
Dxt_TPROXY.c418 const struct ipv6hdr *iph = ipv6_hdr(skb); in tproxy_handle_time_wait6()
452 const struct ipv6hdr *iph = ipv6_hdr(skb); in tproxy_tg6_v1()
Dxt_addrtype.c106 const struct ipv6hdr *iph = ipv6_hdr(skb); in addrtype_mt6()
Dxt_TCPMSS.c229 struct ipv6hdr *ipv6h = ipv6_hdr(skb); in tcpmss_tg6()
Dxt_connlimit.c339 const struct ipv6hdr *iph = ipv6_hdr(skb); in connlimit_mt()
Dxt_recent.c259 const struct ipv6hdr *iph = ipv6_hdr(skb); in recent_mt()
Dxt_hashlimit.c562 protoff = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &nexthdr, &frag_off); in hashlimit_init_dst()
/linux-4.1.27/include/net/netfilter/ipv6/
Dnf_reject.h14 struct ipv6hdr *nf_reject_ip6hdr_put(struct sk_buff *nskb,
/linux-4.1.27/net/bridge/
Dbr_netfilter.c545 if (pkt_len > skb->len - sizeof(struct ipv6hdr)) in check_hbh_len()
548 pkt_len + sizeof(struct ipv6hdr))) in check_hbh_len()
573 const struct ipv6hdr *hdr; in br_nf_pre_routing_ipv6()
576 if (skb->len < sizeof(struct ipv6hdr)) in br_nf_pre_routing_ipv6()
579 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in br_nf_pre_routing_ipv6()
590 if (pkt_len + sizeof(struct ipv6hdr) > skb->len) in br_nf_pre_routing_ipv6()
592 if (pskb_trim_rcsum(skb, pkt_len + sizeof(struct ipv6hdr))) in br_nf_pre_routing_ipv6()
Dbr_multicast.c420 struct ipv6hdr *ip6h; in br_ip6_multicast_alloc_query()
1313 const struct ipv6hdr *ip6h = ipv6_hdr(skb); in br_ip6_multicast_query()
1660 const struct ipv6hdr *ip6h; in br_multicast_ipv6_rcv()
/linux-4.1.27/drivers/net/wireless/mwifiex/
Dsta_rx.c40 struct ipv6hdr *ipv6; in mwifiex_discard_gratuitous_arp()
56 sizeof(struct ipv6hdr)); in mwifiex_discard_gratuitous_arp()
/linux-4.1.27/net/core/
Dflow_dissector.c114 const struct ipv6hdr *iph; in __skb_flow_dissect()
115 struct ipv6hdr _iph; in __skb_flow_dissect()
123 nhoff += sizeof(struct ipv6hdr); in __skb_flow_dissect()
Dpktgen.c2101 pkt_dev->min_pkt_size = 14 + sizeof(struct ipv6hdr) in pktgen_setup_inject()
2882 struct ipv6hdr *iph; in fill_packet_ipv6()
2937 iph = (struct ipv6hdr *) skb_put(skb, sizeof(struct ipv6hdr)); in fill_packet_ipv6()
2949 sizeof(struct ipv6hdr) - sizeof(struct udphdr) - in fill_packet_ipv6()
Dnetpoll.c381 struct ipv6hdr *ip6h; in netpoll_send_udp()
Dskbuff.c3923 off = sizeof(struct ipv6hdr); in skb_checksum_setup_ipv6()
3931 len = sizeof(struct ipv6hdr) + ntohs(ipv6_hdr(skb)->payload_len); in skb_checksum_setup_ipv6()
/linux-4.1.27/drivers/net/ipvlan/
Dipvlan_core.c158 struct ipv6hdr *ip6h; in ipvlan_get_L3_hdr()
294 struct ipv6hdr *ip6h; in ipvlan_addr_lookup()
297 ip6h = (struct ipv6hdr *)lyr3h; in ipvlan_addr_lookup()
377 const struct ipv6hdr *ip6h = ipv6_hdr(skb); in ipvlan_process_v6_outbound()
/linux-4.1.27/include/uapi/linux/
Dipv6.h114 struct ipv6hdr { struct
/linux-4.1.27/drivers/net/usb/
Dcdc_mbim.c310 struct ipv6hdr *iph = (void *)buf; in do_neigh_solicit()
356 struct ipv6hdr *iph = (void *)buf; in is_neigh_solicit()
359 return (len >= sizeof(struct ipv6hdr) + sizeof(struct nd_msg) && in is_neigh_solicit()
Dr8152.c1413 const struct ipv6hdr *ipv6h; in msdn_giant_send_check()
/linux-4.1.27/net/netfilter/ipvs/
Dip_vs_proto.c277 struct ipv6hdr _iph, *ih; in ip_vs_tcpudp_debug_packet_v6()
287 pptr = skb_header_pointer(skb, offset + sizeof(struct ipv6hdr), in ip_vs_tcpudp_debug_packet_v6()
Dip_vs_xmit.c474 mtu = dst_mtu(&rt->dst) - sizeof(struct ipv6hdr); in __ip_vs_get_out_rt_v6()
822 if (!skb_make_writable(skb, sizeof(struct ipv6hdr))) in ip_vs_nat_xmit_v6()
871 struct ipv6hdr *old_ipv6h = NULL; in ip_vs_prepare_tunneled_skb()
1063 struct ipv6hdr *iph; /* Our new IP header */ in ip_vs_tunnel_xmit_v6()
1088 max_headroom = LL_RESERVED_SPACE(tdev) + sizeof(struct ipv6hdr); in ip_vs_tunnel_xmit_v6()
1103 skb_push(skb, sizeof(struct ipv6hdr)); in ip_vs_tunnel_xmit_v6()
Dip_vs_core.c757 struct ipv6hdr *iph = ipv6_hdr(skb); in ip_vs_nat_icmp_v6()
762 struct ipv6hdr *ciph; in ip_vs_nat_icmp_v6()
768 ciph = (struct ipv6hdr *)(skb_network_header(skb) + offs); in ip_vs_nat_icmp_v6()
954 struct ipv6hdr _ip6h, *ip6h; /* The ip header contained within ICMP */ in ip_vs_out_icmp_v6()
1011 pp, writable, sizeof(struct ipv6hdr), in ip_vs_out_icmp_v6()
1514 struct ipv6hdr _ip6h, *ip6h; in ip_vs_in_icmp_v6()
Dip_vs_proto_sctp.c182 sctphoff = sizeof(struct ipv6hdr); in sctp_csum_check()
378 ihl = cp->af == AF_INET ? ip_hdrlen(skb) : sizeof(struct ipv6hdr); in set_sctp_state()
Dip_vs_proto_tcp.c294 tcphoff = sizeof(struct ipv6hdr); in tcp_csum_check()
553 int ihl = cp->af == AF_INET ? ip_hdrlen(skb) : sizeof(struct ipv6hdr); in tcp_state_transition()
Dip_vs_proto_udp.c298 udphoff = sizeof(struct ipv6hdr); in udp_csum_check()
/linux-4.1.27/include/net/netfilter/
Dnf_queue.h60 const struct ipv6hdr *ip6h = ipv6_hdr(skb); in hash_v6()
/linux-4.1.27/net/dccp/
Dipv6.c72 const struct ipv6hdr *hdr = (const struct ipv6hdr *)skb->data; in dccp_v6_err()
244 const struct ipv6hdr *rxip6h; in dccp_v6_ctl_send_reset()
301 const struct ipv6hdr *iph = ipv6_hdr(skb); in dccp_v6_hnd_req()
960 .net_header_len = sizeof(struct ipv6hdr),
/linux-4.1.27/net/netfilter/ipset/
Dip_set_getport.c138 protoff = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &nexthdr, in ip_set_get_ip6_port()
/linux-4.1.27/net/ipv4/
Dtunnel4.c113 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in tunnel64_rcv()
Dtcp_fastopen.c111 const struct ipv6hdr *ip6h = ipv6_hdr(syn); in tcp_fastopen_cookie_gen()
Dip_tunnel.c712 tos = ipv6_get_dsfield((const struct ipv6hdr *)inner_iph); in ip_tunnel_xmit()
765 ttl = ((const struct ipv6hdr *)inner_iph)->hop_limit; in ip_tunnel_xmit()
Dping.c906 struct ipv6hdr *ip6 = ipv6_hdr(skb); in ping_recvmsg()
/linux-4.1.27/drivers/net/
Dvxlan.c1258 struct ipv6hdr *oip6 = NULL; in vxlan_rcv()
1426 struct ipv6hdr *pip6; in vxlan_na_create()
1435 len = LL_RESERVED_SPACE(dev) + sizeof(struct ipv6hdr) + in vxlan_na_create()
1466 skb_put(reply, sizeof(struct ipv6hdr)); in vxlan_na_create()
1471 memset(pip6, 0, sizeof(struct ipv6hdr)); in vxlan_na_create()
1479 skb_pull(reply, sizeof(struct ipv6hdr)); in vxlan_na_create()
1501 skb_push(reply, sizeof(struct ipv6hdr)); in vxlan_na_create()
1512 const struct ipv6hdr *iphdr; in neigh_reduce()
1611 struct ipv6hdr *pip6; in route_shortcircuit()
1613 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in route_shortcircuit()
[all …]
/linux-4.1.27/net/openvswitch/
Dactions.c350 static void set_ipv6_fl(struct ipv6hdr *nh, u32 fl, u32 mask) in set_ipv6_fl()
423 struct ipv6hdr *nh; in set_ipv6()
427 sizeof(struct ipv6hdr)); in set_ipv6()
Dflow.c253 struct ipv6hdr *nh; in parse_ipv6hdr()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c1268 struct ipv6hdr *ipv6h; in qlcnic_process_lro()
1320 ipv6h = (struct ipv6hdr *)skb->data; in qlcnic_process_lro()
1321 th = (struct tcphdr *)(skb->data + sizeof(struct ipv6hdr)); in qlcnic_process_lro()
1790 struct ipv6hdr *ipv6h; in qlcnic_83xx_process_lro()
1842 ipv6h = (struct ipv6hdr *)skb->data; in qlcnic_83xx_process_lro()
1843 th = (struct tcphdr *)(skb->data + sizeof(struct ipv6hdr)); in qlcnic_83xx_process_lro()
/linux-4.1.27/security/
Dlsm_audit.c115 struct ipv6hdr *ip6; in ipv6_skb_to_auditdata()
/linux-4.1.27/drivers/net/ethernet/sfc/
Drx.c897 const struct ipv6hdr *ip6 = in efx_filter_rfs()
898 (const struct ipv6hdr *)(skb->data + nhoff); in efx_filter_rfs()
Dtx.c1190 struct ipv6hdr *tsoh_iph = in tso_start_new_packet()
1191 (struct ipv6hdr *)(header + st->ip_off); in tso_start_new_packet()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c1939 struct ipv6hdr *ipv6; in i40e_atr()
1971 hlen = sizeof(struct ipv6hdr); in i40e_atr()
2134 struct ipv6hdr *ipv6h; in i40e_tso()
2233 struct ipv6hdr *this_ipv6_hdr; in i40e_tx_enable_csum()
/linux-4.1.27/net/bluetooth/
D6lowpan.c339 skb_set_transport_header(local_skb, sizeof(struct ipv6hdr)); in recv_pkt()
510 struct ipv6hdr *hdr; in header_create()
/linux-4.1.27/net/sctp/
Doutput.c124 overhead = sizeof(struct ipv6hdr); in sctp_packet_init()
Dipv6.c1005 .net_header_len = sizeof(struct ipv6hdr),
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_rx.c707 struct ipv6hdr *ipv6h) in get_fixed_ipv6_csum()
721 skb->csum = csum_add(skb->csum, csum_partial(ipv6h, sizeof(struct ipv6hdr), 0)); in get_fixed_ipv6_csum()
/linux-4.1.27/net/l2tp/
Dl2tp_ip6.c192 struct ipv6hdr *iph = ipv6_hdr(skb); in l2tp_ip6_recv()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c521 hdrs_len += sizeof(struct ipv6hdr); in bnx2x_set_gro_params()
698 struct ipv6hdr *iph = ipv6_hdr(skb); in bnx2x_gro_ipv6_csum()
701 skb_set_transport_header(skb, sizeof(struct ipv6hdr)); in bnx2x_gro_ipv6_csum()
3655 hlen_w - ((sizeof(struct ipv6hdr)) >> 1); in bnx2x_update_pbds_gso_enc()
3699 struct ipv6hdr *ipv6; in bnx2x_set_ipv6_ext_e2()
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c1423 struct ipv6hdr *ipv6h; in i40e_tso()
1481 struct ipv6hdr *this_ipv6_hdr; in i40e_tx_enable_csum()
/linux-4.1.27/drivers/net/ethernet/tile/
Dtilegx.c1725 struct ipv6hdr *ih6; in tso_headers_prepare()
1773 ih6 = (struct ipv6hdr *)(buf + ih_off); in tso_headers_prepare()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c1109 const struct ipv6hdr *ip6h = (const struct ipv6hdr *)iph; in hwcsum()
/linux-4.1.27/net/mpls/
Daf_mpls.c126 struct ipv6hdr *hdr6 = ipv6_hdr(skb); in mpls_egress()
/linux-4.1.27/net/netlabel/
Dnetlabel_unlabeled.c1487 struct ipv6hdr *hdr6; in netlbl_unlabel_getattr()
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
Dcm.c240 sizeof(struct iphdr) : sizeof(struct ipv6hdr)) - in set_emss()
606 sizeof(struct ipv6hdr) : in best_mtu()
2270 struct ipv6hdr *ip6 = (struct ipv6hdr *)((u8 *)(req + 1) + eth_len); in get_4tuple()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c1056 const struct ipv6hdr *ip6h = (const struct ipv6hdr *)iph; in hwcsum()
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c846 struct ipv6hdr *ipv6; in fm10k_tx_csum()
/linux-4.1.27/security/smack/
Dsmack_lsm.c3561 struct ipv6hdr _ipv6h; in smk_skb_to_addr_ipv6()
3562 struct ipv6hdr *ip6; in smk_skb_to_addr_ipv6()
/linux-4.1.27/drivers/net/bonding/
Dbond_alb.c1374 struct ipv6hdr *ip6hdr; in bond_alb_xmit()
Dbond_main.c3093 const struct ipv6hdr *iph6; in bond_flow_dissect()
/linux-4.1.27/drivers/net/vmxnet3/
Dvmxnet3_drv.c837 const struct ipv6hdr *ipv6h = ipv6_hdr(skb); in vmxnet3_parse_and_copy_hdr()
901 struct ipv6hdr *iph = ipv6_hdr(skb); in vmxnet3_prepare_tso()
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
Dbe_main.c1008 struct ipv6hdr *ip6h = (struct ipv6hdr *)(skb->data + offset); in be_ipv6_exthdr_check()
1010 offset += sizeof(struct ipv6hdr); in be_ipv6_exthdr_check()
/linux-4.1.27/drivers/net/ethernet/marvell/
Dmvpp2.c2043 sizeof(struct ipv6hdr) - 6, in mvpp2_prs_ip6_proto()
2831 sizeof(struct ipv6hdr) - 4, in mvpp2_prs_ip6_init()
4968 struct ipv6hdr *ip6h = ipv6_hdr(skb); in mvpp2_skb_tx_csum()
Dmvneta.c1413 struct ipv6hdr *ip6h = ipv6_hdr(skb); in mvneta_skb_tx_csum()
/linux-4.1.27/net/xfrm/
Dxfrm_state.c2163 const struct ipv6hdr *iph6; in xfrm_audit_helper_pktinfo()
/linux-4.1.27/drivers/net/ethernet/
Djme.c2108 struct ipv6hdr *ip6h = ipv6_hdr(skb); in jme_tx_tso()
/linux-4.1.27/drivers/s390/net/
Dqeth_l3_main.c2897 struct ipv6hdr *ip6h = ipv6_hdr(skb); in qeth_tso_fill_header()
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
Dbnad.c2522 struct ipv6hdr *ipv6h = ipv6_hdr(skb); in bnad_tso_prepare()
/linux-4.1.27/security/selinux/
Dhooks.c3825 struct ipv6hdr _ipv6h, *ip6; in selinux_parse_skb_ipv6()
/linux-4.1.27/drivers/net/ethernet/realtek/
Dr8169.c6909 const struct ipv6hdr *ipv6h; in msdn_giant_send_check()
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dcnic.c3503 l4kwqe3->mss = l4kwqe3->pmtu - sizeof(struct ipv6hdr) - in cnic_cm_conn_req()
Dbnx2.c6613 sizeof(struct ipv6hdr) - ETH_HLEN; in bnx2_start_xmit()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c7158 struct ipv6hdr *ipv6; in ixgbe_atr()