Home
last modified time | relevance | path

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

123456

/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/net/netfilter/
Dnf_log_syslog.c70 ah = skb_header_pointer(skb, nhoff, sizeof(_arph), &_arph); in dump_arp_packet()
99 ap = skb_header_pointer(skb, nhoff + sizeof(_arph), sizeof(_arpp), &_arpp); in dump_arp_packet()
198 th = skb_header_pointer(skb, offset, sizeof(_tcph), &_tcph); in nf_log_dump_tcp_header()
244 op = skb_header_pointer(skb, offset + sizeof(struct tcphdr), in nf_log_dump_tcp_header()
281 uh = skb_header_pointer(skb, offset, sizeof(_udph), &_udph); in nf_log_dump_udp_header()
311 ih = skb_header_pointer(skb, iphoff, sizeof(_iph), &_iph); in dump_ipv4_packet()
347 op = skb_header_pointer(skb, iphoff + sizeof(_iph), in dump_ipv4_packet()
398 ich = skb_header_pointer(skb, iphoff + ih->ihl * 4, in dump_ipv4_packet()
468 ah = skb_header_pointer(skb, iphoff + ih->ihl * 4, in dump_ipv4_packet()
491 eh = skb_header_pointer(skb, iphoff + ih->ihl * 4, in dump_ipv4_packet()
[all …]
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()
Dnf_conntrack_sane.c83 th = skb_header_pointer(skb, protoff, sizeof(_tcph), &_tcph); in help()
99 req = skb_header_pointer(skb, dataoff, datalen, &buf.req); in help()
130 reply = skb_header_pointer(skb, dataoff, datalen, &buf.repl); in help()
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()
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_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()
/Linux-v6.1/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()
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()
90 hp = skb_header_pointer(skb, thoff, in nf_tproxy_get_sock_v6()
/Linux-v6.1/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_tproxy_ipv4.c25 hp = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_hdr), &_hdr); in nf_tproxy_handle_time_wait4()
89 hp = skb_header_pointer(skb, ip_hdrlen(skb), in nf_tproxy_get_sock_v4()
/Linux-v6.1/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()
/Linux-v6.1/net/bridge/
Dbr_cfm.c335 e_tlv = skb_header_pointer(skb, index, sizeof(_e_tlv), &_e_tlv); in ccm_tlv_extract()
340 s_tlv = skb_header_pointer(skb, in ccm_tlv_extract()
388 hdr = skb_header_pointer(skb, 0, sizeof(_hdr), &_hdr); in br_cfm_frame_rx()
418 maid = skb_header_pointer(skb, in br_cfm_frame_rx()
429 mepid = skb_header_pointer(skb, in br_cfm_frame_rx()
462 snumber = skb_header_pointer(skb, in br_cfm_frame_rx()
Dbr_mrp.c880 hdr = skb_header_pointer(skb, sizeof(uint16_t), sizeof(_hdr), &_hdr); in br_mrp_ring_frame()
900 hdr = skb_header_pointer(skb, sizeof(uint16_t), sizeof(_hdr), &_hdr); in br_mrp_in_frame()
927 hdr = skb_header_pointer(skb, sizeof(uint16_t), sizeof(_hdr), &_hdr); in br_mrp_mrm_process()
974 hdr = skb_header_pointer(skb, sizeof(uint16_t), sizeof(_hdr), &_hdr); in br_mrp_mra_process()
981 test_hdr = skb_header_pointer(skb, sizeof(uint16_t) + sizeof(_hdr), in br_mrp_mra_process()
1009 hdr = skb_header_pointer(skb, sizeof(uint16_t), sizeof(_hdr), &_hdr); in br_mrp_mim_process()
1014 in_hdr = skb_header_pointer(skb, sizeof(uint16_t) + sizeof(_hdr), in br_mrp_mim_process()
1045 hdr = skb_header_pointer(skb, sizeof(uint16_t), sizeof(_hdr), &_hdr); in br_mrp_get_frame_type()
/Linux-v6.1/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