/linux-4.4.14/net/netfilter/ |
D | nf_conntrack_h323_main.c | 53 int (*set_h245_addr_hook) (struct sk_buff *skb, unsigned int protoff, 58 int (*set_h225_addr_hook) (struct sk_buff *skb, unsigned int protoff, 66 unsigned int protoff, unsigned char **data, 71 unsigned int protoff, unsigned char **data, 76 unsigned int protoff, 85 unsigned int protoff, 92 unsigned int protoff, 99 unsigned int protoff, 106 unsigned int protoff, 119 static int get_tpkt_data(struct sk_buff *skb, unsigned int protoff, in get_tpkt_data() argument [all …]
|
D | nf_nat_sip.c | 32 static unsigned int mangle_packet(struct sk_buff *skb, unsigned int protoff, in mangle_packet() argument 44 th = (struct tcphdr *)(skb->data + protoff); in mangle_packet() 45 baseoff = protoff + th->doff * 4; in mangle_packet() 49 protoff, matchoff, matchlen, in mangle_packet() 53 baseoff = protoff + sizeof(struct udphdr); in mangle_packet() 57 protoff, matchoff, matchlen, in mangle_packet() 90 static int map_addr(struct sk_buff *skb, unsigned int protoff, in map_addr() argument 121 return mangle_packet(skb, protoff, dataoff, dptr, datalen, in map_addr() 125 static int map_sip_addr(struct sk_buff *skb, unsigned int protoff, in map_sip_addr() argument 139 return map_addr(skb, protoff, dataoff, dptr, datalen, in map_sip_addr() [all …]
|
D | nf_nat_helper.c | 95 unsigned int protoff, in __nf_nat_mangle_tcp_packet() argument 115 tcph = (void *)skb->data + protoff; in __nf_nat_mangle_tcp_packet() 117 oldlen = skb->len - protoff; in __nf_nat_mangle_tcp_packet() 118 mangle_contents(skb, protoff + tcph->doff*4, in __nf_nat_mangle_tcp_packet() 121 datalen = skb->len - protoff; in __nf_nat_mangle_tcp_packet() 149 unsigned int protoff, in nf_nat_mangle_udp_packet() argument 167 udph = (void *)skb->data + protoff; in nf_nat_mangle_udp_packet() 169 oldlen = skb->len - protoff; in nf_nat_mangle_udp_packet() 170 mangle_contents(skb, protoff + sizeof(*udph), in nf_nat_mangle_udp_packet() 174 datalen = skb->len - protoff; in nf_nat_mangle_udp_packet()
|
D | nf_conntrack_snmp.c | 33 unsigned int protoff, 38 static int snmp_conntrack_help(struct sk_buff *skb, unsigned int protoff, in snmp_conntrack_help() argument 43 nf_conntrack_broadcast_help(skb, protoff, ct, ctinfo, timeout); in snmp_conntrack_help() 47 return nf_nat_snmp(skb, protoff, ct, ctinfo); in snmp_conntrack_help()
|
D | nf_conntrack_sip.c | 842 static int set_expected_rtp_rtcp(struct sk_buff *skb, unsigned int protoff, in set_expected_rtp_rtcp() argument 918 !hooks->sdp_port(skb, protoff, dataoff, dptr, datalen, in set_expected_rtp_rtcp() 942 ret = hooks->sdp_media(skb, protoff, dataoff, dptr, in set_expected_rtp_rtcp() 984 static int process_sdp(struct sk_buff *skb, unsigned int protoff, in process_sdp() argument 1059 ret = set_expected_rtp_rtcp(skb, protoff, dataoff, in process_sdp() 1071 ret = hooks->sdp_addr(skb, protoff, dataoff, in process_sdp() 1087 ret = hooks->sdp_session(skb, protoff, dataoff, in process_sdp() 1093 static int process_invite_response(struct sk_buff *skb, unsigned int protoff, in process_invite_response() argument 1104 return process_sdp(skb, protoff, dataoff, dptr, datalen, cseq); in process_invite_response() 1110 static int process_update_response(struct sk_buff *skb, unsigned int protoff, in process_update_response() argument [all …]
|
D | nf_conntrack_seqadj.c | 117 unsigned int protoff, in nf_ct_sack_adjust() argument 125 optoff = protoff + sizeof(struct tcphdr); in nf_ct_sack_adjust() 126 optend = protoff + tcph->doff * 4; in nf_ct_sack_adjust() 164 unsigned int protoff) in nf_ct_seq_adjust() argument 177 if (!skb_make_writable(skb, protoff + sizeof(*tcph))) in nf_ct_seq_adjust() 180 tcph = (void *)skb->data + protoff; in nf_ct_seq_adjust() 207 res = nf_ct_sack_adjust(skb, protoff, tcph, ct, ctinfo); in nf_ct_seq_adjust()
|
D | nf_conntrack_pptp.c | 50 unsigned int protoff, struct PptpControlHeader *ctlh, 57 unsigned int protoff, struct PptpControlHeader *ctlh, 268 pptp_inbound_pkt(struct sk_buff *skb, unsigned int protoff, in pptp_inbound_pkt() argument 383 protoff, ctlh, pptpReq); in pptp_inbound_pkt() 396 pptp_outbound_pkt(struct sk_buff *skb, unsigned int protoff, in pptp_outbound_pkt() argument 479 protoff, ctlh, pptpReq); in pptp_outbound_pkt() 509 conntrack_pptp_help(struct sk_buff *skb, unsigned int protoff, in conntrack_pptp_help() argument 521 unsigned int tcplen = skb->len - protoff; in conntrack_pptp_help() 531 nexthdr_off = protoff; in conntrack_pptp_help() 578 ret = pptp_outbound_pkt(skb, protoff, ctlh, pptpReq, reqlen, ct, in conntrack_pptp_help() [all …]
|
D | xt_dccp.c | 39 unsigned int protoff, in dccp_find_option() argument 56 op = skb_header_pointer(skb, protoff + optoff, optlen, dccp_optbuf); in dccp_find_option() 92 match_option(u_int8_t option, const struct sk_buff *skb, unsigned int protoff, in match_option() argument 95 return dccp_find_option(option, skb, protoff, dh, hotdrop); in match_option()
|
D | nf_conntrack_irc.c | 37 unsigned int protoff, 106 static int help(struct sk_buff *skb, unsigned int protoff, in help() argument 134 th = skb_header_pointer(skb, protoff, sizeof(_tcph), &_tcph); in help() 139 dataoff = protoff + th->doff*4; in help() 212 ret = nf_nat_irc(skb, ctinfo, protoff, in help()
|
D | nf_conntrack_netbios_ns.c | 43 static int netbios_ns_help(struct sk_buff *skb, unsigned int protoff, in netbios_ns_help() argument 46 return nf_conntrack_broadcast_help(skb, protoff, ct, ctinfo, timeout); in netbios_ns_help()
|
D | nf_conntrack_amanda.c | 44 unsigned int protoff, 87 unsigned int protoff, in amanda_help() argument 109 dataoff = protoff + sizeof(struct udphdr); in amanda_help() 157 ret = nf_nat_amanda(skb, ctinfo, protoff, in amanda_help()
|
D | nf_nat_amanda.c | 29 unsigned int protoff, in help() argument 67 protoff, matchoff, matchlen, in help()
|
D | nf_nat_irc.c | 31 unsigned int protoff, in help() argument 86 ret = nf_nat_mangle_tcp_packet(skb, ct, ctinfo, protoff, matchoff, in help()
|
D | nf_conntrack_sane.c | 62 unsigned int protoff, in help() argument 84 th = skb_header_pointer(skb, protoff, sizeof(_tcph), &_tcph); in help() 89 dataoff = protoff + th->doff * 4; in help()
|
D | nf_nat_ftp.c | 62 unsigned int protoff, in nf_nat_ftp() argument 111 if (!nf_nat_mangle_tcp_packet(skb, ct, ctinfo, protoff, matchoff, in nf_nat_ftp()
|
D | xt_HMARK.c | 136 int protoff; in hmark_set_tuple_ports() local 138 protoff = proto_ports_offset(t->proto); in hmark_set_tuple_ports() 139 if (protoff < 0) in hmark_set_tuple_ports() 142 nhoff += protoff; in hmark_set_tuple_ports()
|
D | nf_conntrack_tftp.c | 39 unsigned int protoff, in tftp_help() argument 50 tfh = skb_header_pointer(skb, protoff + sizeof(struct udphdr), in tftp_help()
|
D | nf_conntrack_ftp.c | 52 unsigned int protoff, 386 unsigned int protoff, in help() argument 413 th = skb_header_pointer(skb, protoff, sizeof(_tcph), &_tcph); in help() 417 dataoff = protoff + th->doff * 4; in help() 537 protoff, matchoff, matchlen, exp); in help()
|
D | nf_synproxy_core.c | 184 unsigned int protoff, in synproxy_tstamp_adjust() argument 196 optoff = protoff + sizeof(struct tcphdr); in synproxy_tstamp_adjust() 197 optend = protoff + th->doff * 4; in synproxy_tstamp_adjust()
|
D | xt_tcpudp.c | 33 unsigned int protoff, in tcp_find_option() argument 49 op = skb_header_pointer(skb, protoff + sizeof(struct tcphdr), in tcp_find_option()
|
D | nf_conntrack_broadcast.c | 23 unsigned int protoff, in nf_conntrack_broadcast_help() argument
|
D | xt_hashlimit.c | 520 const struct sk_buff *skb, unsigned int protoff) in hashlimit_init_dst() argument 562 protoff = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &nexthdr, &frag_off); in hashlimit_init_dst() 563 if ((int)protoff < 0) in hashlimit_init_dst() 575 ports = skb_header_pointer(skb, protoff + poff, sizeof(_ports), in hashlimit_init_dst()
|
D | nf_conntrack_core.c | 195 unsigned int protoff; in nf_ct_get_tuplepr() local 202 ret = l3proto->get_l4proto(skb, nhoff, &protoff, &protonum); in nf_ct_get_tuplepr() 210 ret = nf_ct_get_tuple(skb, nhoff, protoff, l3num, protonum, net, tuple, in nf_ct_get_tuplepr()
|
D | nfnetlink_cthelper.c | 36 nfnl_userspace_cthelper(struct sk_buff *skb, unsigned int protoff, in nfnl_userspace_cthelper() argument
|
/linux-4.4.14/include/linux/netfilter/ |
D | nf_conntrack_h323.h | 39 extern int (*set_h245_addr_hook) (struct sk_buff *skb, unsigned int protoff, 44 extern int (*set_h225_addr_hook) (struct sk_buff *skb, unsigned int protoff, 52 unsigned int protoff, unsigned char **data, 57 unsigned int protoff, unsigned char **data, 62 unsigned int protoff, unsigned char **data, 70 unsigned int protoff, 76 unsigned int protoff, 83 unsigned int protoff, 90 unsigned int protoff,
|
D | nf_conntrack_sip.h | 43 int (*request)(struct sk_buff *skb, unsigned int protoff, 47 int (*response)(struct sk_buff *skb, unsigned int protoff, 112 unsigned int protoff, 118 unsigned int protoff, s16 off); 121 unsigned int protoff, 130 unsigned int protoff, 140 unsigned int protoff, 149 unsigned int protoff, 157 unsigned int protoff,
|
D | nf_conntrack_snmp.h | 5 unsigned int protoff,
|
D | nf_conntrack_amanda.h | 7 unsigned int protoff,
|
D | nf_conntrack_irc.h | 10 unsigned int protoff,
|
D | nf_conntrack_ftp.h | 29 unsigned int protoff,
|
D | nf_conntrack_pptp.h | 306 unsigned int protoff, 313 unsigned int protoff,
|
/linux-4.4.14/net/ipv4/netfilter/ |
D | nf_nat_h323.c | 24 static int set_addr(struct sk_buff *skb, unsigned int protoff, in set_addr() argument 43 protoff, addroff, sizeof(buf), in set_addr() 57 protoff, addroff, sizeof(buf), in set_addr() 72 static int set_h225_addr(struct sk_buff *skb, unsigned int protoff, in set_h225_addr() argument 77 return set_addr(skb, protoff, data, dataoff, taddr->ipAddress.ip, in set_h225_addr() 82 static int set_h245_addr(struct sk_buff *skb, unsigned protoff, in set_h245_addr() argument 87 return set_addr(skb, protoff, data, dataoff, in set_h245_addr() 95 unsigned int protoff, unsigned char **data, in set_sig_addr() argument 121 return set_h225_addr(skb, protoff, data, 0, in set_sig_addr() 133 return set_h225_addr(skb, protoff, data, 0, in set_sig_addr() [all …]
|
D | nf_nat_pptp.c | 117 unsigned int protoff, in pptp_outbound_pkt() argument 180 if (nf_nat_mangle_tcp_packet(skb, ct, ctinfo, protoff, in pptp_outbound_pkt() 221 unsigned int protoff, in pptp_inbound_pkt() argument 274 if (nf_nat_mangle_tcp_packet(skb, ct, ctinfo, protoff, in pptp_inbound_pkt()
|
D | nf_nat_snmp_basic.c | 1218 static int help(struct sk_buff *skb, unsigned int protoff, in help() argument
|
/linux-4.4.14/include/net/netfilter/ |
D | nf_nat_helper.h | 12 unsigned int protoff, unsigned int match_offset, 19 unsigned int protoff, in nf_nat_mangle_tcp_packet() argument 25 return __nf_nat_mangle_tcp_packet(skb, ct, ctinfo, protoff, in nf_nat_mangle_tcp_packet() 32 unsigned int protoff, unsigned int match_offset,
|
D | nf_conntrack_helper.h | 41 unsigned int protoff, 94 int nf_conntrack_broadcast_help(struct sk_buff *skb, unsigned int protoff,
|
D | nf_conntrack_seqadj.h | 41 enum ip_conntrack_info ctinfo, unsigned int protoff);
|
D | nf_conntrack_synproxy.h | 70 unsigned int synproxy_tstamp_adjust(struct sk_buff *skb, unsigned int protoff,
|
/linux-4.4.14/net/ipv6/netfilter/ |
D | nf_conntrack_l3proto_ipv6.c | 75 int protoff; in ipv6_get_l4proto() local 83 protoff = ipv6_skip_exthdr(skb, extoff, &nexthdr, &frag_off); in ipv6_get_l4proto() 88 if (protoff < 0 || (frag_off & htons(~0x7)) != 0) { in ipv6_get_l4proto() 93 *dataoff = protoff; in ipv6_get_l4proto() 107 int protoff; in ipv6_helper() local 124 protoff = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &nexthdr, in ipv6_helper() 126 if (protoff < 0 || (frag_off & htons(~0x7)) != 0) { in ipv6_helper() 131 return helper->help(skb, protoff, ct, ctinfo); in ipv6_helper() 141 int protoff; in ipv6_confirm() local 148 protoff = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &pnum, in ipv6_confirm() [all …]
|
D | ip6_tables.c | 92 unsigned int *protoff, in ip6_packet_match() argument 140 protohdr = ipv6_find_hdr(skb, protoff, -1, &_frag_off, NULL); in ip6_packet_match()
|
/linux-4.4.14/net/netfilter/ipset/ |
D | ip_set_getport.c | 134 int protoff; in ip_set_get_ip6_port() local 139 protoff = ipv6_skip_exthdr(skb, in ip_set_get_ip6_port() 143 if (protoff < 0 || (frag_off & htons(~0x7)) != 0) in ip_set_get_ip6_port() 146 return get_port(skb, nexthdr, protoff, src, port, proto); in ip_set_get_ip6_port()
|
/linux-4.4.14/net/openvswitch/ |
D | conntrack.c | 260 unsigned int protoff; in ovs_ct_helper() local 277 protoff = ip_hdrlen(skb); in ovs_ct_helper() 290 protoff = ofs; in ovs_ct_helper() 298 return helper->help(skb, protoff, ct, ctinfo); in ovs_ct_helper()
|
/linux-4.4.14/include/linux/netfilter_bridge/ |
D | ebtables.h | 28 const void *matchinfo, int offset, unsigned int protoff,
|