/linux-6.1.9/net/ieee802154/6lowpan/ |
D | rx.c | 68 if (!(lowpan_is_frag1(*skb_network_header(skb)) || in lowpan_rx_h_frag() 69 lowpan_is_fragn(*skb_network_header(skb)))) in lowpan_rx_h_frag() 72 ret = lowpan_frag_rcv(skb, *skb_network_header(skb) & in lowpan_rx_h_frag() 97 if (!lowpan_is_iphc(*skb_network_header(skb))) in lowpan_rx_h_iphc() 114 if (!lowpan_is_ipv6(*skb_network_header(skb))) in lowpan_rx_h_ipv6() 129 if (!lowpan_is_esc(*skb_network_header(skb))) in lowpan_rx_h_esc() 145 if (!lowpan_is_hc1(*skb_network_header(skb))) in lowpan_rx_h_hc1() 161 if (!lowpan_is_dff(*skb_network_header(skb))) in lowpan_rx_h_dff() 177 if (!lowpan_is_bc0(*skb_network_header(skb))) in lowpan_rx_h_bc0() 193 if (!lowpan_is_mesh(*skb_network_header(skb))) in lowpan_rx_h_mesh() [all …]
|
/linux-6.1.9/net/ncsi/ |
D | ncsi-rsp.c | 33 h = (struct ncsi_rsp_pkt_hdr *)skb_network_header(nr->rsp); in ncsi_validate_rsp_pkt() 84 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_cis() 107 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_sp() 132 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_dp() 156 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_ec() 183 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_dc() 205 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_rc() 227 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_ecnt() 249 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_dcnt() 272 rsp = (struct ncsi_rsp_pkt *)skb_network_header(nr->rsp); in ncsi_rsp_handler_ae() [all …]
|
/linux-6.1.9/net/netfilter/ |
D | nf_flow_table_ip.c | 29 tcph = (void *)(skb_network_header(skb) + thoff); in nf_flow_state_check() 43 tcph = (void *)(skb_network_header(skb) + thoff); in nf_flow_nat_ip_tcp() 52 udph = (void *)(skb_network_header(skb) + thoff); in nf_flow_nat_ip_udp() 178 iph = (struct iphdr *)(skb_network_header(skb) + offset); in nf_flow_tuple_ip() 213 ports = (struct flow_ports *)(skb_network_header(skb) + thoff); in nf_flow_tuple_ip() 220 greh = (struct gre_base_hdr *)(skb_network_header(skb) + thoff); in nf_flow_tuple_ip() 227 iph = (struct iphdr *)(skb_network_header(skb) + offset); in nf_flow_tuple_ip() 374 iph = (struct iphdr *)(skb_network_header(skb) + offset); in nf_flow_offload_ip_hook() 437 tcph = (void *)(skb_network_header(skb) + thoff); in nf_flow_nat_ipv6_tcp() 448 udph = (void *)(skb_network_header(skb) + thoff); in nf_flow_nat_ipv6_udp() [all …]
|
D | nf_nat_helper.c | 35 data = skb_network_header(skb) + dataoff; in mangle_contents() 40 skb_tail_pointer(skb) - (skb_network_header(skb) + dataoff + in mangle_contents()
|
/linux-6.1.9/net/ipv6/ |
D | exthdrs.c | 78 switch ((skb_network_header(skb)[optoff] & 0xC0) >> 6) { in ip6_tlvopt_unknown() 118 const unsigned char *nh = skb_network_header(skb); in ip6_parse_tlv() 246 hao = (struct ipv6_destopt_hao *)(skb_network_header(skb) + optoff); in ipv6_dest_hao() 274 hao = (struct ipv6_destopt_hao *)(skb_network_header(skb) + in ipv6_dest_hao() 403 skb_postpull_rcsum(skb, skb_network_header(skb), in ipv6_srh_rcv() 427 opt->nhoff = (&hdr->nexthdr) - skb_network_header(skb); in ipv6_srh_rcv() 436 skb_network_header(skb))); in ipv6_srh_rcv() 520 skb_postpull_rcsum(skb, skb_network_header(skb), in ipv6_rpl_srh_rcv() 543 opt->nhoff = (&hdr->nexthdr) - skb_network_header(skb); in ipv6_rpl_srh_rcv() 568 skb_network_header(skb))); in ipv6_rpl_srh_rcv() [all …]
|
D | xfrm6_input.c | 44 int nhlen = skb->data - skb_network_header(skb); in xfrm6_transport_finish() 46 skb_network_header(skb)[IP6CB(skb)->nhoff] = in xfrm6_transport_finish() 56 skb_postpush_rcsum(skb, skb_network_header(skb), nhlen); in xfrm6_transport_finish() 165 return xfrm6_rcv_spi(skb, skb_network_header(skb)[IP6CB(skb)->nhoff], in xfrm6_rcv_tnl()
|
D | ip6_icmp.c | 69 if (unlikely(!skb_in || skb_network_header(skb_in) < skb_in->head || in icmpv6_ndo_send() 70 (skb_network_header(skb_in) + sizeof(struct ipv6hdr)) > in icmpv6_ndo_send()
|
D | reassembly.c | 126 *prob_offset = (u8 *)&fhdr->frag_off - skb_network_header(skb); in ip6_frag_queue() 136 const unsigned char *nh = skb_network_header(skb); in ip6_frag_queue() 270 payload_len = ((skb->data - skb_network_header(skb)) - in ip6_frag_reasm() 279 skb_network_header(skb)[nhoff] = skb_transport_header(skb)[0]; in ip6_frag_reasm() 298 skb_postpush_rcsum(skb, skb_network_header(skb), in ip6_frag_reasm() 353 IP6CB(skb)->nhoff = (u8 *)fhdr - skb_network_header(skb); in ipv6_frag_rcv()
|
D | output_core.c | 68 skb_network_header(skb); in ip6_find_1stfragopt() 97 exthdr = (struct ipv6_opt_hdr *)(skb_network_header(skb) + in ip6_find_1stfragopt()
|
D | exthdrs_core.c | 118 const unsigned char *nh = skb_network_header(skb); in ipv6_find_tlv() 119 int packet_len = skb_tail_pointer(skb) - skb_network_header(skb); in ipv6_find_tlv()
|
D | udp_offload.c | 91 unfrag_len = (skb_network_header(skb) - skb_mac_header(skb)) + in udp6_ufo_fragment() 100 fptr = (struct frag_hdr *)(skb_network_header(skb) + unfrag_ip6hlen); in udp6_ufo_fragment()
|
D | ip6_output.c | 412 if (!pskb_may_pull(skb, (skb_network_header(skb) + in ip6_forward_proxy_check() 416 icmp6 = (struct icmp6hdr *)(skb_network_header(skb) + offset); in ip6_forward_proxy_check() 690 iter->tmp_hdr = kmemdup(skb_network_header(skb), hlen, GFP_ATOMIC); in ip6_fraglist_init() 706 memcpy(skb_network_header(skb), iter->tmp_hdr, hlen); in ip6_fraglist_init() 734 memcpy(skb_network_header(frag), iter->tmp_hdr, hlen); in ip6_fraglist_prepare() 798 fh = (struct frag_hdr *)(skb_network_header(frag) + state->hlen); in ip6_frag_next() 812 skb_copy_from_linear_data(skb, skb_network_header(frag), state->hlen); in ip6_frag_next() 814 fragnexthdr_offset = skb_network_header(frag); in ip6_frag_next() 815 fragnexthdr_offset += prevhdr - skb_network_header(skb); in ip6_frag_next() 864 nexthdr_offset = prevhdr - skb_network_header(skb); in ip6_fragment() [all …]
|
/linux-6.1.9/include/net/ |
D | inet_ecn.h | 176 if (skb_network_header(skb) + sizeof(struct iphdr) <= in INET_ECN_set_ce() 182 if (skb_network_header(skb) + sizeof(struct ipv6hdr) <= in INET_ECN_set_ce() 212 if (skb_network_header(skb) + sizeof(struct iphdr) <= in INET_ECN_set_ect1() 218 if (skb_network_header(skb) + sizeof(struct ipv6hdr) <= in INET_ECN_set_ect1()
|
D | mpls.h | 27 return (struct mpls_shim_hdr *)skb_network_header(skb); in mpls_hdr()
|
/linux-6.1.9/net/ipv6/ila/ |
D | ila_common.c | 85 (skb_network_header(skb) + nhoff); in ila_csum_adjust_transport() 95 (skb_network_header(skb) + nhoff); in ila_csum_adjust_transport() 110 (skb_network_header(skb) + nhoff); in ila_csum_adjust_transport()
|
/linux-6.1.9/net/sched/ |
D | act_nat.c | 174 tcph = (void *)(skb_network_header(skb) + ihl); in tcf_nat_act() 187 udph = (void *)(skb_network_header(skb) + ihl); in tcf_nat_act() 203 icmph = (void *)(skb_network_header(skb) + ihl); in tcf_nat_act() 212 icmph = (void *)(skb_network_header(skb) + ihl); in tcf_nat_act() 226 icmph = (void *)(skb_network_header(skb) + ihl); in tcf_nat_act()
|
D | em_u32.c | 21 const unsigned char *ptr = skb_network_header(skb); in em_u32_match()
|
/linux-6.1.9/net/ipv4/ |
D | ip_options.c | 47 unsigned char *iph = skb_network_header(skb); in ip_options_build() 89 sptr = skb_network_header(skb); in __ip_options_echo() 197 unsigned char *optptr = skb_network_header(skb) + sizeof(struct iphdr); in ip_options_fragment() 543 unsigned char *raw = skb_network_header(skb); in ip_forward_options() 591 unsigned char *optptr = skb_network_header(skb) + opt->srr; in ip_options_rcv_srr()
|
/linux-6.1.9/include/linux/ |
D | ip.h | 21 return (struct iphdr *)skb_network_header(skb); in ip_hdr()
|
D | if_arp.h | 27 return (struct arphdr *)skb_network_header(skb); in arp_hdr()
|
D | if_pppox.h | 21 return (struct pppoe_hdr *)skb_network_header(skb); in pppoe_hdr()
|
/linux-6.1.9/net/bridge/ |
D | br_netfilter_ipv6.c | 50 const unsigned char *nh = skb_network_header(skb); in br_nf_check_hbh_len() 83 nh = skb_network_header(skb); in br_nf_check_hbh_len()
|
/linux-6.1.9/net/ipv6/netfilter/ |
D | nf_conntrack_reasm.c | 193 const unsigned char *nh = skb_network_header(skb); in nf_ct_frag6_queue() 329 payload_len = ((skb->data - skb_network_header(skb)) - in nf_ct_frag6_reasm() 340 skb_network_header(skb)[fq->nhoffset] = skb_transport_header(skb)[0]; in nf_ct_frag6_reasm() 359 skb->csum = csum_partial(skb_network_header(skb), in nf_ct_frag6_reasm()
|
/linux-6.1.9/net/rxrpc/ |
D | peer_event.c | 295 skb_network_header(skb) + serr->addr_offset, in rxrpc_lookup_peer_local_rcu() 301 skb_network_header(skb) + serr->addr_offset + 12, in rxrpc_lookup_peer_local_rcu() 318 skb_network_header(skb) + serr->addr_offset, in rxrpc_lookup_peer_local_rcu() 327 skb_network_header(skb) + serr->addr_offset, in rxrpc_lookup_peer_local_rcu()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_fcoe.c | 43 struct fcoe_hdr *fcoeh = (struct fcoe_hdr *)skb_network_header(skb); in cxgb_fcoe_sof_eof_supported()
|