/Linux-v6.6/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-v6.6/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-v6.6/net/netfilter/ |
D | nf_flow_table_ip.c | 30 tcph = (void *)(skb_network_header(skb) + thoff); in nf_flow_state_check() 44 tcph = (void *)(skb_network_header(skb) + thoff); in nf_flow_nat_ip_tcp() 53 udph = (void *)(skb_network_header(skb) + thoff); in nf_flow_nat_ip_udp() 184 iph = (struct iphdr *)(skb_network_header(skb) + ctx->offset); in nf_flow_tuple_ip() 219 ports = (struct flow_ports *)(skb_network_header(skb) + thoff); in nf_flow_tuple_ip() 226 greh = (struct gre_base_hdr *)(skb_network_header(skb) + thoff); in nf_flow_tuple_ip() 233 iph = (struct iphdr *)(skb_network_header(skb) + ctx->offset); in nf_flow_tuple_ip() 378 iph = (struct iphdr *)(skb_network_header(skb) + ctx->offset); in nf_flow_offload_forward() 477 tcph = (void *)(skb_network_header(skb) + thoff); in nf_flow_nat_ipv6_tcp() 488 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()
|
D | nf_flow_table_core.c | 451 tcph = (void *)(skb_network_header(skb) + thoff); in nf_flow_nat_port_tcp() 460 udph = (void *)(skb_network_header(skb) + thoff); in nf_flow_nat_port_udp() 489 hdr = (void *)(skb_network_header(skb) + thoff); in nf_flow_snat_port() 515 hdr = (void *)(skb_network_header(skb) + thoff); in nf_flow_dnat_port()
|
/Linux-v6.6/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() 243 hao = (struct ipv6_destopt_hao *)(skb_network_header(skb) + optoff); in ipv6_dest_hao() 271 hao = (struct ipv6_destopt_hao *)(skb_network_header(skb) + in ipv6_dest_hao() 400 skb_postpull_rcsum(skb, skb_network_header(skb), in ipv6_srh_rcv() 420 opt->nhoff = (&hdr->nexthdr) - skb_network_header(skb); in ipv6_srh_rcv() 429 skb_network_header(skb))); in ipv6_srh_rcv() 511 skb_postpull_rcsum(skb, skb_network_header(skb), in ipv6_rpl_srh_rcv() 530 opt->nhoff = (&hdr->nexthdr) - skb_network_header(skb); in ipv6_rpl_srh_rcv() 550 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() 168 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 | 130 *prob_offset = (u8 *)&fhdr->frag_off - skb_network_header(skb); in ip6_frag_queue() 140 const unsigned char *nh = skb_network_header(skb); in ip6_frag_queue() 275 payload_len = ((skb->data - skb_network_header(skb)) - in ip6_frag_reasm() 284 skb_network_header(skb)[nhoff] = skb_transport_header(skb)[0]; in ip6_frag_reasm() 303 skb_postpush_rcsum(skb, skb_network_header(skb), in ip6_frag_reasm() 358 IP6CB(skb)->nhoff = (u8 *)fhdr - skb_network_header(skb); in ipv6_frag_rcv()
|
D | output_core.c | 62 skb_network_header(skb); in ip6_find_1stfragopt() 91 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 | 92 unfrag_len = (skb_network_header(skb) - skb_mac_header(skb)) + in udp6_ufo_fragment() 101 fptr = (struct frag_hdr *)(skb_network_header(skb) + unfrag_ip6hlen); in udp6_ufo_fragment()
|
D | ip6_output.c | 413 if (!pskb_may_pull(skb, (skb_network_header(skb) + in ip6_forward_proxy_check() 417 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-v6.6/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-v6.6/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-v6.6/net/sched/ |
D | act_nat.c | 187 tcph = (void *)(skb_network_header(skb) + ihl); in tcf_nat_act() 200 udph = (void *)(skb_network_header(skb) + ihl); in tcf_nat_act() 216 icmph = (void *)(skb_network_header(skb) + ihl); in tcf_nat_act() 225 icmph = (void *)(skb_network_header(skb) + ihl); in tcf_nat_act() 239 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-v6.6/net/rxrpc/ |
D | peer_event.c | 52 skb_network_header(skb) + serr->addr_offset, in rxrpc_lookup_peer_local_rcu() 57 skb_network_header(skb) + serr->addr_offset + 12, in rxrpc_lookup_peer_local_rcu() 73 skb_network_header(skb) + serr->addr_offset, in rxrpc_lookup_peer_local_rcu() 81 skb_network_header(skb) + serr->addr_offset, in rxrpc_lookup_peer_local_rcu()
|
/Linux-v6.6/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-v6.6/include/linux/ |
D | if_arp.h | 27 return (struct arphdr *)skb_network_header(skb); in arp_hdr()
|
D | ip.h | 21 return (struct iphdr *)skb_network_header(skb); in ip_hdr()
|
D | if_pppox.h | 21 return (struct pppoe_hdr *)skb_network_header(skb); in pppoe_hdr()
|
/Linux-v6.6/net/ipv6/netfilter/ |
D | nf_conntrack_reasm.c | 194 const unsigned char *nh = skb_network_header(skb); in nf_ct_frag6_queue() 330 payload_len = ((skb->data - skb_network_header(skb)) - in nf_ct_frag6_reasm() 341 skb_network_header(skb)[fq->nhoffset] = skb_transport_header(skb)[0]; in nf_ct_frag6_reasm() 360 skb->csum = csum_partial(skb_network_header(skb), in nf_ct_frag6_reasm()
|
/Linux-v6.6/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()
|