Home
last modified time | relevance | path

Searched refs:skb_header_pointer (Results 1 – 25 of 139) sorted by relevance

123456

/kernel/linux/linux-5.10/net/netfilter/ipset/
Dip_set_getport.c33 th = skb_header_pointer(skb, protooff, sizeof(_tcph), &_tcph); in get_port()
45 sh = skb_header_pointer(skb, protooff, sizeof(_sh), &_sh); in get_port()
58 uh = skb_header_pointer(skb, protooff, sizeof(_udph), &_udph); in get_port()
70 ic = skb_header_pointer(skb, protooff, sizeof(_ich), &_ich); in get_port()
81 ic = skb_header_pointer(skb, protooff, sizeof(_ich), &_ich); in get_port()
/kernel/linux/linux-5.10/net/ipv6/
Dexthdrs_core.c85 hp = skb_header_pointer(skb, start, sizeof(_hdr), &_hdr); in ipv6_skip_exthdr()
90 fp = skb_header_pointer(skb, in ipv6_skip_exthdr()
199 ip6 = skb_header_pointer(skb, *offset, sizeof(_ip6), &_ip6); in ipv6_find_hdr()
217 hp = skb_header_pointer(skb, start, sizeof(_hdr), &_hdr); in ipv6_find_hdr()
224 rh = skb_header_pointer(skb, start, sizeof(_rh), in ipv6_find_hdr()
240 fp = skb_header_pointer(skb, in ipv6_find_hdr()
/kernel/linux/linux-5.10/net/bridge/netfilter/
Debt_arp.c26 ah = skb_header_pointer(skb, 0, sizeof(_arph), &_arph); in ebt_arp_mt()
45 sap = skb_header_pointer(skb, sizeof(struct arphdr) + in ebt_arp_mt()
50 dap = skb_header_pointer(skb, sizeof(struct arphdr) + in ebt_arp_mt()
75 mp = skb_header_pointer(skb, sizeof(struct arphdr), in ebt_arp_mt()
86 mp = skb_header_pointer(skb, sizeof(struct arphdr) + in ebt_arp_mt()
Debt_arpreply.c30 ap = skb_header_pointer(skb, 0, sizeof(_ah), &_ah); in ebt_arpreply_tg()
40 shp = skb_header_pointer(skb, sizeof(_ah), ETH_ALEN, &_sha); in ebt_arpreply_tg()
44 siptr = skb_header_pointer(skb, sizeof(_ah) + ETH_ALEN, in ebt_arpreply_tg()
49 diptr = skb_header_pointer(skb, in ebt_arpreply_tg()
Debt_among.c77 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph); in get_ip_dst()
87 ah = skb_header_pointer(skb, 0, sizeof(_arph), &_arph); in get_ip_dst()
92 bp = skb_header_pointer(skb, sizeof(struct arphdr) + in get_ip_dst()
108 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph); in get_ip_src()
118 ah = skb_header_pointer(skb, 0, sizeof(_arph), &_arph); in get_ip_src()
123 bp = skb_header_pointer(skb, sizeof(struct arphdr) + in get_ip_src()
Debt_log.c63 pptr = skb_header_pointer(skb, offset, in print_ports()
102 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph); in ebt_log_packet()
122 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph); in ebt_log_packet()
144 ah = skb_header_pointer(skb, 0, sizeof(_arph), &_arph); in ebt_log_packet()
162 ap = skb_header_pointer(skb, sizeof(_arph), in ebt_log_packet()
/kernel/linux/linux-5.10/net/ipv6/netfilter/
Dnf_socket_ipv6.c37 icmph = skb_header_pointer(skb, outside_hdrlen, in extract_icmp6_fields()
45 inside_iph = skb_header_pointer(skb, outside_hdrlen + sizeof(_icmph), in extract_icmp6_fields()
61 ports = skb_header_pointer(skb, inside_hdrlen, in extract_icmp6_fields()
117 hp = skb_header_pointer(skb, thoff, tproto == IPPROTO_UDP ? in nf_sk_lookup_slow_v6()
Dip6t_rt.c51 rh = skb_header_pointer(skb, ptr, sizeof(_route), &_route); in rt_mt6()
76 rp = skb_header_pointer(skb, in rt_mt6()
100 ap = skb_header_pointer(skb, in rt_mt6()
127 ap = skb_header_pointer(skb, in rt_mt6()
Dnf_log_ipv6.c54 ih = skb_header_pointer(skb, ip6hoff, sizeof(_ip6h), &_ip6h); in dump_ipv6_packet()
77 hp = skb_header_pointer(skb, ptr, sizeof(_hdr), &_hdr); in dump_ipv6_packet()
93 fh = skb_header_pointer(skb, ptr, sizeof(_fhdr), in dump_ipv6_packet()
141 ah = skb_header_pointer(skb, ptr, sizeof(_ahdr), in dump_ipv6_packet()
176 eh = skb_header_pointer(skb, ptr, sizeof(_esph), in dump_ipv6_packet()
223 ic = skb_header_pointer(skb, ptr, sizeof(_icmp6h), &_icmp6h); in dump_ipv6_packet()
Dip6t_srh.c33 srh = skb_header_pointer(skb, srhoff, sizeof(_srh), &_srh); in srh_mt6()
127 srh = skb_header_pointer(skb, srhoff, sizeof(_srh), &_srh); in srh1_mt6()
208 psid = skb_header_pointer(skb, psidoff, sizeof(_psid), &_psid); in srh1_mt6()
223 nsid = skb_header_pointer(skb, nsidoff, sizeof(_nsid), &_nsid); in srh1_mt6()
235 lsid = skb_header_pointer(skb, lsidoff, sizeof(_lsid), &_lsid); in srh1_mt6()
Dip6t_hbh.c69 oh = skb_header_pointer(skb, ptr, sizeof(_optsh), &_optsh); in hbh_mt6()
104 tp = skb_header_pointer(skb, ptr, sizeof(_opttype), in hbh_mt6()
124 lp = skb_header_pointer(skb, ptr + 1, in hbh_mt6()
Dnf_tproxy_ipv6.c48 hp = skb_header_pointer(skb, thoff, sizeof(_hdr), &_hdr); in nf_tproxy_handle_time_wait6()
89 hp = skb_header_pointer(skb, thoff, in nf_tproxy_get_sock_v6()
/kernel/linux/linux-5.10/net/ipv4/netfilter/
Dnf_socket_ipv4.c29 icmph = skb_header_pointer(skb, outside_hdrlen, in extract_icmp4_fields()
37 inside_iph = skb_header_pointer(skb, outside_hdrlen + in extract_icmp4_fields()
47 ports = skb_header_pointer(skb, outside_hdrlen + in extract_icmp4_fields()
102 hp = skb_header_pointer(skb, ip_hdrlen(skb), in nf_sk_lookup_slow_v4()
Dnf_log_ipv4.c48 ih = skb_header_pointer(skb, iphoff, sizeof(_iph), &_iph); in dump_ipv4_packet()
83 op = skb_header_pointer(skb, iphoff+sizeof(_iph), in dump_ipv4_packet()
139 ich = skb_header_pointer(skb, iphoff + ih->ihl * 4, in dump_ipv4_packet()
209 ah = skb_header_pointer(skb, iphoff+ih->ihl*4, in dump_ipv4_packet()
232 eh = skb_header_pointer(skb, iphoff+ih->ihl*4, in dump_ipv4_packet()
Dnf_log_arp.c52 ah = skb_header_pointer(skb, 0, sizeof(_arph), &_arph); in dump_arp_packet()
82 ap = skb_header_pointer(skb, sizeof(_arph), sizeof(_arpp), &_arpp); in dump_arp_packet()
Dnf_tproxy_ipv4.c25 hp = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_hdr), &_hdr); in nf_tproxy_handle_time_wait4()
88 hp = skb_header_pointer(skb, ip_hdrlen(skb), in nf_tproxy_get_sock_v4()
/kernel/linux/linux-5.10/net/netfilter/
Dxt_l2tp.c95 lh = skb_header_pointer(skb, offs, 2, &lhbuf); in l2tp_udp_mt()
113 lh = skb_header_pointer(skb, offs + 4, 4, &lhbuf); in l2tp_udp_mt()
123 lh = skb_header_pointer(skb, offs + 2, 4, &lhbuf); in l2tp_udp_mt()
147 lh = skb_header_pointer(skb, thoff, sizeof(lhbuf), &lhbuf); in l2tp_ip_mt()
155 lh = skb_header_pointer(skb, thoff + 8, sizeof(lhbuf), in l2tp_ip_mt()
Dxt_tcpmss.c36 th = skb_header_pointer(skb, par->thoff, sizeof(_tcph), &_tcph); in tcpmss_mt()
49 op = skb_header_pointer(skb, par->thoff + sizeof(*th), optlen, _opt); in tcpmss_mt()
Dxt_tcpudp.c50 op = skb_header_pointer(skb, protoff + sizeof(struct tcphdr), in tcp_find_option()
87 th = skb_header_pointer(skb, par->thoff, sizeof(_tcph), &_tcph); in tcp_mt()
139 uh = skb_header_pointer(skb, par->thoff, sizeof(_udph), &_udph); in udp_mt()
Dnf_log_common.c37 uh = skb_header_pointer(skb, offset, sizeof(_udph), &_udph); in nf_log_dump_udp_header()
67 th = skb_header_pointer(skb, offset, sizeof(_tcph), &_tcph); in nf_log_dump_tcp_header()
113 op = skb_header_pointer(skb, offset + sizeof(struct tcphdr), in nf_log_dump_tcp_header()
Dxt_AUDIT.c36 ih = skb_header_pointer(skb, skb_network_offset(skb), sizeof(_iph), &_iph); in audit_ip4()
53 ih = skb_header_pointer(skb, skb_network_offset(skb), sizeof(_ip6h), &_ip6h); in audit_ip6()
Dxt_HMARK.c153 icmp6h = skb_header_pointer(skb, *offset, sizeof(_ih6), &_ih6); in get_inner6_hdr()
183 ip6 = skb_header_pointer(skb, nhoff, sizeof(_ip6), &_ip6); in hmark_pkt_set_htuple_ipv6()
237 icmph = skb_header_pointer(skb, *nhoff + iphsz, sizeof(_ih), &_ih); in get_inner_hdr()
260 ip = skb_header_pointer(skb, nhoff, sizeof(_ip), &_ip); in hmark_pkt_set_htuple_ipv4()
Dxt_dccp.c53 op = skb_header_pointer(skb, protoff + optoff, optlen, dccp_optbuf); in dccp_find_option()
105 dh = skb_header_pointer(skb, par->thoff, sizeof(_dh), &_dh); in dccp_mt()
/kernel/linux/linux-5.10/net/netfilter/ipvs/
Dip_vs_proto.c223 ih = skb_header_pointer(skb, offset, sizeof(_iph), &_iph); in ip_vs_tcpudp_debug_packet_v4()
231 pptr = skb_header_pointer(skb, offset + ih->ihl*4, in ip_vs_tcpudp_debug_packet_v4()
255 ih = skb_header_pointer(skb, offset, sizeof(_iph), &_iph); in ip_vs_tcpudp_debug_packet_v6()
263 pptr = skb_header_pointer(skb, offset + sizeof(struct ipv6hdr), in ip_vs_tcpudp_debug_packet_v6()
/kernel/linux/linux-5.10/include/net/netfilter/
Dnf_queue.h89 iph = skb_header_pointer(skb, skb_network_offset(skb), in hash_bridge()
95 ip6h = skb_header_pointer(skb, skb_network_offset(skb), in hash_bridge()

123456