/linux-4.1.27/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 | 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 | 36 offset = skb_network_offset(skb); in nft_payload_eval()
|
D | xt_connlimit.c | 333 } else if (!nf_ct_get_tuplepr(skb, skb_network_offset(skb), in connlimit_mt()
|
D | nf_conntrack_core.c | 1013 if (!nf_ct_get_tuple(skb, skb_network_offset(skb), in resolve_normal_ct() 1084 ret = l3proto->get_l4proto(skb, skb_network_offset(skb), in nf_conntrack_in() 1258 atomic64_add(skb->len - skb_network_offset(skb), in __nf_ct_kill_acct()
|
/linux-4.1.27/net/ipv4/ |
D | xfrm4_tunnel.c | 17 skb_push(skb, -skb_network_offset(skb)); in ipip_output()
|
D | ip_fragment.c | 345 end = offset + skb->len - skb_network_offset(skb) - ihl; in ip_frag_queue() 375 if (!pskb_pull(skb, skb_network_offset(skb) + ihl)) in ip_frag_queue() 673 netoff = skb_network_offset(skb); in ip_check_defrag()
|
D | icmp.c | 671 icmp_param->offset = skb_network_offset(skb_in); in icmp_send() 969 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 | 199 skb_push(skb, -skb_network_offset(skb)); in esp_output()
|
D | ip_output.c | 1346 __skb_pull(skb, skb_network_offset(skb)); in __ip_make_skb()
|
/linux-4.1.27/net/ax25/ |
D | ax25_out.c | 164 skb_network_offset(skb)); in ax25_output() 178 skb_network_offset(skb)); in ax25_output()
|
/linux-4.1.27/net/sched/ |
D | act_csum.c | 103 int ntkoff = skb_network_offset(skb); in tcf_csum_skb_nextlayer() 326 ntkoff = skb_network_offset(skb); in tcf_csum_ipv4() 426 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 | 69 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 | 116 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.1.27/net/core/ |
D | tso.c | 20 int mac_hdr_len = skb_network_offset(skb); in tso_build_hdr()
|
D | flow_dissector.c | 82 nhoff = skb_network_offset(skb); in __skb_flow_dissect()
|
D | neighbour.c | 1297 __skb_pull(skb, skb_network_offset(skb)); in neigh_resolve_output() 1326 __skb_pull(skb, skb_network_offset(skb)); in neigh_connected_output()
|
D | skbuff.c | 4287 if (skb_network_offset(skb) < ETH_HLEN) in __skb_vlan_pop()
|
D | dev.c | 2895 __skb_pull(skb, skb_network_offset(skb)); in dev_loopback_xmit()
|
/linux-4.1.27/net/ipv6/ |
D | output_core.c | 48 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() 377 skb_push(skb, -skb_network_offset(skb)); in mip6_rthdr_output()
|
D | icmp.c | 231 offset += skb_network_offset(skb); in opt_unrec() 506 msg.offset = skb_network_offset(skb); in icmp6_send() 695 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 | 226 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 | 1143 skb = skb_realloc_headroom(pkt, -skb_network_offset(pkt) in ip6mr_cache_report() 1164 skb_push(skb, -skb_network_offset(pkt)); in ip6mr_cache_report()
|
D | ip6_output.c | 1623 __skb_pull(skb, skb_network_offset(skb)); in __ip6_make_skb()
|
/linux-4.1.27/net/openvswitch/ |
D | flow.c | 191 return pskb_may_pull(skb, skb_network_offset(skb) + in arphdr_ok() 197 unsigned int nh_ofs = skb_network_offset(skb); in check_iphdr() 250 unsigned int nh_ofs = skb_network_offset(skb); in parse_ipv6hdr()
|
D | actions.c | 375 err = skb_ensure_writable(skb, skb_network_offset(skb) + in set_ipv4() 426 err = skb_ensure_writable(skb, skb_network_offset(skb) + in set_ipv6()
|
/linux-4.1.27/include/trace/events/ |
D | net.h | 50 __entry->network_offset = skb_network_offset(skb);
|
/linux-4.1.27/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 | 159 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.1.27/net/xfrm/ |
D | xfrm_ipcomp.c | 198 skb_push(skb, -skb_network_offset(skb)); in ipcomp_output()
|
/linux-4.1.27/security/ |
D | lsm_audit.c | 127 offset = skb_network_offset(skb); in ipv6_skb_to_auditdata()
|
/linux-4.1.27/net/ipv4/netfilter/ |
D | nf_conntrack_proto_icmp.c | 143 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.1.27/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 1956 info |= (skb_network_offset(skb) << E1000_ADVTXD_MACLEN_SHIFT); in igbvf_tso() 1957 *hdr_len += skb_network_offset(skb); in igbvf_tso() 2008 info |= (skb_network_offset(skb) << E1000_ADVTXD_MACLEN_SHIFT); in igbvf_tx_csum()
|
/linux-4.1.27/drivers/net/ethernet/tile/ |
D | tilegx.c | 1744 ih_off = skb_network_offset(skb); in tso_headers_prepare() 1747 ih_off = skb_network_offset(skb); in tso_headers_prepare()
|
/linux-4.1.27/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.1.27/net/packet/ |
D | af_packet.c | 1791 skb_pull(skb, skb_network_offset(skb)); in packet_rcv() 1907 skb_pull(skb, skb_network_offset(skb)); in tpacket_rcv() 1931 unsigned int maclen = skb_network_offset(skb); in tpacket_rcv() 3054 aux.tp_net = skb_network_offset(skb); in packet_recvmsg()
|
/linux-4.1.27/net/802/ |
D | mrp.c | 779 int offset = skb_network_offset(skb); in mrp_rcv()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 1122 TXPKT_ETHHDR_LEN(skb_network_offset(skb) - ETH_HLEN); in hwcsum() 1274 int eth_xtra_len = skb_network_offset(skb) - ETH_HLEN; in t4vf_eth_xmit()
|
/linux-4.1.27/include/linux/ |
D | skbuff.h | 1971 static inline int skb_network_offset(const struct sk_buff *skb) in skb_network_offset() function 1983 return pskb_may_pull(skb, skb_network_offset(skb) + len); in pskb_network_may_pull()
|
D | ieee80211.h | 2484 skb->len > (skb_network_offset(skb) + 2)) { in ieee80211_get_tdls_action()
|
D | netdevice.h | 2248 skb_network_offset(skb); in skb_gro_network_header()
|
/linux-4.1.27/net/bridge/ |
D | br_multicast.c | 1604 offset = skb_network_offset(skb2) + ip_hdrlen(skb2); in br_multicast_ipv4_rcv() 1709 len -= offset - skb_network_offset(skb2); in br_multicast_ipv6_rcv()
|
/linux-4.1.27/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.1.27/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.1.27/net/mac80211/ |
D | wpa.c | 662 skb_set_network_header(skb, skb_network_offset(skb) + in gcmp_encrypt_skb()
|
D | tdls.c | 1283 tf = container_of(skb->data + skb_network_offset(skb), in ieee80211_tdls_find_sw_timing_ie()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_fcoe.c | 1288 maclen = skb_network_offset(skb); in i40e_fcoe_tx_map()
|
D | i40e_txrx.c | 2309 *td_offset |= (skb_network_offset(skb) >> 1) << in i40e_tx_enable_csum()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 1069 TXPKT_ETHHDR_LEN(skb_network_offset(skb) - ETH_HLEN); in hwcsum() 1211 int eth_xtra_len = skb_network_offset(skb) - ETH_HLEN; in t4_eth_xmit()
|
/linux-4.1.27/drivers/net/ |
D | vxlan.c | 1400 __skb_pull(reply, skb_network_offset(reply)); in arp_reduce() 1848 __skb_pull(skb, skb_network_offset(skb)); in vxlan_encap_bypass()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 3327 vlan_macip_lens |= skb_network_offset(skb) << IXGBE_ADVTXD_MACLEN_SHIFT; in ixgbevf_tso() 3395 vlan_macip_lens |= skb_network_offset(skb) << IXGBE_ADVTXD_MACLEN_SHIFT; in ixgbevf_tx_csum()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/ |
D | i40e_txrx.c | 1559 *td_offset |= (skb_network_offset(skb) >> 1) << in i40e_tx_enable_csum()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/ |
D | sge.c | 1802 eth_type = skb_network_offset(skb) == ETH_HLEN ? in t1_start_xmit()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_main.c | 1242 ipcss = skb_network_offset(skb); in ixgb_tso()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlge/ |
D | qlge_main.c | 2577 cpu_to_le16(skb_network_offset(skb) | in ql_tso() 2611 cpu_to_le16(skb_network_offset(skb) | in ql_hw_csum_setup()
|
/linux-4.1.27/security/selinux/ |
D | hooks.c | 3745 offset = skb_network_offset(skb); in selinux_parse_skb_ipv4() 3828 offset = skb_network_offset(skb); in selinux_parse_skb_ipv6()
|
/linux-4.1.27/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 1908 if (skb_network_offset(skb) != ETH_HLEN) in atl1e_xmit_frame()
|
/linux-4.1.27/drivers/net/ethernet/marvell/ |
D | mvneta.c | 1422 return mvneta_txq_desc_csum(skb_network_offset(skb), in mvneta_skb_tx_csum()
|
D | mvpp2.c | 4978 return mvpp2_txq_desc_csum(skb_network_offset(skb), in mvpp2_skb_tx_csum()
|
/linux-4.1.27/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 2247 if (skb_network_offset(skb) != ETH_HLEN) in atl1c_xmit_frame()
|
/linux-4.1.27/drivers/isdn/i4l/ |
D | isdn_net.c | 1123 const int pullsize = skb_network_offset(skb) - ETH_HLEN; in isdn_net_adjust_hdr()
|
/linux-4.1.27/security/smack/ |
D | smack_lsm.c | 3570 offset = skb_network_offset(skb); in smk_skb_to_addr_ipv6()
|
/linux-4.1.27/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.1.27/drivers/net/ethernet/chelsio/cxgb3/ |
D | sge.c | 1162 eth_type = skb_network_offset(skb) == ETH_HLEN ? in write_tx_pkt_wr()
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 4704 vlan_macip_lens |= skb_network_offset(skb) << E1000_ADVTXD_MACLEN_SHIFT; in igb_tso() 4772 vlan_macip_lens |= skb_network_offset(skb) << E1000_ADVTXD_MACLEN_SHIFT; in igb_tx_csum()
|
/linux-4.1.27/drivers/net/ethernet/ibm/ehea/ |
D | ehea_main.c | 2003 swqe->ip_start = skb_network_offset(skb); in xmit_common()
|
/linux-4.1.27/drivers/net/ethernet/freescale/ |
D | gianfar.c | 2198 fcb->l3os = (u8)(skb_network_offset(skb) - fcb_length); in gfar_tx_checksum()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/ |
D | qla3xxx.c | 2288 mac_iocb_ptr->ip_hdr_off = skb_network_offset(skb); in ql_hw_csum_setup()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | en_netdev.c | 311 int nhoff = skb_network_offset(skb); in mlx4_en_filter_rfs()
|
/linux-4.1.27/drivers/net/bonding/ |
D | bond_main.c | 3101 noff = skb_network_offset(skb); in bond_flow_dissect()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 6835 vlan_macip_lens |= skb_network_offset(skb) << IXGBE_ADVTXD_MACLEN_SHIFT; in ixgbe_tso() 6906 vlan_macip_lens |= skb_network_offset(skb) << IXGBE_ADVTXD_MACLEN_SHIFT; in ixgbe_tx_csum()
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 2743 ipcss = skb_network_offset(skb); in e1000_tso()
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 5224 ipcss = skb_network_offset(skb); in e1000_tso()
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
D | niu.c | 6614 l3off = skb_network_offset(skb) - in niu_compute_tx_flags()
|