/net/netfilter/ |
H A D | nf_conntrack_netbios_ns.c | 43 static int netbios_ns_help(struct sk_buff *skb, unsigned int protoff, argument 46 return nf_conntrack_broadcast_help(skb, protoff, ct, ctinfo, timeout);
|
H A D | nf_conntrack_broadcast.c | 23 unsigned int protoff, 22 nf_conntrack_broadcast_help(struct sk_buff *skb, unsigned int protoff, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int timeout) argument
|
H A D | nf_conntrack_snmp.c | 33 unsigned int protoff, 38 static int snmp_conntrack_help(struct sk_buff *skb, unsigned int protoff, argument 43 nf_conntrack_broadcast_help(skb, protoff, ct, ctinfo, timeout); 47 return nf_nat_snmp(skb, protoff, ct, ctinfo);
|
H A D | nf_nat_amanda.c | 29 unsigned int protoff, 67 protoff, matchoff, matchlen, 27 help(struct sk_buff *skb, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned int matchoff, unsigned int matchlen, struct nf_conntrack_expect *exp) argument
|
H A D | nf_conntrack_tftp.c | 39 unsigned int protoff, 50 tfh = skb_header_pointer(skb, protoff + sizeof(struct udphdr), 38 tftp_help(struct sk_buff *skb, unsigned int protoff, struct nf_conn *ct, enum ip_conntrack_info ctinfo) argument
|
H A D | nf_nat_irc.c | 31 unsigned int protoff, 86 ret = nf_nat_mangle_tcp_packet(skb, ct, ctinfo, protoff, matchoff, 29 help(struct sk_buff *skb, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned int matchoff, unsigned int matchlen, struct nf_conntrack_expect *exp) argument
|
H A D | nf_nat_ftp.c | 62 unsigned int protoff, 111 if (!nf_nat_mangle_tcp_packet(skb, ct, ctinfo, protoff, matchoff, 59 nf_nat_ftp(struct sk_buff *skb, enum ip_conntrack_info ctinfo, enum nf_ct_ftp_type type, unsigned int protoff, unsigned int matchoff, unsigned int matchlen, struct nf_conntrack_expect *exp) argument
|
H A D | nf_nat_helper.c | 95 unsigned int protoff, 115 tcph = (void *)skb->data + protoff; 117 oldlen = skb->len - protoff; 118 mangle_contents(skb, protoff + tcph->doff*4, 121 datalen = skb->len - protoff; 149 unsigned int protoff, 167 udph = (void *)skb->data + protoff; 169 oldlen = skb->len - protoff; 170 mangle_contents(skb, protoff + sizeof(*udph), 174 datalen = skb->len - protoff; 92 __nf_nat_mangle_tcp_packet(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned int match_offset, unsigned int match_len, const char *rep_buffer, unsigned int rep_len, bool adjust) argument 146 nf_nat_mangle_udp_packet(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned int match_offset, unsigned int match_len, const char *rep_buffer, unsigned int rep_len) argument [all...] |
H A D | xt_dccp.c | 39 unsigned int protoff, 56 op = skb_header_pointer(skb, protoff + optoff, optlen, dccp_optbuf); 92 match_option(u_int8_t option, const struct sk_buff *skb, unsigned int protoff, argument 95 return dccp_find_option(option, skb, protoff, dh, hotdrop); 37 dccp_find_option(u_int8_t option, const struct sk_buff *skb, unsigned int protoff, const struct dccp_hdr *dh, bool *hotdrop) argument
|
H A D | nf_conntrack_amanda.c | 44 unsigned int protoff, 87 unsigned int protoff, 110 dataoff = protoff + sizeof(struct udphdr); 161 ret = nf_nat_amanda(skb, ctinfo, protoff, 86 amanda_help(struct sk_buff *skb, unsigned int protoff, struct nf_conn *ct, enum ip_conntrack_info ctinfo) argument
|
H A D | nf_conntrack_irc.c | 37 unsigned int protoff, 106 static int help(struct sk_buff *skb, unsigned int protoff, argument 134 th = skb_header_pointer(skb, protoff, sizeof(_tcph), &_tcph); 139 dataoff = protoff + th->doff*4; 212 ret = nf_nat_irc(skb, ctinfo, protoff,
|
H A D | nf_conntrack_sane.c | 62 unsigned int protoff, 84 th = skb_header_pointer(skb, protoff, sizeof(_tcph), &_tcph); 89 dataoff = protoff + th->doff * 4; 61 help(struct sk_buff *skb, unsigned int protoff, struct nf_conn *ct, enum ip_conntrack_info ctinfo) argument
|
H A D | nf_conntrack_seqadj.c | 117 unsigned int protoff, 125 optoff = protoff + sizeof(struct tcphdr); 126 optend = protoff + tcph->doff * 4; 164 unsigned int protoff) 177 if (!skb_make_writable(skb, protoff + sizeof(*tcph))) 180 tcph = (void *)skb->data + protoff; 206 res = nf_ct_sack_adjust(skb, protoff, tcph, ct, ctinfo); 116 nf_ct_sack_adjust(struct sk_buff *skb, unsigned int protoff, struct tcphdr *tcph, struct nf_conn *ct, enum ip_conntrack_info ctinfo) argument 162 nf_ct_seq_adjust(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff) argument
|
H A D | xt_tcpudp.c | 33 unsigned int protoff, 49 op = skb_header_pointer(skb, protoff + sizeof(struct tcphdr), 31 tcp_find_option(u_int8_t option, const struct sk_buff *skb, unsigned int protoff, unsigned int optlen, bool invert, bool *hotdrop) argument
|
H A D | nf_conntrack_pptp.c | 50 unsigned int protoff, struct PptpControlHeader *ctlh, 57 unsigned int protoff, struct PptpControlHeader *ctlh, 267 pptp_inbound_pkt(struct sk_buff *skb, unsigned int protoff, argument 382 protoff, ctlh, pptpReq); 395 pptp_outbound_pkt(struct sk_buff *skb, unsigned int protoff, argument 478 protoff, ctlh, pptpReq); 508 conntrack_pptp_help(struct sk_buff *skb, unsigned int protoff, argument 520 unsigned int tcplen = skb->len - protoff; 530 nexthdr_off = protoff; 577 ret = pptp_outbound_pkt(skb, protoff, ctl [all...] |
H A D | nf_nat_sip.c | 32 static unsigned int mangle_packet(struct sk_buff *skb, unsigned int protoff, argument 44 th = (struct tcphdr *)(skb->data + protoff); 45 baseoff = protoff + th->doff * 4; 49 protoff, matchoff, matchlen, 53 baseoff = protoff + sizeof(struct udphdr); 57 protoff, matchoff, matchlen, 90 static int map_addr(struct sk_buff *skb, unsigned int protoff, argument 121 return mangle_packet(skb, protoff, dataoff, dptr, datalen, 125 static int map_sip_addr(struct sk_buff *skb, unsigned int protoff, argument 139 return map_addr(skb, protoff, dataof 143 nf_nat_sip(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen) argument 301 nf_nat_sip_seq_adjust(struct sk_buff *skb, unsigned int protoff, s16 off) argument 341 nf_nat_sip_expect(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, struct nf_conntrack_expect *exp, unsigned int matchoff, unsigned int matchlen) argument 415 mangle_content_len(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen) argument 442 mangle_sdp_packet(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int sdpoff, enum sdp_header_types type, enum sdp_header_types term, char *buffer, int buflen) argument 461 nf_nat_sdp_addr(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int sdpoff, enum sdp_header_types type, enum sdp_header_types term, const union nf_inet_addr *addr) argument 482 nf_nat_sdp_port(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int matchoff, unsigned int matchlen, u_int16_t port) argument 500 nf_nat_sdp_session(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int sdpoff, const union nf_inet_addr *addr) argument 539 nf_nat_sdp_media(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, struct nf_conntrack_expect *rtp_exp, struct nf_conntrack_expect *rtcp_exp, unsigned int mediaoff, unsigned int medialen, union nf_inet_addr *rtp_addr) argument [all...] |
H A D | nf_synproxy_core.c | 181 unsigned int protoff, 193 optoff = protoff + sizeof(struct tcphdr); 194 optend = protoff + th->doff * 4; 180 synproxy_tstamp_adjust(struct sk_buff *skb, unsigned int protoff, struct tcphdr *th, struct nf_conn *ct, enum ip_conntrack_info ctinfo, const struct nf_conn_synproxy *synproxy) argument
|
H A D | nfnetlink_cthelper.c | 36 nfnl_userspace_cthelper(struct sk_buff *skb, unsigned int protoff, argument
|
H A D | xt_HMARK.c | 136 int protoff; local 138 protoff = proto_ports_offset(t->proto); 139 if (protoff < 0) 142 nhoff += protoff;
|
H A D | nf_conntrack_ftp.c | 52 unsigned int protoff, 386 unsigned int protoff, 413 th = skb_header_pointer(skb, protoff, sizeof(_tcph), &_tcph); 417 dataoff = protoff + th->doff * 4; 537 protoff, matchoff, matchlen, exp); 385 help(struct sk_buff *skb, unsigned int protoff, struct nf_conn *ct, enum ip_conntrack_info ctinfo) argument
|
H A D | nf_conntrack_core.c | 193 unsigned int protoff; local 200 ret = l3proto->get_l4proto(skb, nhoff, &protoff, &protonum); 208 ret = nf_ct_get_tuple(skb, nhoff, protoff, l3num, protonum, tuple,
|
/net/netfilter/ipset/ |
H A D | ip_set_getport.c | 133 int protoff; local 138 protoff = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &nexthdr, 140 if (protoff < 0 || (frag_off & htons(~0x7)) != 0) 143 return get_port(skb, nexthdr, protoff, src, port, proto);
|
/net/ipv4/netfilter/ |
H A D | nf_nat_pptp.c | 117 unsigned int protoff, 180 if (nf_nat_mangle_tcp_packet(skb, ct, ctinfo, protoff, 221 unsigned int protoff, 274 if (nf_nat_mangle_tcp_packet(skb, ct, ctinfo, protoff, 114 pptp_outbound_pkt(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, struct PptpControlHeader *ctlh, union pptp_ctrl_union *pptpReq) argument 218 pptp_inbound_pkt(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, struct PptpControlHeader *ctlh, union pptp_ctrl_union *pptpReq) argument
|
H A D | nf_nat_h323.c | 24 static int set_addr(struct sk_buff *skb, unsigned int protoff, argument 43 protoff, addroff, sizeof(buf), 57 protoff, addroff, sizeof(buf), 72 static int set_h225_addr(struct sk_buff *skb, unsigned int protoff, argument 77 return set_addr(skb, protoff, data, dataoff, taddr->ipAddress.ip, 82 static int set_h245_addr(struct sk_buff *skb, unsigned protoff, argument 87 return set_addr(skb, protoff, data, dataoff, 95 unsigned int protoff, unsigned char **data, 121 return set_h225_addr(skb, protoff, data, 0, 133 return set_h225_addr(skb, protoff, dat 93 set_sig_addr(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, TransportAddress *taddr, int count) argument 146 set_ras_addr(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, TransportAddress *taddr, int count) argument 175 nat_rtp_rtcp(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, int dataoff, H245_TransportAddress *taddr, __be16 port, __be16 rtp_port, struct nf_conntrack_expect *rtp_exp, struct nf_conntrack_expect *rtcp_exp) argument 281 nat_t120(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, int dataoff, H245_TransportAddress *taddr, __be16 port, struct nf_conntrack_expect *exp) argument 332 nat_h245(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, int dataoff, TransportAddress *taddr, __be16 port, struct nf_conntrack_expect *exp) argument 423 nat_q931(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, TransportAddress *taddr, int idx, __be16 port, struct nf_conntrack_expect *exp) argument 516 nat_callforwarding(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, int dataoff, TransportAddress *taddr, __be16 port, struct nf_conntrack_expect *exp) argument [all...] |
/net/ipv6/netfilter/ |
H A D | nf_conntrack_l3proto_ipv6.c | 75 int protoff; local 83 protoff = ipv6_skip_exthdr(skb, extoff, &nexthdr, &frag_off); 85 * (protoff == skb->len) means the packet has not data, just 88 if (protoff < 0 || (frag_off & htons(~0x7)) != 0) { 93 *dataoff = protoff; 109 int protoff; local 126 protoff = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &nexthdr, 128 if (protoff < 0 || (frag_off & htons(~0x7)) != 0) { 133 return helper->help(skb, protoff, ct, ctinfo); 145 int protoff; local [all...] |