/linux-6.6.21/net/netfilter/ |
D | nf_conntrack_h323_main.c | 64 static int get_tpkt_data(struct sk_buff *skb, unsigned int protoff, in get_tpkt_data() argument 79 th = skb_header_pointer(skb, protoff, sizeof(_tcph), &_tcph); in get_tpkt_data() 84 tcpdataoff = protoff + th->doff * 4; in get_tpkt_data() 207 unsigned int protoff, in expect_rtp_rtcp() argument 256 ret = nathook->nat_rtp_rtcp(skb, ct, ctinfo, protoff, data, dataoff, in expect_rtp_rtcp() 282 unsigned int protoff, in expect_t120() argument 316 ret = nathook->nat_t120(skb, ct, ctinfo, protoff, data, in expect_t120() 334 unsigned int protoff, in process_h245_channel() argument 342 ret = expect_rtp_rtcp(skb, ct, ctinfo, protoff, data, dataoff, in process_h245_channel() 351 ret = expect_rtp_rtcp(skb, ct, ctinfo, protoff, data, dataoff, in process_h245_channel() [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_ovs.c | 17 unsigned int protoff; in nf_ct_helper() local 37 protoff = ip_hdrlen(skb); in nf_ct_helper() 51 protoff = ofs; in nf_ct_helper() 63 err = helper->help(skb, protoff, ct, ctinfo); in nf_ct_helper() 72 !nf_ct_seq_adjust(skb, ct, ctinfo, protoff)) in nf_ct_helper()
|
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 | 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, 107 static int help(struct sk_buff *skb, unsigned int protoff, in help() argument 136 th = skb_header_pointer(skb, protoff, sizeof(_tcph), &_tcph); in help() 141 dataoff = protoff + th->doff*4; in help() 244 ret = nf_nat_irc(skb, ctinfo, protoff, in help()
|
D | nf_conntrack_pptp.c | 252 pptp_inbound_pkt(struct sk_buff *skb, unsigned int protoff, in pptp_inbound_pkt() argument 366 return hook->inbound(skb, ct, ctinfo, protoff, ctlh, pptpReq); in pptp_inbound_pkt() 379 pptp_outbound_pkt(struct sk_buff *skb, unsigned int protoff, in pptp_outbound_pkt() argument 461 return hook->outbound(skb, ct, ctinfo, protoff, ctlh, pptpReq); in pptp_outbound_pkt() 491 conntrack_pptp_help(struct sk_buff *skb, unsigned int protoff, in conntrack_pptp_help() argument 503 unsigned int tcplen = skb->len - protoff; in conntrack_pptp_help() 521 nexthdr_off = protoff; in conntrack_pptp_help() 570 ret = pptp_outbound_pkt(skb, protoff, ctlh, pptpReq, reqlen, ct, in conntrack_pptp_help() 574 ret = pptp_inbound_pkt(skb, protoff, ctlh, pptpReq, reqlen, ct, in conntrack_pptp_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_nat_amanda.c | 30 unsigned int protoff, in help() argument 55 protoff, matchoff, matchlen, in help()
|
D | nf_conntrack_sane.c | 59 unsigned int protoff, in help() argument 83 th = skb_header_pointer(skb, protoff, sizeof(_tcph), &_tcph); in help() 88 dataoff = protoff + th->doff * 4; in help()
|
D | nf_nat_irc.c | 34 unsigned int protoff, in help() argument 76 if (!nf_nat_mangle_tcp_packet(skb, ct, ctinfo, protoff, matchoff, in help()
|
D | nf_nat_ftp.c | 66 unsigned int protoff, in nf_nat_ftp() argument 102 if (!nf_nat_mangle_tcp_packet(skb, ct, ctinfo, protoff, matchoff, in nf_nat_ftp()
|
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_conntrack_ftp.c | 49 unsigned int protoff, 370 unsigned int protoff, in help() argument 400 th = skb_header_pointer(skb, protoff, sizeof(_tcph), &_tcph); in help() 404 dataoff = protoff + th->doff * 4; in help() 524 protoff, matchoff, matchlen, exp); in help()
|
/linux-6.6.21/include/linux/netfilter/ |
D | nf_conntrack_h323.h | 39 int (*set_h245_addr)(struct sk_buff *skb, unsigned int protoff, 43 int (*set_h225_addr)(struct sk_buff *skb, unsigned int protoff, 50 unsigned int protoff, unsigned char **data, 55 unsigned int protoff, unsigned char **data, 60 unsigned int protoff, 69 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 | 9 unsigned int protoff,
|
/linux-6.6.21/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()
|
/linux-6.6.21/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,
|
/linux-6.6.21/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()
|