Searched refs:iphdr_len (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/net/core/ |
H A D | filter.c | 6523 unsigned int iphdr_len; in BPF_CALL_1() local 6527 iphdr_len = sizeof(struct iphdr); in BPF_CALL_1() 6530 iphdr_len = sizeof(struct ipv6hdr); in BPF_CALL_1() 6536 if (skb_headlen(skb) < iphdr_len) in BPF_CALL_1() 6539 if (skb_cloned(skb) && !skb_clone_writable(skb, iphdr_len)) in BPF_CALL_1()
|
/kernel/linux/linux-6.6/net/core/ |
H A D | filter.c | 7195 unsigned int iphdr_len; in BPF_CALL_1() local 7199 iphdr_len = sizeof(struct iphdr); in BPF_CALL_1() 7202 iphdr_len = sizeof(struct ipv6hdr); in BPF_CALL_1() 7208 if (skb_headlen(skb) < iphdr_len) in BPF_CALL_1() 7211 if (skb_cloned(skb) && !skb_clone_writable(skb, iphdr_len)) in BPF_CALL_1()
|
/kernel/linux/linux-5.10/drivers/net/vxlan/ |
H A D | vxlan_core.c | 2327 int iphdr_len, __be32 vni, in vxlan_build_skb() 2349 + VXLAN_HLEN + iphdr_len; in vxlan_build_skb() 2326 vxlan_build_skb(struct sk_buff *skb, struct dst_entry *dst, int iphdr_len, __be32 vni, struct vxlan_metadata *md, u32 vxflags, bool udp_sum) vxlan_build_skb() argument
|
/kernel/linux/linux-6.6/drivers/net/vxlan/ |
H A D | vxlan_core.c | 2155 int iphdr_len, __be32 vni, in vxlan_build_skb() 2177 + VXLAN_HLEN + iphdr_len; in vxlan_build_skb() 2154 vxlan_build_skb(struct sk_buff *skb, struct dst_entry *dst, int iphdr_len, __be32 vni, struct vxlan_metadata *md, u32 vxflags, bool udp_sum) vxlan_build_skb() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 1429 int iphdr_len, nw_off; in bnxt_gro_func_5750x() local 1437 iphdr_len = (tpa_info->flags2 & RX_TPA_START_CMP_FLAGS2_IP_TYPE) ? in bnxt_gro_func_5750x() 1439 skb_set_transport_header(skb, nw_off + iphdr_len); in bnxt_gro_func_5750x()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 1480 int iphdr_len, nw_off; in bnxt_gro_func_5750x() local 1488 iphdr_len = (tpa_info->flags2 & RX_TPA_START_CMP_FLAGS2_IP_TYPE) ? in bnxt_gro_func_5750x() 1490 skb_set_transport_header(skb, nw_off + iphdr_len); in bnxt_gro_func_5750x()
|
Completed in 68 milliseconds