/kernel/linux/linux-5.10/net/batman-adv/ |
H A D | multicast.c | 997 struct iphdr *iphdr; in batadv_mcast_forw_mode_check_ipv4() local 1000 if (!pskb_may_pull(skb, sizeof(struct ethhdr) + sizeof(*iphdr))) in batadv_mcast_forw_mode_check_ipv4() 1006 iphdr = ip_hdr(skb); in batadv_mcast_forw_mode_check_ipv4() 1011 if (ipv4_is_local_multicast(iphdr->daddr)) in batadv_mcast_forw_mode_check_ipv4()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_filter.c | 451 tp_offset = sizeof(struct iphdr); in qede_rx_flow_steer() 1404 size += sizeof(struct iphdr); in qede_flow_get_min_header_size() 1430 __be16 *ports = (__be16 *)(header + ETH_HLEN + sizeof(struct iphdr)); in qede_flow_build_ipv4_hdr() 1431 struct iphdr *ip = (struct iphdr *)(header + ETH_HLEN); in qede_flow_build_ipv4_hdr()
|
/kernel/linux/linux-6.6/net/sched/ |
H A D | act_ct.c | 97 offsetof(struct iphdr, saddr), in tcf_ct_flow_table_add_action_nat_ipv4() 102 offsetof(struct iphdr, daddr), in tcf_ct_flow_table_add_action_nat_ipv4() 511 struct iphdr *iph; in tcf_ct_flow_table_fill_tuple_ipv4() 522 unlikely(thoff != sizeof(struct iphdr))) in tcf_ct_flow_table_fill_tuple_ipv4() 802 len = skb_network_offset(skb) + sizeof(struct iphdr); in tcf_ct_ipv4_is_fragment()
|
H A D | act_connmark.c | 51 if (skb->len < sizeof(struct iphdr)) in tcf_connmark_act()
|
H A D | em_ipt.c | 217 if (!pskb_network_may_pull(skb, sizeof(struct iphdr))) in em_ipt_match()
|
/kernel/linux/linux-5.10/drivers/net/vxlan/ |
H A D | vxlan_core.c | 1814 &((struct iphdr *)oiph)->saddr, in vxlan_ecn_decapsulate() 1815 ((struct iphdr *)oiph)->tos); in vxlan_ecn_decapsulate() 2159 const struct ipv6hdr *iphdr; in neigh_reduce() local 2169 iphdr = ipv6_hdr(skb); in neigh_reduce() 2170 daddr = &iphdr->daddr; in neigh_reduce() 2171 msg = (struct nd_msg *)(iphdr + 1); in neigh_reduce() 2234 struct iphdr *pip; in route_shortcircuit() 2236 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in route_shortcircuit() 2595 const struct iphdr *old_iph = ip_hdr(skb); in vxlan_xmit_one() 2746 err = vxlan_build_skb(skb, ndst, sizeof(struct iphdr), in vxlan_xmit_one() [all...] |
/kernel/linux/linux-6.6/drivers/net/vxlan/ |
H A D | vxlan_core.c | 1651 &((struct iphdr *)oiph)->saddr, in vxlan_ecn_decapsulate() 1652 ((struct iphdr *)oiph)->tos); in vxlan_ecn_decapsulate() 2006 const struct ipv6hdr *iphdr; in neigh_reduce() local 2016 iphdr = ipv6_hdr(skb); in neigh_reduce() 2017 daddr = &iphdr->daddr; in neigh_reduce() 2018 msg = (struct nd_msg *)(iphdr + 1); in neigh_reduce() 2083 struct iphdr *pip; in route_shortcircuit() 2085 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in route_shortcircuit() 2422 const struct iphdr *old_iph = ip_hdr(skb); in vxlan_xmit_one() 2582 err = vxlan_build_skb(skb, ndst, sizeof(struct iphdr), in vxlan_xmit_one() [all...] |
/kernel/linux/linux-5.10/net/sched/ |
H A D | em_ipt.c | 217 if (!pskb_network_may_pull(skb, sizeof(struct iphdr))) in em_ipt_match()
|
H A D | act_connmark.c | 48 if (skb->len < sizeof(struct iphdr)) in tcf_connmark_act()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nft_tproxy.c | 27 const struct iphdr *iph = ip_hdr(skb); in nft_tproxy_eval_v4()
|
H A D | xt_l2tp.c | 172 struct iphdr *iph = ip_hdr(skb); in l2tp_mt4()
|
H A D | xt_TCPMSS.c | 198 struct iphdr *iph = ip_hdr(skb); in tcpmss_tg4()
|
H A D | xt_TPROXY.c | 39 const struct iphdr *iph = ip_hdr(skb); in tproxy_tg4()
|
H A D | nf_queue.c | 143 const struct iphdr *iph = ip_hdr(skb); in nf_ip_saveroute()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | inet_hashtables.h | 374 const struct iphdr *iph = ip_hdr(skb); in __inet_lookup_skb()
|
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
H A D | ip_vs_proto.c | 221 struct iphdr _iph, *ih; in ip_vs_tcpudp_debug_packet_v4()
|
/kernel/linux/linux-6.6/include/net/ |
H A D | dst_metadata.h | 222 const struct iphdr *iph = ip_hdr(skb); in ip_tun_rx_dst()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_queue.c | 133 const struct iphdr *iph = ip_hdr(skb); in nf_ip_saveroute()
|
H A D | xt_l2tp.c | 172 struct iphdr *iph = ip_hdr(skb); in l2tp_mt4()
|
H A D | nft_tproxy.c | 27 const struct iphdr *iph = ip_hdr(skb); in nft_tproxy_eval_v4()
|
H A D | xt_TCPMSS.c | 198 struct iphdr *iph = ip_hdr(skb); in tcpmss_tg4()
|
H A D | xt_TPROXY.c | 39 const struct iphdr *iph = ip_hdr(skb); in tproxy_tg4()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_tc_dtime.c | 145 struct iphdr *iph; in skb_get_type()
|
/kernel/linux/linux-6.6/net/netfilter/ipvs/ |
H A D | ip_vs_proto.c | 221 struct iphdr _iph, *ih; in ip_vs_tcpudp_debug_packet_v4()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A D | chtls_cm.c | 967 iphdrsz = sizeof(struct iphdr) + sizeof(struct tcphdr); in chtls_select_mss() 1118 const struct iphdr *iph; in chtls_recv_sock() 1130 iph = (const struct iphdr *)network_hdr; in chtls_recv_sock() 1302 struct iphdr *iph; in chtls_pass_accept_request() 1343 iph = (struct iphdr *)(eh + 1); in chtls_pass_accept_request() 1348 iph = (struct iphdr *)(vlan_eh + 1); in chtls_pass_accept_request()
|