/kernel/linux/linux-5.10/drivers/net/usb/ |
H A D | hso.c | 150 struct iphdr rx_ip_hdr; 710 odev->rx_buf_missing = sizeof(struct iphdr); in hso_net_open() 877 (frame_len < sizeof(struct iphdr))) { in packetizeRx() 894 /* Copy what we got so far. make room for iphdr in packetizeRx() 898 sizeof(struct iphdr)); in packetizeRx() 901 odev->rx_buf_size = sizeof(struct iphdr); in packetizeRx() 905 frame_len - sizeof(struct iphdr); in packetizeRx() 942 odev->rx_buf_missing = sizeof(struct iphdr); in packetizeRx() 963 odev->rx_buf_missing = sizeof(struct iphdr); in packetizeRx()
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_cake.c | 876 static struct iphdr *cake_get_iphdr(const struct sk_buff *skb, in cake_get_iphdr() 880 struct iphdr *iph; in cake_get_iphdr() 882 iph = skb_header_pointer(skb, offset, sizeof(struct iphdr), buf); in cake_get_iphdr() 907 const struct iphdr *iph; in cake_get_tcphdr() 917 iph = (struct iphdr *)ipv6h; in cake_get_tcphdr() 1160 const struct iphdr *iph, *iph_check; in cake_ack_filter() 1570 /* ToS is in the second byte of iphdr */ in cake_handle_diffserv() 1571 dscp = ipv4_get_dsfield((struct iphdr *)buf) >> 2; in cake_handle_diffserv() 1574 const int wlen = offset + sizeof(struct iphdr); in cake_handle_diffserv()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/ |
H A D | utils.c | 1424 struct iphdr *iph = (struct iphdr *)buf->iph; in irdma_ieq_get_qp() 1473 struct iphdr *iph; in irdma_puda_ieq_get_ah_info() 1488 iph = (struct iphdr *)buf->iph; in irdma_puda_ieq_get_ah_info() 1519 struct iphdr *iph; in irdma_gen1_ieq_update_tcpip_info() 1525 iph = (struct iphdr *)(addr + buf->maclen); in irdma_gen1_ieq_update_tcpip_info() 1561 struct iphdr *iph; in irdma_gen1_puda_get_tcpip_info() 1579 iph = (struct iphdr *)buf->iph; in irdma_gen1_puda_get_tcpip_info()
|
/kernel/linux/linux-6.6/drivers/net/usb/ |
H A D | hso.c | 150 struct iphdr rx_ip_hdr; 709 odev->rx_buf_missing = sizeof(struct iphdr); in hso_net_open() 876 (frame_len < sizeof(struct iphdr))) { in packetizeRx() 893 /* Copy what we got so far. make room for iphdr in packetizeRx() 897 sizeof(struct iphdr)); in packetizeRx() 900 odev->rx_buf_size = sizeof(struct iphdr); in packetizeRx() 904 frame_len - sizeof(struct iphdr); in packetizeRx() 941 odev->rx_buf_missing = sizeof(struct iphdr); in packetizeRx() 962 odev->rx_buf_missing = sizeof(struct iphdr); in packetizeRx()
|
/kernel/linux/linux-6.6/net/sched/ |
H A D | sch_cake.c | 877 static struct iphdr *cake_get_iphdr(const struct sk_buff *skb, in cake_get_iphdr() 881 struct iphdr *iph; in cake_get_iphdr() 883 iph = skb_header_pointer(skb, offset, sizeof(struct iphdr), buf); in cake_get_iphdr() 908 const struct iphdr *iph; in cake_get_tcphdr() 918 iph = (struct iphdr *)ipv6h; in cake_get_tcphdr() 1161 const struct iphdr *iph, *iph_check; in cake_ack_filter() 1571 /* ToS is in the second byte of iphdr */ in cake_handle_diffserv() 1572 dscp = ipv4_get_dsfield((struct iphdr *)buf) >> 2; in cake_handle_diffserv() 1575 const int wlen = offset + sizeof(struct iphdr); in cake_handle_diffserv()
|
/foundation/communication/dhcp/services/dhcp_client/include/ |
H A D | dhcp_client_def.h | 358 struct iphdr ip;
|
/kernel/linux/linux-5.10/drivers/net/ipvlan/ |
H A D | ipvlan_l3s.c | 51 struct iphdr *ip4h = ip_hdr(skb); in ipvlan_l3_rcv()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nft_rt.c | 33 minlen = sizeof(struct iphdr) + sizeof(struct tcphdr); in get_tcpmss()
|
H A D | nft_fwd_netdev.c | 105 struct iphdr *iph; in nft_fwd_neigh_eval()
|
H A D | nf_conntrack_irc.c | 110 const struct iphdr *iph; in help()
|
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | hbm_kern.h | 113 struct iphdr iph; in hbm_get_pkt_info()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | dst_metadata.h | 167 const struct iphdr *iph = ip_hdr(skb); in ip_tun_rx_dst()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tunnel4.c | 99 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in tunnel4_rcv()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | virtio_net.h | 54 unsigned int nh_min_len = sizeof(struct iphdr); in virtio_net_hdr_to_skb()
|
/kernel/linux/linux-6.6/drivers/net/ipvlan/ |
H A D | ipvlan_l3s.c | 51 struct iphdr *ip4h = ip_hdr(skb); in ipvlan_l3_rcv()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nft_rt.c | 33 minlen = sizeof(struct iphdr) + sizeof(struct tcphdr); in get_tcpmss()
|
H A D | nft_fwd_netdev.c | 108 struct iphdr *iph; in nft_fwd_neigh_eval()
|
H A D | nf_conntrack_irc.c | 111 const struct iphdr *iph; in help()
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | hbm_kern.h | 111 struct iphdr iph; in hbm_get_pkt_info()
|
/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()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tunnel4.c | 99 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in tunnel4_rcv()
|
/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()
|