/kernel/linux/linux-6.6/net/ipv6/ |
H A D | tunnel6.c | 189 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in tunnel46_rcv()
|
H A D | fou6.c | 110 switch (((struct iphdr *)guehdr)->version) { in gue6_err()
|
H A D | seg6_local.c | 958 struct iphdr *iph; in input_action_end_dx4_finish() 985 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in input_action_end_dx4() 989 skb_set_transport_header(skb, sizeof(struct iphdr)); in input_action_end_dx4() 1143 hdrlen = sizeof(struct iphdr); in end_dt_vrf_core() 1177 struct iphdr *iph; in input_action_end_dt4() 1183 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in input_action_end_dt4()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_conntrack_irc.c | 111 const struct iphdr *iph; in help()
|
H A D | nf_flow_table_offload.c | 340 offset = offsetof(struct iphdr, saddr); in flow_offload_ipv4_snat() 344 offset = offsetof(struct iphdr, daddr); in flow_offload_ipv4_snat() 367 offset = offsetof(struct iphdr, daddr); in flow_offload_ipv4_dnat() 371 offset = offsetof(struct iphdr, saddr); in flow_offload_ipv4_dnat()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tunnel4.c | 99 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in tunnel4_rcv()
|
H A D | fou_core.c | 147 switch (((struct iphdr *)guehdr)->version) { in gue_udp_recv() 336 switch (((struct iphdr *)guehdr)->version) { in gue_gro_receive() 463 switch (((struct iphdr *)guehdr)->version) { in gue_gro_complete() 1101 switch (((struct iphdr *)guehdr)->version) { in gue_err()
|
/kernel/linux/linux-5.10/net/bridge/ |
H A D | br_netfilter_hooks.c | 198 const struct iphdr *iph; in br_validate_ipv4() 201 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in br_validate_ipv4() 355 struct iphdr *iph = ip_hdr(skb); in br_nf_pre_routing_finish() 710 struct iphdr *iph = ip_hdr(skb); in br_nf_ip_fragment()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | fou.c | 145 switch (((struct iphdr *)guehdr)->version) { in gue_udp_recv() 343 switch (((struct iphdr *)guehdr)->version) { in gue_gro_receive() 473 switch (((struct iphdr *)guehdr)->version) { in gue_gro_complete() 1147 switch (((struct iphdr *)guehdr)->version) { in gue_err()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nf_flow_table_offload.c | 262 offset = offsetof(struct iphdr, saddr); in flow_offload_ipv4_snat() 266 offset = offsetof(struct iphdr, daddr); in flow_offload_ipv4_snat() 289 offset = offsetof(struct iphdr, daddr); in flow_offload_ipv4_dnat() 293 offset = offsetof(struct iphdr, saddr); in flow_offload_ipv4_dnat()
|
/kernel/linux/linux-6.6/net/bridge/ |
H A D | br_netfilter_hooks.c | 202 const struct iphdr *iph; in br_validate_ipv4() 205 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in br_validate_ipv4() 369 struct iphdr *iph = ip_hdr(skb); in br_nf_pre_routing_finish() 818 struct iphdr *iph = ip_hdr(skb); in br_nf_ip_fragment()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/ |
H A D | ibmveth.c | 1217 struct iphdr *iph = (struct iphdr *)skb->data; in ibmveth_rx_mss_helper() 1259 struct iphdr *iph = NULL; in ibmveth_rx_csum_helper() 1269 iph = (struct iphdr *)skb->data; in ibmveth_rx_csum_helper() 1387 struct iphdr *iph = (struct iphdr *)skb->data; in ibmveth_poll()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_selftests.c | 29 #define STMMAC_TEST_PKT_SIZE (sizeof(struct ethhdr) + sizeof(struct iphdr) + \ 67 struct iphdr *ihdr; in stmmac_test_get_udp_skb() 258 struct iphdr *ihdr; in stmmac_test_loopback_validate() 284 ihdr = (struct iphdr *)(skb_network_header(skb) + 4); in stmmac_test_loopback_validate() 844 struct iphdr *ihdr; in stmmac_test_vlan_validate() 874 ihdr = (struct iphdr *)(skb_network_header(skb) + 4); in stmmac_test_vlan_validate()
|
/kernel/linux/linux-5.10/net/openvswitch/ |
H A D | actions.c | 343 static void update_ip_l4_checksum(struct sk_buff *skb, struct iphdr *nh, in update_ip_l4_checksum() 369 static void set_ip_addr(struct sk_buff *skb, struct iphdr *nh, in set_ip_addr() 466 static void set_ip_ttl(struct sk_buff *skb, struct iphdr *nh, u8 new_ttl, in set_ip_ttl() 479 struct iphdr *nh; in set_ipv4() 484 sizeof(struct iphdr)); in set_ipv4() 1249 struct iphdr *nh; in execute_dec_ttl()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/ibm/ |
H A D | ibmveth.c | 1223 struct iphdr *iph = (struct iphdr *)skb->data; in ibmveth_rx_mss_helper() 1265 struct iphdr *iph = NULL; in ibmveth_rx_csum_helper() 1275 iph = (struct iphdr *)skb->data; in ibmveth_rx_csum_helper() 1397 struct iphdr *iph = (struct iphdr *)skb->data; in ibmveth_poll()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_selftests.c | 29 #define STMMAC_TEST_PKT_SIZE (sizeof(struct ethhdr) + sizeof(struct iphdr) + \ 67 struct iphdr *ihdr; in stmmac_test_get_udp_skb() 258 struct iphdr *ihdr; in stmmac_test_loopback_validate() 284 ihdr = (struct iphdr *)(skb_network_header(skb) + 4); in stmmac_test_loopback_validate() 844 struct iphdr *ihdr; in stmmac_test_vlan_validate() 874 ihdr = (struct iphdr *)(skb_network_header(skb) + 4); in stmmac_test_vlan_validate()
|
/kernel/linux/linux-6.6/net/openvswitch/ |
H A D | actions.c | 346 static void update_ip_l4_checksum(struct sk_buff *skb, struct iphdr *nh, in update_ip_l4_checksum() 372 static void set_ip_addr(struct sk_buff *skb, struct iphdr *nh, in set_ip_addr() 469 static void set_ip_ttl(struct sk_buff *skb, struct iphdr *nh, u8 new_ttl, in set_ip_ttl() 482 struct iphdr *nh; in set_ipv4() 487 sizeof(struct iphdr)); in set_ipv4() 1269 struct iphdr *nh; in execute_dec_ttl()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ipsec.c | 561 struct iphdr *ip4 = NULL; in ixgbevf_ipsec_rx() 574 ip4 = (struct iphdr *)(skb->data + ETH_HLEN); in ixgbevf_ipsec_rx()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_tunnel_kern.c | 525 struct iphdr *iph = data; in _ipip_set_tunnel() 571 struct iphdr *iph = data; in _ipip6_set_tunnel()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
H A D | selftest.c | 46 struct iphdr ip; 395 sizeof(struct iphdr)); in efx_iterate_state()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/ |
H A D | selftest.c | 43 struct iphdr ip; 397 sizeof(struct iphdr)); in ef4_iterate_state()
|
/kernel/linux/linux-5.10/drivers/net/wireguard/ |
H A D | receive.c | 376 if (unlikely(!(pskb_network_may_pull(skb, sizeof(struct iphdr)) && in wg_packet_consume_data_done() 394 if (unlikely(len < sizeof(struct iphdr))) in wg_packet_consume_data_done()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/ |
H A D | os_intfs.c | 264 struct iphdr *piphdr; in rtw_recv_select_queue() 274 piphdr = (struct iphdr *)(pdata + ETH_HLEN); in rtw_recv_select_queue()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ipsec.c | 567 struct iphdr *ip4 = NULL; in ixgbevf_ipsec_rx() 580 ip4 = (struct iphdr *)(skb->data + ETH_HLEN); in ixgbevf_ipsec_rx()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe_offload.c | 149 case offsetof(struct iphdr, saddr): in mtk_flow_mangle_ipv4() 152 case offsetof(struct iphdr, daddr): in mtk_flow_mangle_ipv4()
|