Home
last modified time | relevance | path

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

123456

/openbmc/linux/net/netfilter/ipset/
H A 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()
/openbmc/linux/net/ipv6/
H A 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()
201 ip6 = skb_header_pointer(skb, *offset, sizeof(_ip6), &_ip6); in ipv6_find_hdr()
219 hp = skb_header_pointer(skb, start, sizeof(_hdr), &_hdr); in ipv6_find_hdr()
226 rh = skb_header_pointer(skb, start, sizeof(_rh), in ipv6_find_hdr()
242 fp = skb_header_pointer(skb, in ipv6_find_hdr()
/openbmc/linux/net/bridge/netfilter/
H A 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()
H A 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()
H A 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()
H A 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()
/openbmc/linux/net/netfilter/
H A 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()
199 th = skb_header_pointer(skb, offset, sizeof(_tcph), &_tcph); in nf_log_dump_tcp_header()
245 op = skb_header_pointer(skb, offset + sizeof(struct tcphdr), in nf_log_dump_tcp_header()
282 uh = skb_header_pointer(skb, offset, sizeof(_udph), &_udph); in nf_log_dump_udp_header()
312 ih = skb_header_pointer(skb, iphoff, sizeof(_iph), &_iph); in dump_ipv4_packet()
348 op = skb_header_pointer(skb, iphoff + sizeof(_iph), in dump_ipv4_packet()
399 ich = skb_header_pointer(skb, iphoff + ih->ihl * 4, in dump_ipv4_packet()
469 ah = skb_header_pointer(skb, iphoff + ih->ihl * 4, in dump_ipv4_packet()
492 eh = skb_header_pointer(skb, iphoff + ih->ihl * 4, in dump_ipv4_packet()
[all …]
H A 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()
H A Dnft_inner.c63 eth = skb_header_pointer(pkt->skb, off, sizeof(_eth), &_eth); in nft_inner_parse_l2l3()
74 veth = skb_header_pointer(pkt->skb, off, sizeof(_veth), &_veth); in nft_inner_parse_l2l3()
93 iph = skb_header_pointer(pkt->skb, off, sizeof(_version), &_version); in nft_inner_parse_l2l3()
119 iph = skb_header_pointer(pkt->skb, nhoff, sizeof(_iph), &_iph); in nft_inner_parse_l2l3()
143 ip6h = skb_header_pointer(pkt->skb, nhoff, sizeof(_ip6h), &_ip6h); in nft_inner_parse_l2l3()
194 gnvh = skb_header_pointer(pkt->skb, pkt->inneroff, in nft_inner_parse_tunhdr()
H A Dxt_tcpudp.c53 op = skb_header_pointer(skb, protoff + sizeof(struct tcphdr), in tcp_find_option()
90 th = skb_header_pointer(skb, par->thoff, sizeof(_tcph), &_tcph); in tcp_mt()
142 uh = skb_header_pointer(skb, par->thoff, sizeof(_udph), &_udph); in udp_mt()
199 ic = skb_header_pointer(skb, par->thoff, sizeof(_icmph), &_icmph); in icmp_match()
226 ic = skb_header_pointer(skb, par->thoff, sizeof(_icmph), &_icmph); in icmp6_match()
H A 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()
H A 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()
H A Dnf_conntrack_proto_icmpv6.c39 hp = skb_header_pointer(skb, dataoff, sizeof(_hdr), &_hdr); in icmpv6_pkt_to_tuple()
146 rd_msg = skb_header_pointer(skb, dataoff, sizeof(*rd_msg), &tmp.rd_msg); in nf_conntrack_icmpv6_redirect()
163 nd_opt = skb_header_pointer(skb, dataoff, sizeof(*nd_opt), &tmp.nd_opt); in nf_conntrack_icmpv6_redirect()
192 icmp6h = skb_header_pointer(skb, dataoff, sizeof(_ih), &_ih); in nf_conntrack_icmpv6_error()
H A 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()
H A 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()
/openbmc/linux/net/ipv6/netfilter/
H A 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()
H A 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()
H A 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()
H A 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()
/openbmc/linux/net/ipv4/netfilter/
H A 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()
H A Dnf_tproxy_ipv4.c25 hp = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_hdr), &_hdr); in nf_tproxy_handle_time_wait4()
91 hp = skb_header_pointer(skb, ip_hdrlen(skb), in nf_tproxy_get_sock_v4()
/openbmc/linux/net/netfilter/ipvs/
H A 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()
/openbmc/linux/net/bridge/
H A 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()
H A 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()
/openbmc/linux/include/net/netfilter/
H A 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