Home
last modified time | relevance | path

Searched refs:skb_network_offset (Results 1 – 95 of 95) sorted by relevance

/linux-4.4.14/net/ipv6/
Dmcast_snoop.c30 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()
Doutput_core.c50 skb_network_offset(skb) + in ipv6_proxy_select_ident()
Dexthdrs_core.c188 unsigned int start = skb_network_offset(skb) + sizeof(struct ipv6hdr); in ipv6_find_hdr()
Dmip6.c158 skb_push(skb, -skb_network_offset(skb)); in mip6_destopt_output()
375 skb_push(skb, -skb_network_offset(skb)); in mip6_rthdr_output()
Dicmp.c232 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()
Dxfrm6_tunnel.c223 skb_push(skb, -skb_network_offset(skb)); in xfrm6_tunnel_output()
Desp6.c229 skb_push(skb, -skb_network_offset(skb)); in esp6_output()
Dah6.c361 skb_push(skb, -skb_network_offset(skb)); in ah6_output()
Dip6mr.c1138 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()
Dip6_output.c1639 __skb_pull(skb, skb_network_offset(skb)); in __ip6_make_skb()
/linux-4.4.14/net/netfilter/ipset/
Dip_set_getport.c101 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/
Dxt_AUDIT.c104 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()
Dnf_tables_netdev.c28 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()
Dxt_HMARK.c175 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()
Dnft_payload.c92 offset = skb_network_offset(skb); in nft_payload_eval()
Dxt_connlimit.c334 } else if (!nf_ct_get_tuplepr(skb, skb_network_offset(skb), in connlimit_mt()
Dnf_conntrack_core.c1037 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/
Dxfrm4_tunnel.c17 skb_push(skb, -skb_network_offset(skb)); in ipip_output()
Dip_fragment.c362 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()
Dicmp.c695 icmp_param->offset = skb_network_offset(skb_in); in icmp_send()
993 nh = skb_network_offset(skb); in icmp_rcv()
Dah4.c170 skb_push(skb, -skb_network_offset(skb)); in ah_output()
Desp4.c202 skb_push(skb, -skb_network_offset(skb)); in esp_output()
Digmp.c1366 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()
Dip_output.c1370 __skb_pull(skb, skb_network_offset(skb)); in __ip_make_skb()
/linux-4.4.14/net/ax25/
Dax25_out.c163 skb_network_offset(skb)); in ax25_output()
177 skb_network_offset(skb)); in ax25_output()
/linux-4.4.14/net/sched/
Dact_csum.c104 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()
Dem_ipset.c88 network_offset = skb_network_offset(skb); in em_ipset_match()
Dact_connmark.c70 if (!nf_ct_get_tuplepr(skb, skb_network_offset(skb), in tcf_connmark()
Dact_pedit.c117 off = skb_network_offset(skb); in tcf_pedit()
Dact_nat.c117 noff = skb_network_offset(skb); in tcf_nat()
Dsch_teql.c336 __skb_pull(skb, skb_network_offset(skb)); in teql_master_xmit()
Dsch_atm.c477 skb_pull(skb, skb_network_offset(skb)); in sch_atm_dequeue()
Dcls_u32.c113 unsigned int off = skb_network_offset(skb); in u32_classify()
/linux-4.4.14/net/core/
Dtso.c20 int mac_hdr_len = skb_network_offset(skb); in tso_build_hdr()
Dflow_dissector.c139 nhoff = skb_network_offset(skb); in __skb_flow_dissect()
Dneighbour.c1304 __skb_pull(skb, skb_network_offset(skb)); in neigh_resolve_output()
1333 __skb_pull(skb, skb_network_offset(skb)); in neigh_connected_output()
Dskbuff.c4373 if (skb_network_offset(skb) < ETH_HLEN) in __skb_vlan_pop()
Ddev.c2960 __skb_pull(skb, skb_network_offset(skb)); in dev_loopback_xmit()
/linux-4.4.14/net/openvswitch/
Dflow.c193 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()
Dactions.c395 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()
Dconntrack.c365 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/
Dnet.h50 __entry->network_offset = skb_network_offset(skb);
/linux-4.4.14/net/xfrm/
Dxfrm_ipcomp.c198 skb_push(skb, -skb_network_offset(skb)); in ipcomp_output()
/linux-4.4.14/net/ipv6/netfilter/
Dnf_log_ipv6.c368 dump_ipv6_packet(m, loginfo, skb, skb_network_offset(skb), 1); in nf_log_ip6_packet()
Dnf_conntrack_proto_icmpv6.c160 skb_network_offset(skb) in icmpv6_error_message()
Dnf_nat_l3proto_ipv6.c142 skb_network_offset(skb) + in nf_nat_ipv6_csum_recalc()
Dnf_conntrack_reasm.c521 const int netoff = skb_network_offset(skb); in find_prev_fhdr()
/linux-4.4.14/security/
Dlsm_audit.c127 offset = skb_network_offset(skb); in ipv6_skb_to_auditdata()
/linux-4.4.14/net/ipv4/netfilter/
Dnf_conntrack_proto_icmp.c145 skb_network_offset(skb) + ip_hdrlen(skb) in icmp_error_message()
Dnf_conntrack_l3proto_ipv4.c118 return helper->help(skb, skb_network_offset(skb) + ip_hdrlen(skb), in ipv4_helper()
Dnf_nat_l3proto_ipv4.c138 skb_network_offset(skb) + in nf_nat_ipv4_csum_recalc()
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/
Dnetdev.c1957 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/
Dpasemi_mac.c1396 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/
Dtilegx.c1745 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/
Daf_packet.c2012 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/
Dmrp.c779 int offset = skb_network_offset(skb); in mrp_rcv()
/linux-4.4.14/drivers/net/
Dvrf.c331 __skb_pull(skb, skb_network_offset(skb)); in is_ip_tx_frame()
Dvxlan.c1413 __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/
Dsge.c1119 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/
Dskbuff.h2122 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()
Dieee80211.h2489 skb->len > (skb_network_offset(skb) + 2)) { in ieee80211_get_tdls_action()
Dnetdevice.h2305 skb_network_offset(skb); in skb_gro_network_header()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c447 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/
Dtx.c287 skb_set_network_header(skb, skb_network_offset(skb) + extra); in wl1271_tx_fill_hdr()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_fcoe.c1288 maclen = skb_network_offset(skb); in i40e_fcoe_tx_map()
Di40e_txrx.c2393 *td_offset |= (skb_network_offset(skb) >> 1) << in i40e_tx_enable_csum()
/linux-4.4.14/net/mac80211/
Dwpa.c668 skb_set_network_header(skb, skb_network_offset(skb) + in gcmp_encrypt_skb()
Dtdls.c1454 tf = container_of(skb->data + skb_network_offset(skb), in ieee80211_tdls_find_sw_timing_ie()
/linux-4.4.14/include/net/
Dip_vs.h144 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/
Dnicvf_queues.c998 hdr->l3_offset = skb_network_offset(skb); in nicvf_sq_add_hdr_subdesc()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c1069 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/
Dixgbevf_main.c3339 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/
Di40e_txrx.c1598 *td_offset |= (skb_network_offset(skb) >> 1) << in i40e_tx_enable_csum()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/
Dsge.c1802 eth_type = skb_network_offset(skb) == ETH_HLEN ? in t1_start_xmit()
/linux-4.4.14/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c1242 ipcss = skb_network_offset(skb); in ixgb_tso()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlge/
Dqlge_main.c2588 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/
Datl1e_main.c1908 if (skb_network_offset(skb) != ETH_HLEN) in atl1e_xmit_frame()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c6993 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/
Dhooks.c3761 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/
Datl1c_main.c2256 if (skb_network_offset(skb) != ETH_HLEN) in atl1c_xmit_frame()
/linux-4.4.14/drivers/isdn/i4l/
Disdn_net.c1123 const int pullsize = skb_network_offset(skb) - ETH_HLEN; in isdn_net_adjust_hdr()
/linux-4.4.14/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c1941 first_desc->ip_hdr_offset += skb_network_offset(skb); in netxen_tso_check()
/linux-4.4.14/drivers/net/ethernet/marvell/
Dmvneta.c1480 return mvneta_txq_desc_csum(skb_network_offset(skb), in mvneta_skb_tx_csum()
Dmvpp2.c5053 return mvpp2_txq_desc_csum(skb_network_offset(skb), in mvpp2_skb_tx_csum()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c1162 eth_type = skb_network_offset(skb) == ETH_HLEN ? in write_tx_pkt_wr()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb_main.c4700 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/
Den_netdev.c311 int nhoff = skb_network_offset(skb); in mlx4_en_filter_rfs()
/linux-4.4.14/drivers/net/ethernet/qlogic/
Dqla3xxx.c2286 mac_iocb_ptr->ip_hdr_off = skb_network_offset(skb); in ql_hw_csum_setup()
/linux-4.4.14/security/smack/
Dsmack_lsm.c3878 offset = skb_network_offset(skb); in smk_skb_to_addr_ipv6()
/linux-4.4.14/drivers/net/ethernet/ibm/ehea/
Dehea_main.c2003 swqe->ip_start = skb_network_offset(skb); in xmit_common()
/linux-4.4.14/drivers/net/bonding/
Dbond_main.c3112 noff = skb_network_offset(skb); in bond_flow_dissect()
/linux-4.4.14/drivers/net/ethernet/freescale/
Dgianfar.c2272 fcb->l3os = (u8)(skb_network_offset(skb) - fcb_length); in gfar_tx_checksum()
/linux-4.4.14/drivers/net/ethernet/intel/e1000/
De1000_main.c2738 ipcss = skb_network_offset(skb); in e1000_tso()
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
Dnetdev.c5373 ipcss = skb_network_offset(skb); in e1000_tso()
/linux-4.4.14/drivers/net/ethernet/sun/
Dniu.c6614 l3off = skb_network_offset(skb) - in niu_compute_tx_flags()