| /linux/include/linux/netfilter/ |
| H A D | nf_conntrack_sip.h | 44 unsigned int dataoff, 48 unsigned int dataoff, 113 unsigned int dataoff, 122 unsigned int dataoff, 131 unsigned int dataoff, 141 unsigned int dataoff, 150 unsigned int dataoff, 158 unsigned int dataoff, 174 unsigned int dataoff, unsigned int datalen, 178 unsigned int *dataoff, unsigned int datalen, [all …]
|
| H A D | nf_conntrack_h323.h | 38 unsigned char **data, int dataoff, 42 unsigned char **data, int dataoff, 59 unsigned char **data, int dataoff, 68 unsigned char **data, int dataoff, 75 unsigned char **data, int dataoff, 82 unsigned char **data, int dataoff,
|
| H A D | nf_conntrack_proto_gre.h | 29 bool gre_pkt_to_tuple(const struct sk_buff *skb, unsigned int dataoff,
|
| /linux/net/netfilter/ |
| H A D | nf_conntrack_sip.c | 448 unsigned int dataoff, unsigned int datalen, in ct_sip_get_header() argument 456 for (dptr += dataoff; dptr < limit; dptr++) { in ct_sip_get_header() 516 unsigned int dataoff, unsigned int datalen, in ct_sip_next_header() argument 524 dptr += dataoff; in ct_sip_next_header() 546 unsigned int dataoff, unsigned int datalen, in ct_sip_walk_headers() argument 554 ret = ct_sip_next_header(ct, dptr, dataoff, datalen, in ct_sip_walk_headers() 560 dataoff = *matchoff; in ct_sip_walk_headers() 566 ret = ct_sip_get_header(ct, dptr, dataoff, datalen, in ct_sip_walk_headers() 572 dataoff = *matchoff; in ct_sip_walk_headers() 586 unsigned int *dataoff, unsigne in ct_sip_parse_header_uri() argument 612 ct_sip_parse_param(const struct nf_conn * ct,const char * dptr,unsigned int dataoff,unsigned int datalen,const char * name,unsigned int * matchoff,unsigned int * matchlen) ct_sip_parse_param() argument 640 ct_sip_parse_address_param(const struct nf_conn * ct,const char * dptr,unsigned int dataoff,unsigned int datalen,const char * name,unsigned int * matchoff,unsigned int * matchlen,union nf_inet_addr * addr,bool delim) ct_sip_parse_address_param() argument 667 ct_sip_parse_numerical_param(const struct nf_conn * ct,const char * dptr,unsigned int dataoff,unsigned int datalen,const char * name,unsigned int * matchoff,unsigned int * matchlen,unsigned int * val) ct_sip_parse_numerical_param() argument 697 ct_sip_parse_transport(struct nf_conn * ct,const char * dptr,unsigned int dataoff,unsigned int datalen,u8 * proto) ct_sip_parse_transport() argument 801 ct_sip_get_sdp_header(const struct nf_conn * ct,const char * dptr,unsigned int dataoff,unsigned int datalen,enum sdp_header_types type,enum sdp_header_types term,unsigned int * matchoff,unsigned int * matchlen) ct_sip_get_sdp_header() argument 855 ct_sip_parse_sdp_addr(const struct nf_conn * ct,const char * dptr,unsigned int dataoff,unsigned int datalen,enum sdp_header_types type,enum sdp_header_types term,unsigned int * matchoff,unsigned int * matchlen,union nf_inet_addr * addr) ct_sip_parse_sdp_addr() argument 924 set_expected_rtp_rtcp(struct sk_buff * skb,unsigned int protoff,unsigned int dataoff,const char ** dptr,unsigned int * datalen,union nf_inet_addr * daddr,__be16 port,enum sip_expectation_classes class,unsigned int mediaoff,unsigned int medialen) set_expected_rtp_rtcp() argument 1111 process_sdp(struct sk_buff * skb,unsigned int protoff,unsigned int dataoff,const char ** dptr,unsigned int * datalen,unsigned int cseq) process_sdp() argument 1228 process_invite_response(struct sk_buff * skb,unsigned int protoff,unsigned int dataoff,const char ** dptr,unsigned int * datalen,unsigned int cseq,unsigned int code) process_invite_response() argument 1248 process_update_response(struct sk_buff * skb,unsigned int protoff,unsigned int dataoff,const char ** dptr,unsigned int * datalen,unsigned int cseq,unsigned int code) process_update_response() argument 1268 process_prack_response(struct sk_buff * skb,unsigned int protoff,unsigned int dataoff,const char ** dptr,unsigned int * datalen,unsigned int cseq,unsigned int code) process_prack_response() argument 1288 process_invite_request(struct sk_buff * skb,unsigned int protoff,unsigned int dataoff,const char ** dptr,unsigned int * datalen,unsigned int cseq) process_invite_request() argument 1308 process_bye_request(struct sk_buff * skb,unsigned int protoff,unsigned int dataoff,const char ** dptr,unsigned int * datalen,unsigned int cseq) process_bye_request() argument 1324 process_register_request(struct sk_buff * skb,unsigned int protoff,unsigned int dataoff,const char ** dptr,unsigned int * datalen,unsigned int cseq) process_register_request() argument 1434 process_register_response(struct sk_buff * skb,unsigned int protoff,unsigned int dataoff,const char ** dptr,unsigned int * datalen,unsigned int cseq,unsigned int code) process_register_response() argument 1523 process_sip_response(struct sk_buff * skb,unsigned int protoff,unsigned int dataoff,const char ** dptr,unsigned int * datalen) process_sip_response() argument 1569 process_sip_request(struct sk_buff * skb,unsigned int protoff,unsigned int dataoff,const char ** dptr,unsigned int * datalen) process_sip_request() argument 1629 process_sip_msg(struct sk_buff * skb,struct nf_conn * ct,unsigned int protoff,unsigned int dataoff,const char ** dptr,unsigned int * datalen) process_sip_msg() argument 1656 unsigned int dataoff, datalen; sip_help_tcp() local 1743 unsigned int dataoff, datalen; sip_help_udp() local [all...] |
| H A D | nf_nat_sip.c | 35 unsigned int dataoff, in mangle_packet() argument 48 matchoff += dataoff - baseoff; in mangle_packet() 56 matchoff += dataoff - baseoff; in mangle_packet() 65 *dptr = skb->data + dataoff; in mangle_packet() 95 unsigned int dataoff, in map_addr() argument 128 return mangle_packet(skb, protoff, dataoff, dptr, datalen, in map_addr() 133 unsigned int dataoff, in map_sip_addr() argument 146 return map_addr(skb, protoff, dataoff, dptr, datalen, in map_sip_addr() 151 unsigned int dataoff, in nf_nat_sip() argument 172 !map_addr(skb, protoff, dataoff, dptr, datalen, in nf_nat_sip() [all …]
|
| H A D | nf_conntrack_h323_main.c | 67 unsigned char **data, int *datalen, int *dataoff) in get_tpkt_data() argument 117 *dataoff = 0; in get_tpkt_data() 131 tpktoff = *dataoff + *datalen; in get_tpkt_data() 163 *dataoff = tpktoff + 4; in get_tpkt_data() 212 unsigned char **data, int dataoff, in expect_rtp_rtcp() argument 260 ret = nathook->nat_rtp_rtcp(skb, ct, ctinfo, protoff, data, dataoff, in expect_rtp_rtcp() 287 unsigned char **data, int dataoff, in expect_t120() argument 321 dataoff, taddr, port, exp); in expect_t120() 339 unsigned char **data, int dataoff, in process_h245_channel() argument 346 ret = expect_rtp_rtcp(skb, ct, ctinfo, protoff, data, dataoff, in process_h245_channel() [all …]
|
| H A D | nf_conntrack_proto_udp.c | 46 unsigned int dataoff) in udp_validate_len() argument 48 unsigned int udplen = udp_get_len(skb, hdr, dataoff); in udp_validate_len() 49 unsigned int skblen = skb->len - dataoff; in udp_validate_len() 57 unsigned int dataoff, in udp_error() argument 64 hdr = skb_header_pointer(skb, dataoff, sizeof(_hdr), &_hdr); in udp_error() 71 if (!udp_validate_len(skb, hdr, dataoff)) { in udp_error() 86 nf_checksum(skb, state->hook, dataoff, IPPROTO_UDP, state->pf)) { in udp_error() 97 unsigned int dataoff, in nf_conntrack_udp_packet() argument 104 if (udp_error(skb, dataoff, state)) in nf_conntrack_udp_packet()
|
| H A D | nf_conntrack_sane.c | 58 unsigned int dataoff, datalen; in help() local 86 dataoff = protoff + th->doff * 4; in help() 87 if (dataoff >= skb->len) in help() 90 datalen = skb->len - dataoff; in help() 97 req = skb_header_pointer(skb, dataoff, datalen, &buf.req); in help() 128 reply = skb_header_pointer(skb, dataoff, datalen, &buf.repl); in help()
|
| H A D | nf_conntrack_proto_sctp.c | 141 #define for_each_sctp_chunk(skb, sch, _sch, offset, dataoff, count) \ argument 142 for ((offset) = (dataoff) + sizeof(struct sctphdr), (count) = 0; \ 150 unsigned int dataoff, in do_basic_checks() argument 160 for_each_sctp_chunk (skb, sch, _sch, offset, dataoff, count) { in do_basic_checks() 241 const struct sctphdr *sh, unsigned int dataoff) in sctp_new() argument 250 for_each_sctp_chunk(skb, sch, _sch, offset, dataoff, count) { in sctp_new() 296 unsigned int dataoff, in sctp_error() argument 302 if (skb->len < dataoff + sizeof(struct sctphdr)) { in sctp_error() 309 if (skb_ensure_writable(skb, dataoff + sizeof(*sh))) { in sctp_error() 313 sh = (const struct sctphdr *)(skb->data + dataoff); in sctp_error() [all …]
|
| H A D | nf_conntrack_amanda.c | 90 unsigned int dataoff, start, stop, off, i; in amanda_help() local 106 dataoff = protoff + sizeof(struct udphdr); in amanda_help() 107 if (dataoff >= skb->len) { in amanda_help() 112 start = skb_find_text(skb, dataoff, skb->len, in amanda_help() 116 start += dataoff + search[SEARCH_CONNECT].len; in amanda_help() 155 off - dataoff, len, exp); in amanda_help()
|
| H A D | nf_conntrack_proto_tcp.c | 315 unsigned int dataoff, in segment_seq_plus_len() argument 320 return (seq + len - dataoff - tcph->doff*4 in segment_seq_plus_len() 334 unsigned int dataoff, in tcp_options() argument 345 ptr = skb_header_pointer(skb, dataoff + sizeof(struct tcphdr), in tcp_options() 391 static void tcp_sack(const struct sk_buff *skb, unsigned int dataoff, in tcp_sack() argument 402 ptr = skb_header_pointer(skb, dataoff + sizeof(struct tcphdr), in tcp_sack() 458 unsigned int dataoff, in tcp_init_sender() argument 470 tcp_options(skb, dataoff, tcph, sender); in tcp_init_sender() 556 unsigned int dataoff, const struct tcphdr *tcph, in tcp_in_window() argument 574 end = segment_seq_plus_len(seq, skb->len, dataoff, tcph); in tcp_in_window() [all …]
|
| H A D | nf_conntrack_irc.c | 100 unsigned int dataoff; in help() local 131 dataoff = protoff + th->doff*4; in help() 132 if (dataoff >= skb->len) in help() 135 datalen = skb->len - dataoff; in help() 140 ib_ptr = skb_header_pointer(skb, dataoff, datalen, in help()
|
| H A D | nf_conntrack_core.c | 249 unsigned int dataoff, in nf_ct_get_tuple_ports() argument 257 inet_hdr = skb_header_pointer(skb, dataoff, sizeof(_inet_hdr), &_inet_hdr); in nf_ct_get_tuple_ports() 269 unsigned int dataoff, in nf_ct_get_tuple() argument 316 return icmpv6_pkt_to_tuple(skb, dataoff, net, tuple); in nf_ct_get_tuple() 319 return icmp_pkt_to_tuple(skb, dataoff, net, tuple); in nf_ct_get_tuple() 322 return gre_pkt_to_tuple(skb, dataoff, net, tuple); in nf_ct_get_tuple() 330 return nf_ct_get_tuple_ports(skb, dataoff, tuple); in nf_ct_get_tuple() 341 int dataoff = -1; in ipv4_get_l4proto() local 355 dataoff = nhoff + (iph->ihl << 2); in ipv4_get_l4proto() 359 if (dataoff > sk in ipv4_get_l4proto() 1757 init_conntrack(struct net * net,struct nf_conn * tmpl,const struct nf_conntrack_tuple * tuple,struct sk_buff * skb,unsigned int dataoff,u32 hash) init_conntrack() argument 1864 resolve_normal_ct(struct nf_conn * tmpl,struct sk_buff * skb,unsigned int dataoff,u_int8_t protonum,const struct nf_hook_state * state) resolve_normal_ct() argument 1935 nf_conntrack_handle_icmp(struct nf_conn * tmpl,struct sk_buff * skb,unsigned int dataoff,u8 protonum,const struct nf_hook_state * state) nf_conntrack_handle_icmp() argument 1971 nf_conntrack_handle_packet(struct nf_conn * ct,struct sk_buff * skb,unsigned int dataoff,enum ip_conntrack_info ctinfo,const struct nf_hook_state * state) nf_conntrack_handle_packet() argument 2009 int dataoff, ret; nf_conntrack_in() local [all...] |
| H A D | nf_conntrack_ftp.c | 366 unsigned int dataoff, datalen; in help() local 399 dataoff = protoff + th->doff * 4; in help() 401 if (dataoff >= skb->len) { in help() 402 pr_debug("ftp: dataoff(%u) >= skblen(%u)\n", dataoff, in help() 406 datalen = skb->len - dataoff; in help() 410 fb_ptr = skb->data + dataoff; in help()
|
| H A D | nf_nat_helper.c | 26 unsigned int dataoff, in mangle_contents() argument 35 data = skb_network_header(skb) + dataoff; in mangle_contents() 40 skb_tail_pointer(skb) - (skb_network_header(skb) + dataoff + in mangle_contents()
|
| /linux/net/ipv4/netfilter/ |
| H A D | nf_nat_h323.c | 24 unsigned char **data, int dataoff, in set_addr() argument 38 addroff += dataoff; in set_addr() 53 *data = skb->data + ip_hdrlen(skb) + th->doff * 4 + dataoff; in set_addr() 72 unsigned char **data, int dataoff, in set_h225_addr() argument 76 return set_addr(skb, protoff, data, dataoff, taddr->ipAddress.ip, in set_h225_addr() 82 unsigned char **data, int dataoff, in set_h245_addr() argument 86 return set_addr(skb, protoff, data, dataoff, in set_h245_addr() 179 unsigned int protoff, unsigned char **data, int dataoff, in nat_rtp_rtcp() argument 249 if (set_h245_addr(skb, protoff, data, dataoff, taddr, in nat_rtp_rtcp() 280 unsigned int protoff, unsigned char **data, int dataoff, in nat_t120() argument [all …]
|
| H A D | nf_reject_ipv4.c | 115 int dataoff; in nf_reject_skb_v4_unreach() 139 dataoff = ip_hdrlen(oldskb); in nf_reject_skb_v4_unreach() 143 nf_reject_verify_csum(oldskb, dataoff, proto) && in nf_reject_skb_v4_unreach() 363 int dataoff = ip_hdrlen(skb_in); in nf_send_unreach() 378 !nf_reject_verify_csum(skb_in, dataoff, proto)) { 383 if (nf_ip_checksum(skb_in, hook, dataoff, proto) == 0) 114 int dataoff; nf_reject_skb_v4_unreach() local 351 int dataoff = ip_hdrlen(skb_in); nf_send_unreach() local
|
| /linux/include/net/netfilter/ |
| H A D | nf_reject.h | 8 static inline bool nf_reject_verify_csum(struct sk_buff *skb, int dataoff, in nf_reject_verify_csum() argument 20 udp_hdr = skb_header_pointer(skb, dataoff, in nf_reject_verify_csum()
|
| /linux/include/linux/ |
| H A D | netfilter_ipv4.h | 25 unsigned int dataoff, u_int8_t protocol); 30 unsigned int dataoff, u_int8_t protocol) in nf_ip_checksum() argument
|
| H A D | udp.h | 28 unsigned int dataoff) in udp_get_len() argument 33 return skb->len - dataoff; in udp_get_len()
|
| /linux/drivers/nvdimm/ |
| H A D | btt.h | 109 __le64 dataoff; member 182 u64 dataoff; member
|
| H A D | pfn_devs.c | 196 u64 offset = __le64_to_cpu(pfn_sb->dataoff); in resource_show() 222 u64 offset = __le64_to_cpu(pfn_sb->dataoff); in size_show() 369 meta_num = (le64_to_cpu(pfn_sb->dataoff) >> 9) - meta_start; in nd_pfn_clear_memmap_errors() 376 rc = devm_namespace_enable(&nd_pfn->dev, ndns, le64_to_cpu(pfn_sb->dataoff)); in nd_pfn_clear_memmap_errors() 495 offset = le64_to_cpu(pfn_sb->dataoff); in nd_pfn_validate() 677 u64 offset = le64_to_cpu(pfn_sb->dataoff); in __nvdimm_setup_pfn() 817 pfn_sb->dataoff = cpu_to_le64(offset); in nd_pfn_init()
|
| H A D | pfn.h | 23 __le64 dataoff; /* relative to namespace_base + start_pad */ member
|
| H A D | btt.c | 248 debugfs_create_x64("dataoff", S_IRUGO, d, &a->dataoff); in arena_debugfs_init() 504 return arena->dataoff + ((u64)lba * arena->internal_lbasize); in to_namespace_offset() 791 arena->dataoff = arena->infooff + BTT_PG_SIZE; in alloc_arena() 792 arena->mapoff = arena->dataoff + datasize; in alloc_arena() 834 arena->dataoff = arena_off + le64_to_cpu(super->dataoff); in parse_arena_meta() 1011 super->dataoff = cpu_to_le64(arena->dataoff - arena->infooff); in btt_arena_write_layout()
|
| /linux/drivers/net/ethernet/fungible/funcore/ |
| H A D | fun_queue.c | 236 u32 bufoff, total_len, remaining, fragsize, dataoff; in fun_data_from_rq() local 266 dataoff = 0; in fun_data_from_rq() 274 memcpy(data + dataoff, page_address(rqinfo->page), in fun_data_from_rq() 276 dataoff += fragsize; in fun_data_from_rq()
|