Home
last modified time | relevance | path

Searched refs:iphdr (Results 426 - 450 of 828) sorted by relevance

1...<<11121314151617181920>>...34

/kernel/linux/linux-5.10/drivers/net/usb/
H A Dhso.c150 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 Dsch_cake.c876 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 Dutils.c1424 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 Dhso.c150 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 Dsch_cake.c877 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 Ddhcp_client_def.h358 struct iphdr ip;
/kernel/linux/linux-5.10/drivers/net/ipvlan/
H A Dipvlan_l3s.c51 struct iphdr *ip4h = ip_hdr(skb); in ipvlan_l3_rcv()
/kernel/linux/linux-5.10/net/netfilter/
H A Dnft_rt.c33 minlen = sizeof(struct iphdr) + sizeof(struct tcphdr); in get_tcpmss()
H A Dnft_fwd_netdev.c105 struct iphdr *iph; in nft_fwd_neigh_eval()
H A Dnf_conntrack_irc.c110 const struct iphdr *iph; in help()
/kernel/linux/linux-5.10/samples/bpf/
H A Dhbm_kern.h113 struct iphdr iph; in hbm_get_pkt_info()
/kernel/linux/linux-5.10/include/net/
H A Ddst_metadata.h167 const struct iphdr *iph = ip_hdr(skb); in ip_tun_rx_dst()
/kernel/linux/linux-5.10/net/ipv4/
H A Dtunnel4.c99 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in tunnel4_rcv()
/kernel/linux/linux-5.10/net/ipv6/
H A Dtunnel6.c189 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in tunnel46_rcv()
H A Dfou6.c110 switch (((struct iphdr *)guehdr)->version) { in gue6_err()
/kernel/linux/linux-6.6/include/linux/
H A Dvirtio_net.h54 unsigned int nh_min_len = sizeof(struct iphdr); in virtio_net_hdr_to_skb()
/kernel/linux/linux-6.6/drivers/net/ipvlan/
H A Dipvlan_l3s.c51 struct iphdr *ip4h = ip_hdr(skb); in ipvlan_l3_rcv()
/kernel/linux/linux-6.6/net/netfilter/
H A Dnft_rt.c33 minlen = sizeof(struct iphdr) + sizeof(struct tcphdr); in get_tcpmss()
H A Dnft_fwd_netdev.c108 struct iphdr *iph; in nft_fwd_neigh_eval()
H A Dnf_conntrack_irc.c111 const struct iphdr *iph; in help()
/kernel/linux/linux-6.6/samples/bpf/
H A Dhbm_kern.h111 struct iphdr iph; in hbm_get_pkt_info()
/kernel/linux/linux-6.6/net/ipv6/
H A Dtunnel6.c189 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in tunnel46_rcv()
H A Dfou6.c110 switch (((struct iphdr *)guehdr)->version) { in gue6_err()
/kernel/linux/linux-6.6/net/ipv4/
H A Dtunnel4.c99 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in tunnel4_rcv()
/kernel/linux/linux-5.10/net/bridge/
H A Dbr_netfilter_hooks.c198 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()

Completed in 28 milliseconds

1...<<11121314151617181920>>...34