Home
last modified time | relevance | path

Searched refs:network_header (Results 1 – 25 of 48) sorted by relevance

12

/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_output.c72 skb->mac_header = skb->network_header + in xfrm4_transport_output()
74 skb->transport_header = skb->network_header + ihl; in xfrm4_transport_output()
101 skb->transport_header = skb->network_header + hdr_len; in xfrm6_transport_output()
131 skb->transport_header = skb->network_header + hdr_len; in xfrm6_ro_output()
162 skb->network_header += IPV4_BEET_PHMAXLEN; in xfrm4_beet_encap_add()
163 skb->mac_header = skb->network_header + in xfrm4_beet_encap_add()
165 skb->transport_header = skb->network_header + sizeof(*top_iph); in xfrm4_beet_encap_add()
207 skb->mac_header = skb->network_header + in xfrm4_tunnel_encap_add()
209 skb->transport_header = skb->network_header + sizeof(*top_iph); in xfrm4_tunnel_encap_add()
252 skb->mac_header = skb->network_header + in xfrm6_tunnel_encap_add()
[all …]
Dxfrm_input.c403 if (skb->transport_header != skb->network_header) { in xfrm4_transport_input()
406 skb->network_header = skb->transport_header; in xfrm4_transport_input()
418 if (skb->transport_header != skb->network_header) { in xfrm6_transport_input()
421 skb->network_header = skb->transport_header; in xfrm6_transport_input()
Dxfrm_device.c41 skb->transport_header = skb->network_header + hsize; in __xfrm_mode_tunnel_prep()
54 skb->transport_header = skb->network_header + hsize; in __xfrm_mode_beet_prep()
Dxfrm_ipcomp.c121 skb->transport_header = skb->network_header + sizeof(*ipch); in ipcomp_input()
/kernel/linux/linux-5.10/include/net/netfilter/
Dbr_netfilter.h38 skb->network_header -= len; in nf_bridge_push_encap_header()
/kernel/linux/linux-5.10/net/netfilter/
Dnfnetlink_queue.c333 if (entskb->network_header > entskb->mac_header) in nfqnl_get_bridge_size()
334 nlalen += nla_total_size((entskb->network_header - in nfqnl_get_bridge_size()
361 if (entskb->mac_header < entskb->network_header) { in nfqnl_put_bridge()
362 int len = (int)(entskb->network_header - entskb->mac_header); in nfqnl_put_bridge()
730 __skb_push(skb, skb->network_header - skb->mac_header); in nf_bridge_adjust_skb_data()
736 __skb_pull(skb, skb->network_header - skb->mac_header); in nf_bridge_adjust_segmented_data()
1153 int mac_header_len = entry->skb->network_header - in nfqa_parse_bridge()
Dnfnetlink_log.c400 if (skb->network_header > skb->mac_header) in nfulnl_get_bridge_size()
401 size += nla_total_size(skb->network_header - skb->mac_header); in nfulnl_get_bridge_size()
425 if (skb->mac_header < skb->network_header) { in nfulnl_put_bridge()
426 int len = (int)(skb->network_header - skb->mac_header); in nfulnl_put_bridge()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dnip_input.c120 skb->transport_header = skb->network_header + offset; in nip_rcv()
/kernel/linux/linux-5.10/net/netrom/
Dnr_dev.c56 skb->mac_header = skb->network_header; in nr_rx_ip()
/kernel/linux/linux-5.10/net/nsh/
Dnsh.c118 skb->network_header = skb->mac_header + mac_len; in nsh_gso_segment()
/kernel/linux/linux-5.10/net/ipv6/
Dip6_offload.c117 skb->network_header = skb_mac_header(skb) + nhoff - skb->head; in ipv6_gso_segment()
134 skb->network_header = (u8 *)ipv6h - skb->head; in ipv6_gso_segment()
Dudp_offload.c97 skb->network_header -= frag_hdr_sz; in udp6_ufo_fragment()
Dah6.c482 skb->network_header += ah_hlen; in ah6_input_done()
629 skb->network_header += ah_hlen; in ah6_input()
/kernel/linux/linux-5.10/include/linux/
Dvirtio_net.h103 if (gso_type && skb->network_header) { in virtio_net_hdr_to_skb()
Dskbuff.h908 __u16 network_header; member
2444 skb->inner_network_header = skb->network_header; in skb_reset_inner_headers()
2450 skb->mac_len = skb->network_header - skb->mac_header; in skb_reset_mac_len()
2533 return skb->head + skb->network_header; in skb_network_header()
2538 skb->network_header = skb->data - skb->head; in skb_reset_network_header()
2544 skb->network_header += offset; in skb_set_network_header()
2559 return skb->network_header - skb->mac_header; in skb_mac_header_len()
2585 skb->mac_header = skb->network_header; in skb_pop_mac_header()
2627 return skb->transport_header - skb->network_header; in skb_network_header_len()
/kernel/linux/linux-5.10/net/6lowpan/
Dnhc.c136 if (skb->transport_header == skb->network_header) in lowpan_nhc_do_compression()
/kernel/linux/linux-5.10/net/bridge/
Dbr_netfilter_ipv6.c235 skb->transport_header = skb->network_header + sizeof(struct ipv6hdr); in br_nf_pre_routing_ipv6()
Dbr_netfilter_hooks.c180 skb->network_header += len; in nf_bridge_pull_encap_header()
188 skb->network_header += len; in nf_bridge_pull_encap_header_rcsum()
531 skb->transport_header = skb->network_header + ip_hdr(skb)->ihl * 4; in br_nf_pre_routing()
/kernel/linux/linux-5.10/net/ipv4/
Dah4.c290 skb->network_header += ah_hlen; in ah_input_done()
426 skb->network_header += ah_hlen; in ah_input()
Dip_input.c517 skb->transport_header = skb->network_header + iph->ihl*4; in ip_rcv_core()
/kernel/linux/linux-5.10/net/ipv6/netfilter/
Dnf_log_ipv6.c313 skb->mac_header != skb->network_header) { in dump_ipv6_mac_header()
/kernel/linux/linux-5.10/net/ipv4/netfilter/
Dnf_log_ipv4.c300 skb->mac_header != skb->network_header) { in dump_ipv4_mac_header()
/kernel/linux/linux-5.10/net/ax25/
Dax25_in.c123 skb->mac_header = skb->network_header; in ax25_rx_iframe()
/kernel/linux/linux-5.10/net/openvswitch/
Dflow.c546 skb->transport_header = skb->network_header; in key_extract_l3l4()
680 skb->transport_header = skb->network_header; in key_extract_l3l4()
/kernel/linux/linux-5.10/net/sctp/
Dinput.c589 saveip = skb->network_header; in sctp_v4_err()
595 skb->network_header = saveip; in sctp_v4_err()

12