/linux-4.4.14/net/ipv6/ |
D | mcast_snoop.c | 30 unsigned int offset = skb_network_offset(skb) + sizeof(*ip6h); in ipv6_mc_check_ip6hdr() 60 offset = skb_network_offset(skb) + sizeof(*ip6h); in ipv6_mc_check_exthdrs()
|
D | output_core.c | 50 skb_network_offset(skb) + in ipv6_proxy_select_ident()
|
D | exthdrs_core.c | 188 unsigned int start = skb_network_offset(skb) + sizeof(struct ipv6hdr); in ipv6_find_hdr()
|
D | mip6.c | 158 skb_push(skb, -skb_network_offset(skb)); in mip6_destopt_output() 375 skb_push(skb, -skb_network_offset(skb)); in mip6_rthdr_output()
|
D | icmp.c | 232 offset += skb_network_offset(skb); in opt_unrec() 512 msg.offset = skb_network_offset(skb); in icmp6_send() 702 nh = skb_network_offset(skb); in icmpv6_rcv()
|
D | xfrm6_tunnel.c | 223 skb_push(skb, -skb_network_offset(skb)); in xfrm6_tunnel_output()
|
D | esp6.c | 229 skb_push(skb, -skb_network_offset(skb)); in esp6_output()
|
D | ah6.c | 361 skb_push(skb, -skb_network_offset(skb)); in ah6_output()
|
D | ip6mr.c | 1138 skb = skb_realloc_headroom(pkt, -skb_network_offset(pkt) in ip6mr_cache_report() 1159 skb_push(skb, -skb_network_offset(pkt)); in ip6mr_cache_report()
|
D | ip6_output.c | 1639 __skb_pull(skb, skb_network_offset(skb)); in __ip6_make_skb()
|
/linux-4.4.14/net/netfilter/ipset/ |
D | ip_set_getport.c | 101 unsigned int protooff = skb_network_offset(skb) + ip_hdrlen(skb); in ip_set_get_ip4_port() 140 skb_network_offset(skb) + in ip_set_get_ip6_port()
|
/linux-4.4.14/net/netfilter/ |
D | xt_AUDIT.c | 104 ih = skb_header_pointer(skb, skb_network_offset(skb), sizeof(_ip6h), &_ip6h); in audit_ip6() 111 offset = ipv6_skip_exthdr(skb, skb_network_offset(skb) + sizeof(_ip6h), in audit_ip6()
|
D | nf_tables_netdev.c | 28 iph = skb_header_pointer(skb, skb_network_offset(skb), sizeof(*iph), in nft_netdev_set_pktinfo_ipv4() 61 ip6h = skb_header_pointer(skb, skb_network_offset(skb), sizeof(*ip6h), in __nft_netdev_set_pktinfo_ipv6()
|
D | xt_HMARK.c | 175 ip6 = (struct ipv6hdr *) (skb->data + skb_network_offset(skb)); in hmark_pkt_set_htuple_ipv6() 259 int nhoff = skb_network_offset(skb); in hmark_pkt_set_htuple_ipv4()
|
D | nft_payload.c | 92 offset = skb_network_offset(skb); in nft_payload_eval()
|
D | xt_connlimit.c | 334 } else if (!nf_ct_get_tuplepr(skb, skb_network_offset(skb), in connlimit_mt()
|
D | nf_conntrack_core.c | 1037 if (!nf_ct_get_tuple(skb, skb_network_offset(skb), in resolve_normal_ct() 1109 ret = l3proto->get_l4proto(skb, skb_network_offset(skb), in nf_conntrack_in() 1283 atomic64_add(skb->len - skb_network_offset(skb), in __nf_ct_kill_acct()
|
/linux-4.4.14/net/ipv4/ |
D | xfrm4_tunnel.c | 17 skb_push(skb, -skb_network_offset(skb)); in ipip_output()
|
D | ip_fragment.c | 362 end = offset + skb->len - skb_network_offset(skb) - ihl; in ip_frag_queue() 392 if (!pskb_pull(skb, skb_network_offset(skb) + ihl)) in ip_frag_queue() 695 netoff = skb_network_offset(skb); in ip_check_defrag()
|
D | icmp.c | 695 icmp_param->offset = skb_network_offset(skb_in); in icmp_send() 993 nh = skb_network_offset(skb); in icmp_rcv()
|
D | ah4.c | 170 skb_push(skb, -skb_network_offset(skb)); in ah_output()
|
D | esp4.c | 202 skb_push(skb, -skb_network_offset(skb)); in esp_output()
|
D | igmp.c | 1366 unsigned int offset = skb_network_offset(skb) + sizeof(*iph); in ip_mc_check_iphdr() 1386 len = skb_network_offset(skb) + ntohs(iph->tot_len); in ip_mc_check_iphdr()
|
D | ip_output.c | 1370 __skb_pull(skb, skb_network_offset(skb)); in __ip_make_skb()
|
/linux-4.4.14/net/ax25/ |
D | ax25_out.c | 163 skb_network_offset(skb)); in ax25_output() 177 skb_network_offset(skb)); in ax25_output()
|
/linux-4.4.14/net/sched/ |
D | act_csum.c | 104 int ntkoff = skb_network_offset(skb); in tcf_csum_skb_nextlayer() 327 ntkoff = skb_network_offset(skb); in tcf_csum_ipv4() 427 ntkoff = skb_network_offset(skb); in tcf_csum_ipv6()
|
D | em_ipset.c | 88 network_offset = skb_network_offset(skb); in em_ipset_match()
|
D | act_connmark.c | 70 if (!nf_ct_get_tuplepr(skb, skb_network_offset(skb), in tcf_connmark()
|
D | act_pedit.c | 117 off = skb_network_offset(skb); in tcf_pedit()
|
D | act_nat.c | 117 noff = skb_network_offset(skb); in tcf_nat()
|
D | sch_teql.c | 336 __skb_pull(skb, skb_network_offset(skb)); in teql_master_xmit()
|
D | sch_atm.c | 477 skb_pull(skb, skb_network_offset(skb)); in sch_atm_dequeue()
|
D | cls_u32.c | 113 unsigned int off = skb_network_offset(skb); in u32_classify()
|
/linux-4.4.14/net/core/ |
D | tso.c | 20 int mac_hdr_len = skb_network_offset(skb); in tso_build_hdr()
|
D | flow_dissector.c | 139 nhoff = skb_network_offset(skb); in __skb_flow_dissect()
|
D | neighbour.c | 1304 __skb_pull(skb, skb_network_offset(skb)); in neigh_resolve_output() 1333 __skb_pull(skb, skb_network_offset(skb)); in neigh_connected_output()
|
D | skbuff.c | 4373 if (skb_network_offset(skb) < ETH_HLEN) in __skb_vlan_pop()
|
D | dev.c | 2960 __skb_pull(skb, skb_network_offset(skb)); in dev_loopback_xmit()
|
/linux-4.4.14/net/openvswitch/ |
D | flow.c | 193 return pskb_may_pull(skb, skb_network_offset(skb) + in arphdr_ok() 199 unsigned int nh_ofs = skb_network_offset(skb); in check_iphdr() 252 unsigned int nh_ofs = skb_network_offset(skb); in parse_ipv6hdr()
|
D | actions.c | 395 err = skb_ensure_writable(skb, skb_network_offset(skb) + in set_ipv4() 446 err = skb_ensure_writable(skb, skb_network_offset(skb) + in set_ipv6() 663 unsigned int hlen = skb_network_offset(skb); in prepare_frag() 683 if (skb_network_offset(skb) > MAX_L2_LEN) { in ovs_fragment()
|
D | conntrack.c | 365 if (!nf_ct_get_tuplepr(skb, skb_network_offset(skb), proto, net, &tuple)) in ovs_ct_expect_find() 503 nh_ofs = skb_network_offset(skb); in ovs_ct_execute()
|
/linux-4.4.14/include/trace/events/ |
D | net.h | 50 __entry->network_offset = skb_network_offset(skb);
|
/linux-4.4.14/net/xfrm/ |
D | xfrm_ipcomp.c | 198 skb_push(skb, -skb_network_offset(skb)); in ipcomp_output()
|
/linux-4.4.14/net/ipv6/netfilter/ |
D | nf_log_ipv6.c | 368 dump_ipv6_packet(m, loginfo, skb, skb_network_offset(skb), 1); in nf_log_ip6_packet()
|
D | nf_conntrack_proto_icmpv6.c | 160 skb_network_offset(skb) in icmpv6_error_message()
|
D | nf_nat_l3proto_ipv6.c | 142 skb_network_offset(skb) + in nf_nat_ipv6_csum_recalc()
|
D | nf_conntrack_reasm.c | 521 const int netoff = skb_network_offset(skb); in find_prev_fhdr()
|
/linux-4.4.14/security/ |
D | lsm_audit.c | 127 offset = skb_network_offset(skb); in ipv6_skb_to_auditdata()
|
/linux-4.4.14/net/ipv4/netfilter/ |
D | nf_conntrack_proto_icmp.c | 145 skb_network_offset(skb) + ip_hdrlen(skb) in icmp_error_message()
|
D | nf_conntrack_l3proto_ipv4.c | 118 return helper->help(skb, skb_network_offset(skb) + ip_hdrlen(skb), in ipv4_helper()
|
D | nf_nat_l3proto_ipv4.c | 138 skb_network_offset(skb) + in nf_nat_ipv4_csum_recalc()
|
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 1957 info |= (skb_network_offset(skb) << E1000_ADVTXD_MACLEN_SHIFT); in igbvf_tso() 1958 *hdr_len += skb_network_offset(skb); in igbvf_tso() 2009 info |= (skb_network_offset(skb) << E1000_ADVTXD_MACLEN_SHIFT); in igbvf_tx_csum()
|
/linux-4.4.14/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 1396 const int nh_off = skb_network_offset(skb); in pasemi_mac_queue_csdesc() 1487 const int nh_off = skb_network_offset(skb); in pasemi_mac_start_tx()
|
/linux-4.4.14/drivers/net/ethernet/tile/ |
D | tilegx.c | 1745 ih_off = skb_network_offset(skb); in tso_headers_prepare() 1748 ih_off = skb_network_offset(skb); in tso_headers_prepare()
|
/linux-4.4.14/net/packet/ |
D | af_packet.c | 2012 skb_pull(skb, skb_network_offset(skb)); in packet_rcv() 2128 skb_pull(skb, skb_network_offset(skb)); in tpacket_rcv() 2152 unsigned int maclen = skb_network_offset(skb); in tpacket_rcv() 3278 aux.tp_net = skb_network_offset(skb); in packet_recvmsg()
|
/linux-4.4.14/net/802/ |
D | mrp.c | 779 int offset = skb_network_offset(skb); in mrp_rcv()
|
/linux-4.4.14/drivers/net/ |
D | vrf.c | 331 __skb_pull(skb, skb_network_offset(skb)); in is_ip_tx_frame()
|
D | vxlan.c | 1413 __skb_pull(reply, skb_network_offset(reply)); in arp_reduce() 1888 __skb_pull(skb, skb_network_offset(skb)); in vxlan_encap_bypass()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 1119 int eth_hdr_len = skb_network_offset(skb) - ETH_HLEN; in hwcsum() 1284 int eth_xtra_len = skb_network_offset(skb) - ETH_HLEN; in t4vf_eth_xmit()
|
/linux-4.4.14/include/linux/ |
D | skbuff.h | 2122 static inline int skb_network_offset(const struct sk_buff *skb) in skb_network_offset() function 2134 return pskb_may_pull(skb, skb_network_offset(skb) + len); in pskb_network_may_pull()
|
D | ieee80211.h | 2489 skb->len > (skb_network_offset(skb) + 2)) { in ieee80211_get_tdls_action()
|
D | netdevice.h | 2305 skb_network_offset(skb); in skb_gro_network_header()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_io.c | 447 encap_descr |= skb_network_offset(skb) << 10; in qlcnic_tx_encap_pkt() 573 first_desc->ip_hdr_offset += skb_network_offset(skb); in qlcnic_tx_pkt()
|
/linux-4.4.14/drivers/net/wireless/ti/wlcore/ |
D | tx.c | 287 skb_set_network_header(skb, skb_network_offset(skb) + extra); in wl1271_tx_fill_hdr()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_fcoe.c | 1288 maclen = skb_network_offset(skb); in i40e_fcoe_tx_map()
|
D | i40e_txrx.c | 2393 *td_offset |= (skb_network_offset(skb) >> 1) << in i40e_tx_enable_csum()
|
/linux-4.4.14/net/mac80211/ |
D | wpa.c | 668 skb_set_network_header(skb, skb_network_offset(skb) + in gcmp_encrypt_skb()
|
D | tdls.c | 1454 tf = container_of(skb->data + skb_network_offset(skb), in ieee80211_tdls_find_sw_timing_ie()
|
/linux-4.4.14/include/net/ |
D | ip_vs.h | 144 return ip_vs_fill_iph_skb_off(af, skb, skb_network_offset(skb), in ip_vs_fill_iph_skb()
|
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_queues.c | 998 hdr->l3_offset = skb_network_offset(skb); in nicvf_sq_add_hdr_subdesc()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 1069 int eth_hdr_len = skb_network_offset(skb) - ETH_HLEN; in hwcsum() 1225 int eth_xtra_len = skb_network_offset(skb) - ETH_HLEN; in t4_eth_xmit()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 3339 vlan_macip_lens |= skb_network_offset(skb) << IXGBE_ADVTXD_MACLEN_SHIFT; in ixgbevf_tso() 3407 vlan_macip_lens |= skb_network_offset(skb) << IXGBE_ADVTXD_MACLEN_SHIFT; in ixgbevf_tx_csum()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/ |
D | i40e_txrx.c | 1598 *td_offset |= (skb_network_offset(skb) >> 1) << in i40e_tx_enable_csum()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/ |
D | sge.c | 1802 eth_type = skb_network_offset(skb) == ETH_HLEN ? in t1_start_xmit()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_main.c | 1242 ipcss = skb_network_offset(skb); in ixgb_tso()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qlge/ |
D | qlge_main.c | 2588 cpu_to_le16(skb_network_offset(skb) | in ql_tso() 2622 cpu_to_le16(skb_network_offset(skb) | in ql_hw_csum_setup()
|
/linux-4.4.14/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 1908 if (skb_network_offset(skb) != ETH_HLEN) in atl1e_xmit_frame()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 6993 vlan_macip_lens |= skb_network_offset(skb) << IXGBE_ADVTXD_MACLEN_SHIFT; in ixgbe_tso() 7014 vlan_macip_lens = skb_network_offset(skb) << in ixgbe_tx_csum() 7036 vlan_macip_lens = skb_network_offset(skb) << in ixgbe_tx_csum()
|
/linux-4.4.14/security/selinux/ |
D | hooks.c | 3761 offset = skb_network_offset(skb); in selinux_parse_skb_ipv4() 3844 offset = skb_network_offset(skb); in selinux_parse_skb_ipv6()
|
/linux-4.4.14/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 2256 if (skb_network_offset(skb) != ETH_HLEN) in atl1c_xmit_frame()
|
/linux-4.4.14/drivers/isdn/i4l/ |
D | isdn_net.c | 1123 const int pullsize = skb_network_offset(skb) - ETH_HLEN; in isdn_net_adjust_hdr()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_main.c | 1941 first_desc->ip_hdr_offset += skb_network_offset(skb); in netxen_tso_check()
|
/linux-4.4.14/drivers/net/ethernet/marvell/ |
D | mvneta.c | 1480 return mvneta_txq_desc_csum(skb_network_offset(skb), in mvneta_skb_tx_csum()
|
D | mvpp2.c | 5053 return mvpp2_txq_desc_csum(skb_network_offset(skb), in mvpp2_skb_tx_csum()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/ |
D | sge.c | 1162 eth_type = skb_network_offset(skb) == ETH_HLEN ? in write_tx_pkt_wr()
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 4700 vlan_macip_lens |= skb_network_offset(skb) << E1000_ADVTXD_MACLEN_SHIFT; in igb_tso() 4768 vlan_macip_lens |= skb_network_offset(skb) << E1000_ADVTXD_MACLEN_SHIFT; in igb_tx_csum()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | en_netdev.c | 311 int nhoff = skb_network_offset(skb); in mlx4_en_filter_rfs()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/ |
D | qla3xxx.c | 2286 mac_iocb_ptr->ip_hdr_off = skb_network_offset(skb); in ql_hw_csum_setup()
|
/linux-4.4.14/security/smack/ |
D | smack_lsm.c | 3878 offset = skb_network_offset(skb); in smk_skb_to_addr_ipv6()
|
/linux-4.4.14/drivers/net/ethernet/ibm/ehea/ |
D | ehea_main.c | 2003 swqe->ip_start = skb_network_offset(skb); in xmit_common()
|
/linux-4.4.14/drivers/net/bonding/ |
D | bond_main.c | 3112 noff = skb_network_offset(skb); in bond_flow_dissect()
|
/linux-4.4.14/drivers/net/ethernet/freescale/ |
D | gianfar.c | 2272 fcb->l3os = (u8)(skb_network_offset(skb) - fcb_length); in gfar_tx_checksum()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 2738 ipcss = skb_network_offset(skb); in e1000_tso()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 5373 ipcss = skb_network_offset(skb); in e1000_tso()
|
/linux-4.4.14/drivers/net/ethernet/sun/ |
D | niu.c | 6614 l3off = skb_network_offset(skb) - in niu_compute_tx_flags()
|