Home
last modified time | relevance | path

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

1234

/linux-3.4.99/net/core/
Dflow_dissector.c37 iph = skb_header_pointer(skb, nhoff, sizeof(_iph), &_iph); in skb_flow_dissect()
53 iph = skb_header_pointer(skb, nhoff, sizeof(_iph), &_iph); in skb_flow_dissect()
67 vlan = skb_header_pointer(skb, nhoff, sizeof(_vlan), &_vlan); in skb_flow_dissect()
80 hdr = skb_header_pointer(skb, nhoff, sizeof(_hdr), &_hdr); in skb_flow_dissect()
105 hdr = skb_header_pointer(skb, nhoff, sizeof(_hdr), &_hdr); in skb_flow_dissect()
136 ports = skb_header_pointer(skb, nhoff + poff, in skb_flow_dissect()
/linux-3.4.99/net/netfilter/ipset/
Dip_set_getport.c32 th = skb_header_pointer(skb, protooff, sizeof(_tcph), &_tcph); in get_port()
44 sh = skb_header_pointer(skb, protooff, sizeof(_sh), &_sh); in get_port()
57 uh = skb_header_pointer(skb, protooff, sizeof(_udph), &_udph); in get_port()
69 ic = skb_header_pointer(skb, protooff, sizeof(_ich), &_ich); in get_port()
80 ic = skb_header_pointer(skb, protooff, sizeof(_ich), &_ich); in get_port()
/linux-3.4.99/net/bridge/netfilter/
Debt_arpreply.c29 ap = skb_header_pointer(skb, 0, sizeof(_ah), &_ah); in ebt_arpreply_tg()
39 shp = skb_header_pointer(skb, sizeof(_ah), ETH_ALEN, &_sha); in ebt_arpreply_tg()
43 siptr = skb_header_pointer(skb, sizeof(_ah) + ETH_ALEN, in ebt_arpreply_tg()
48 diptr = skb_header_pointer(skb, in ebt_arpreply_tg()
Debt_arp.c25 ah = skb_header_pointer(skb, 0, sizeof(_arph), &_arph); in ebt_arp_mt()
44 sap = skb_header_pointer(skb, sizeof(struct arphdr) + in ebt_arp_mt()
49 dap = skb_header_pointer(skb, sizeof(struct arphdr) + in ebt_arp_mt()
73 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_among.c76 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph); in get_ip_dst()
86 ah = skb_header_pointer(skb, 0, sizeof(_arph), &_arph); in get_ip_dst()
91 bp = skb_header_pointer(skb, sizeof(struct arphdr) + in get_ip_dst()
107 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph); in get_ip_src()
117 ah = skb_header_pointer(skb, 0, sizeof(_arph), &_arph); in get_ip_src()
122 bp = skb_header_pointer(skb, sizeof(struct arphdr) + in get_ip_src()
Debt_log.c64 pptr = skb_header_pointer(skb, offset, in print_ports()
99 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph); in ebt_log_packet()
119 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph); in ebt_log_packet()
141 ah = skb_header_pointer(skb, 0, sizeof(_arph), &_arph); in ebt_log_packet()
158 ap = skb_header_pointer(skb, sizeof(_arph), in ebt_log_packet()
Debt_ip.c36 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph); in ebt_ip_mt()
58 pptr = skb_header_pointer(skb, ih->ihl*4, in ebt_ip_mt()
Debt_ip6.c45 ih6 = skb_header_pointer(skb, 0, sizeof(_ip6h), &_ip6h); in ebt_ip6_mt()
71 pptr = skb_header_pointer(skb, offset_ph, sizeof(_pkthdr), in ebt_ip6_mt()
/linux-3.4.99/net/netfilter/
Dxt_socket.c60 icmph = skb_header_pointer(skb, outside_hdrlen, in extract_icmp4_fields()
76 inside_iph = skb_header_pointer(skb, outside_hdrlen + in extract_icmp4_fields()
86 ports = skb_header_pointer(skb, outside_hdrlen + in extract_icmp4_fields()
120 hp = skb_header_pointer(skb, ip_hdrlen(skb), in socket_match()
220 icmph = skb_header_pointer(skb, outside_hdrlen, in extract_icmp6_fields()
228 …inside_iph = skb_header_pointer(skb, outside_hdrlen + sizeof(_icmph), sizeof(_inside_iph), &_insid… in extract_icmp6_fields()
242 ports = skb_header_pointer(skb, inside_hdrlen, in extract_icmp6_fields()
276 hp = skb_header_pointer(skb, thoff, in socket_mt6_v1()
Dxt_LOG.c58 uh = skb_header_pointer(skb, offset, sizeof(_udph), &_udph); in dump_udp_header()
87 th = skb_header_pointer(skb, offset, sizeof(_tcph), &_tcph); in dump_tcp_header()
130 op = skb_header_pointer(skb, offset + sizeof(struct tcphdr), in dump_tcp_header()
163 ih = skb_header_pointer(skb, iphoff, sizeof(_iph), &_iph); in dump_ipv4_packet()
199 op = skb_header_pointer(skb, iphoff+sizeof(_iph), in dump_ipv4_packet()
255 ich = skb_header_pointer(skb, iphoff + ih->ihl * 4, in dump_ipv4_packet()
323 ah = skb_header_pointer(skb, iphoff+ih->ihl*4, in dump_ipv4_packet()
346 eh = skb_header_pointer(skb, iphoff+ih->ihl*4, in dump_ipv4_packet()
503 ih = skb_header_pointer(skb, ip6hoff, sizeof(_ip6h), &_ip6h); in dump_ipv6_packet()
526 hp = skb_header_pointer(skb, ptr, sizeof(_hdr), &_hdr); in dump_ipv6_packet()
[all …]
Dxt_AUDIT.c44 pptr = skb_header_pointer(skb, offset, sizeof(_ports), _ports); in audit_proto()
60 iptr = skb_header_pointer(skb, offset, sizeof(_ih), &_ih); in audit_proto()
79 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph); in audit_ip4()
104 ih = skb_header_pointer(skb, skb_network_offset(skb), sizeof(_ip6h), &_ip6h); in audit_ip6()
Dxt_tcpmss.c39 th = skb_header_pointer(skb, par->thoff, sizeof(_tcph), &_tcph); in tcpmss_mt()
52 op = skb_header_pointer(skb, par->thoff + sizeof(*th), optlen, _opt); in tcpmss_mt()
Dxt_tcpudp.c49 op = skb_header_pointer(skb, protoff + sizeof(struct tcphdr), in tcp_find_option()
88 th = skb_header_pointer(skb, par->thoff, sizeof(_tcph), &_tcph); in tcp_mt()
141 uh = skb_header_pointer(skb, par->thoff, sizeof(_udph), &_udph); in udp_mt()
Dxt_TPROXY.c95 hp = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_hdr), &_hdr); in tproxy_handle_time_wait4()
128 hp = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_hdr), &_hdr); in tproxy_tg4()
249 hp = skb_header_pointer(skb, thoff, sizeof(_hdr), &_hdr); in tproxy_handle_time_wait6()
294 hp = skb_header_pointer(skb, thoff, sizeof(_hdr), &_hdr); in tproxy_tg6_v1()
Dxt_dccp.c56 op = skb_header_pointer(skb, protoff + optoff, optlen, dccp_optbuf); in dccp_find_option()
108 dh = skb_header_pointer(skb, par->thoff, sizeof(_dh), &_dh); in dccp_mt()
Dnf_conntrack_proto_sctp.c137 hp = skb_header_pointer(skb, dataoff, 8, &_hdr); in sctp_pkt_to_tuple()
178 ((sch) = skb_header_pointer((skb), (offset), sizeof(_sch), &(_sch))); \
305 sh = skb_header_pointer(skb, dataoff, sizeof(_sctph), &_sctph); in sctp_packet()
364 ih = skb_header_pointer(skb, offset + sizeof(sctp_chunkhdr_t), in sctp_packet()
409 sh = skb_header_pointer(skb, dataoff, sizeof(_sctph), &_sctph); in sctp_new()
441 ih = skb_header_pointer(skb, offset + sizeof(sctp_chunkhdr_t), in sctp_new()
Dxt_sctp.c59 sch = skb_header_pointer(skb, offset, sizeof(_sch), &_sch); in match_packet()
129 sh = skb_header_pointer(skb, par->thoff, sizeof(_sh), &_sh); in sctp_mt()
Dnf_conntrack_sane.c85 th = skb_header_pointer(skb, protoff, sizeof(_tcph), &_tcph); in help()
97 sb_ptr = skb_header_pointer(skb, dataoff, datalen, sane_buffer); in help()
/linux-3.4.99/net/ipv6/netfilter/
Dip6t_rt.c59 rh = skb_header_pointer(skb, ptr, sizeof(_route), &_route); in rt_mt6()
109 rp = skb_header_pointer(skb, in rt_mt6()
133 ap = skb_header_pointer(skb, in rt_mt6()
163 ap = skb_header_pointer(skb, in rt_mt6()
Dip6t_hbh.c72 oh = skb_header_pointer(skb, ptr, sizeof(_optsh), &_optsh); in hbh_mt6()
108 tp = skb_header_pointer(skb, ptr, sizeof(_opttype), in hbh_mt6()
128 lp = skb_header_pointer(skb, ptr + 1, in hbh_mt6()
/linux-3.4.99/net/ipv6/
Dexthdrs_core.c83 hp = skb_header_pointer(skb, start, sizeof(_hdr), &_hdr); in ipv6_skip_exthdr()
88 fp = skb_header_pointer(skb, in ipv6_skip_exthdr()
/linux-3.4.99/net/netfilter/ipvs/
Dip_vs_proto.c247 ih = skb_header_pointer(skb, offset, sizeof(_iph), &_iph); in ip_vs_tcpudp_debug_packet_v4()
255 pptr = skb_header_pointer(skb, offset + ih->ihl*4, in ip_vs_tcpudp_debug_packet_v4()
279 ih = skb_header_pointer(skb, offset, sizeof(_iph), &_iph); in ip_vs_tcpudp_debug_packet_v6()
287 pptr = skb_header_pointer(skb, offset + sizeof(struct ipv6hdr), in ip_vs_tcpudp_debug_packet_v6()
Dip_vs_core.c406 pptr = skb_header_pointer(skb, iph.len, sizeof(_ports), _ports); in ip_vs_schedule()
511 pptr = skb_header_pointer(skb, iph.len, sizeof(_ports), _ports); in ip_vs_leave()
861 ic = skb_header_pointer(skb, offset, sizeof(_icmph), &_icmph); in ip_vs_out_icmp()
885 cih = skb_header_pointer(skb, offset, sizeof(_ciph), &_ciph); in ip_vs_out_icmp()
938 ic = skb_header_pointer(skb, offset, sizeof(_icmph), &_icmph); in ip_vs_out_icmp_v6()
962 cih = skb_header_pointer(skb, offset, sizeof(_ciph), &_ciph); in ip_vs_out_icmp_v6()
998 sch = skb_header_pointer(skb, nh_len + sizeof(sctp_sctphdr_t), in is_sctp_abort()
1011 th = skb_header_pointer(skb, nh_len, sizeof(_tcph), &_tcph); in is_tcp_reset()
1179 pptr = skb_header_pointer(skb, iph.len, in ip_vs_out()
1318 ic = skb_header_pointer(skb, offset, sizeof(_icmph), &_icmph); in ip_vs_in_icmp()
[all …]
Dip_vs_proto_sctp.c23 sh = skb_header_pointer(skb, iph.len, sizeof(_sctph), &_sctph); in sctp_conn_schedule()
27 sch = skb_header_pointer(skb, iph.len + sizeof(sctp_sctphdr_t), in sctp_conn_schedule()
171 sh = skb_header_pointer(skb, sctphoff, sizeof(_sctph), &_sctph); in sctp_csum_check()
924 sch = skb_header_pointer(skb, ihl + sizeof(sctp_sctphdr_t), in set_sctp_state()
943 sch = skb_header_pointer(skb, (ihl + sizeof(sctp_sctphdr_t) + in set_sctp_state()
/linux-3.4.99/security/
Dlsm_audit.c139 th = skb_header_pointer(skb, offset, sizeof(_tcph), &_tcph); in ipv6_skb_to_auditdata()
150 uh = skb_header_pointer(skb, offset, sizeof(_udph), &_udph); in ipv6_skb_to_auditdata()
161 dh = skb_header_pointer(skb, offset, sizeof(_dccph), &_dccph); in ipv6_skb_to_auditdata()
172 sh = skb_header_pointer(skb, offset, sizeof(_sctph), &_sctph); in ipv6_skb_to_auditdata()

1234