/kernel/linux/linux-5.10/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, 118 static int get_tpkt_data(struct sk_buff *skb, unsigned int protoff, in get_tpkt_data() argument [all …]
|
D | nf_nat_sip.c | 34 static unsigned int mangle_packet(struct sk_buff *skb, unsigned int protoff, in mangle_packet() argument 46 th = (struct tcphdr *)(skb->data + protoff); in mangle_packet() 47 baseoff = protoff + th->doff * 4; in mangle_packet() 51 protoff, matchoff, matchlen, in mangle_packet() 55 baseoff = protoff + sizeof(struct udphdr); in mangle_packet() 59 protoff, matchoff, matchlen, in mangle_packet() 92 static int map_addr(struct sk_buff *skb, unsigned int protoff, in map_addr() argument 123 return mangle_packet(skb, protoff, dataoff, dptr, datalen, in map_addr() 127 static int map_sip_addr(struct sk_buff *skb, unsigned int protoff, in map_sip_addr() argument 141 return map_addr(skb, protoff, dataoff, dptr, datalen, in map_sip_addr() [all …]
|
D | nf_nat_helper.c | 89 unsigned int protoff, in __nf_nat_mangle_tcp_packet() argument 106 tcph = (void *)skb->data + protoff; in __nf_nat_mangle_tcp_packet() 108 oldlen = skb->len - protoff; in __nf_nat_mangle_tcp_packet() 109 mangle_contents(skb, protoff + tcph->doff*4, in __nf_nat_mangle_tcp_packet() 112 datalen = skb->len - protoff; in __nf_nat_mangle_tcp_packet() 139 unsigned int protoff, in nf_nat_mangle_udp_packet() argument 156 udph = (void *)skb->data + protoff; in nf_nat_mangle_udp_packet() 158 oldlen = skb->len - protoff; in nf_nat_mangle_udp_packet() 159 mangle_contents(skb, protoff + sizeof(*udph), in nf_nat_mangle_udp_packet() 163 datalen = skb->len - protoff; in nf_nat_mangle_udp_packet()
|
D | nf_conntrack_seqadj.c | 118 unsigned int protoff, in nf_ct_sack_adjust() argument 122 struct tcphdr *tcph = (void *)skb->data + protoff; in nf_ct_sack_adjust() 126 optoff = protoff + sizeof(struct tcphdr); in nf_ct_sack_adjust() 127 optend = protoff + tcph->doff * 4; in nf_ct_sack_adjust() 132 tcph = (void *)skb->data + protoff; in nf_ct_sack_adjust() 166 unsigned int protoff) in nf_ct_seq_adjust() argument 179 if (skb_ensure_writable(skb, protoff + sizeof(*tcph))) in nf_ct_seq_adjust() 182 tcph = (void *)skb->data + protoff; in nf_ct_seq_adjust() 212 res = nf_ct_sack_adjust(skb, protoff, ct, ctinfo); in nf_ct_seq_adjust()
|
D | nf_conntrack_sip.c | 846 static int set_expected_rtp_rtcp(struct sk_buff *skb, unsigned int protoff, in set_expected_rtp_rtcp() argument 951 !hooks->sdp_port(skb, protoff, dataoff, dptr, datalen, in set_expected_rtp_rtcp() 973 ret = hooks->sdp_media(skb, protoff, dataoff, dptr, in set_expected_rtp_rtcp() 1026 static int process_sdp(struct sk_buff *skb, unsigned int protoff, in process_sdp() argument 1101 ret = set_expected_rtp_rtcp(skb, protoff, dataoff, in process_sdp() 1113 ret = hooks->sdp_addr(skb, protoff, dataoff, in process_sdp() 1129 ret = hooks->sdp_session(skb, protoff, dataoff, in process_sdp() 1135 static int process_invite_response(struct sk_buff *skb, unsigned int protoff, in process_invite_response() argument 1146 return process_sdp(skb, protoff, dataoff, dptr, datalen, cseq); in process_invite_response() 1152 static int process_update_response(struct sk_buff *skb, unsigned int protoff, in process_update_response() argument [all …]
|
D | nf_conntrack_snmp.c | 29 unsigned int protoff, 34 static int snmp_conntrack_help(struct sk_buff *skb, unsigned int protoff, in snmp_conntrack_help() argument 44 return nf_nat_snmp(skb, protoff, ct, ctinfo); in snmp_conntrack_help()
|
D | nf_conntrack_pptp.c | 51 unsigned int protoff, struct PptpControlHeader *ctlh, 58 unsigned int protoff, struct PptpControlHeader *ctlh, 274 pptp_inbound_pkt(struct sk_buff *skb, unsigned int protoff, in pptp_inbound_pkt() argument 389 protoff, ctlh, pptpReq); in pptp_inbound_pkt() 402 pptp_outbound_pkt(struct sk_buff *skb, unsigned int protoff, in pptp_outbound_pkt() argument 485 protoff, ctlh, pptpReq); in pptp_outbound_pkt() 515 conntrack_pptp_help(struct sk_buff *skb, unsigned int protoff, in conntrack_pptp_help() argument 527 unsigned int tcplen = skb->len - protoff; in conntrack_pptp_help() 545 nexthdr_off = protoff; in conntrack_pptp_help() 592 ret = pptp_outbound_pkt(skb, protoff, ctlh, pptpReq, reqlen, ct, in conntrack_pptp_help() [all …]
|
D | xt_dccp.c | 36 unsigned int protoff, in dccp_find_option() argument 53 op = skb_header_pointer(skb, protoff + optoff, optlen, dccp_optbuf); in dccp_find_option() 89 match_option(u_int8_t option, const struct sk_buff *skb, unsigned int protoff, in match_option() argument 92 return dccp_find_option(option, skb, protoff, dh, hotdrop); in match_option()
|
D | nf_conntrack_irc.c | 35 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() 234 ret = nf_nat_irc(skb, ctinfo, protoff, in help()
|
D | nf_conntrack_amanda.c | 42 unsigned int protoff, 90 unsigned int protoff, in amanda_help() argument 112 dataoff = protoff + sizeof(struct udphdr); in amanda_help() 160 ret = nf_nat_amanda(skb, ctinfo, protoff, in amanda_help()
|
D | nf_conntrack_sane.c | 63 unsigned int protoff, in help() argument 85 th = skb_header_pointer(skb, protoff, sizeof(_tcph), &_tcph); in help() 90 dataoff = protoff + th->doff * 4; in help()
|
D | nf_nat_amanda.c | 30 unsigned int protoff, in help() argument 67 protoff, matchoff, matchlen, in help()
|
D | nf_nat_irc.c | 34 unsigned int protoff, in help() argument 88 if (!nf_nat_mangle_tcp_packet(skb, ct, ctinfo, protoff, matchoff, in help()
|
D | nf_conntrack_proto.c | 124 unsigned int nf_confirm(struct sk_buff *skb, unsigned int protoff, in nf_confirm() argument 138 protoff, in nf_confirm() 147 if (!nf_ct_seq_adjust(skb, ct, ctinfo, protoff)) { in nf_confirm() 371 int protoff; in ipv6_confirm() local 377 protoff = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &pnum, in ipv6_confirm() 379 if (protoff < 0 || (frag_off & htons(~0x7)) != 0) { in ipv6_confirm() 384 return nf_confirm(skb, protoff, ct, ctinfo); in ipv6_confirm()
|
D | xt_HMARK.c | 135 int protoff; in hmark_set_tuple_ports() local 137 protoff = proto_ports_offset(t->proto); in hmark_set_tuple_ports() 138 if (protoff < 0) in hmark_set_tuple_ports() 141 nhoff += protoff; in hmark_set_tuple_ports()
|
D | nf_conntrack_tftp.c | 41 unsigned int protoff, in tftp_help() argument 52 tfh = skb_header_pointer(skb, protoff + sizeof(struct udphdr), in tftp_help()
|
D | nf_nat_ftp.c | 66 unsigned int protoff, in nf_nat_ftp() argument 115 if (!nf_nat_mangle_tcp_packet(skb, ct, ctinfo, protoff, matchoff, in nf_nat_ftp()
|
D | nf_conntrack_ftp.c | 53 unsigned int protoff, 374 unsigned int protoff, in help() argument 401 th = skb_header_pointer(skb, protoff, sizeof(_tcph), &_tcph); in help() 405 dataoff = protoff + th->doff * 4; in help() 525 protoff, matchoff, matchlen, exp); in help()
|
/kernel/linux/linux-5.10/include/linux/netfilter/ |
D | nf_conntrack_h323.h | 41 extern int (*set_h245_addr_hook) (struct sk_buff *skb, unsigned int protoff, 46 extern int (*set_h225_addr_hook) (struct sk_buff *skb, unsigned int protoff, 54 unsigned int protoff, unsigned char **data, 59 unsigned int protoff, unsigned char **data, 64 unsigned int protoff, unsigned char **data, 72 unsigned int protoff, 78 unsigned int protoff, 85 unsigned int protoff, 92 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,
|
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
D | nf_nat_h323.c | 23 static int set_addr(struct sk_buff *skb, unsigned int protoff, in set_addr() argument 42 protoff, addroff, sizeof(buf), in set_addr() 56 protoff, addroff, sizeof(buf), in set_addr() 71 static int set_h225_addr(struct sk_buff *skb, unsigned int protoff, in set_h225_addr() argument 76 return set_addr(skb, protoff, data, dataoff, taddr->ipAddress.ip, in set_h225_addr() 81 static int set_h245_addr(struct sk_buff *skb, unsigned protoff, in set_h245_addr() argument 86 return set_addr(skb, protoff, data, dataoff, in set_h245_addr() 94 unsigned int protoff, unsigned char **data, in set_sig_addr() argument 120 return set_h225_addr(skb, protoff, data, 0, in set_sig_addr() 132 return set_h225_addr(skb, protoff, data, 0, in set_sig_addr() [all …]
|
D | nf_nat_pptp.c | 123 unsigned int protoff, in pptp_outbound_pkt() argument 189 if (!nf_nat_mangle_tcp_packet(skb, ct, ctinfo, protoff, in pptp_outbound_pkt() 234 unsigned int protoff, in pptp_inbound_pkt() argument 289 if (!nf_nat_mangle_tcp_packet(skb, ct, ctinfo, protoff, in pptp_inbound_pkt()
|
/kernel/linux/linux-5.10/include/net/netfilter/ |
D | nf_nat_helper.h | 13 unsigned int protoff, unsigned int match_offset, 20 unsigned int protoff, in nf_nat_mangle_tcp_packet() argument 26 return __nf_nat_mangle_tcp_packet(skb, ct, ctinfo, protoff, in nf_nat_mangle_tcp_packet() 33 unsigned int protoff, unsigned int match_offset,
|
/kernel/linux/linux-5.10/net/netfilter/ipset/ |
D | ip_set_getport.c | 135 int protoff; in ip_set_get_ip6_port() local 140 protoff = ipv6_skip_exthdr(skb, in ip_set_get_ip6_port() 144 if (protoff < 0 || (frag_off & htons(~0x7)) != 0) in ip_set_get_ip6_port() 147 return get_port(skb, nexthdr, protoff, src, port, proto); in ip_set_get_ip6_port()
|
/kernel/linux/linux-5.10/net/bridge/netfilter/ |
D | nf_conntrack_bridge.c | 372 int protoff; in nf_ct_bridge_confirm() local 380 protoff = skb_network_offset(skb) + ip_hdrlen(skb); in nf_ct_bridge_confirm() 386 protoff = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &pnum, in nf_ct_bridge_confirm() 388 if (protoff < 0 || (frag_off & htons(~0x7)) != 0) in nf_ct_bridge_confirm() 395 return nf_confirm(skb, protoff, ct, ctinfo); in nf_ct_bridge_confirm()
|