/net/netfilter/ |
D | nf_conntrack_sip.c | 57 unsigned int *datalen) __read_mostly; 68 unsigned int *datalen, 77 unsigned int *datalen, 88 unsigned int *datalen, 98 unsigned int *datalen, 107 unsigned int *datalen, 287 const char *dptr, unsigned int datalen, in ct_sip_parse_request() argument 291 const char *start = dptr, *limit = dptr + datalen, *end; in ct_sip_parse_request() 418 unsigned int dataoff, unsigned int datalen, in ct_sip_get_header() argument 423 const char *start = dptr, *limit = dptr + datalen; in ct_sip_get_header() [all …]
|
D | nf_nat_sip.c | 33 const char **dptr, unsigned int *datalen, in mangle_packet() argument 63 *datalen += buflen - matchlen; in mangle_packet() 91 const char **dptr, unsigned int *datalen, in map_addr() argument 120 return mangle_packet(skb, protoff, dataoff, dptr, datalen, in map_addr() 126 const char **dptr, unsigned int *datalen, in map_sip_addr() argument 135 if (ct_sip_parse_header_uri(ct, *dptr, NULL, *datalen, type, NULL, in map_sip_addr() 138 return map_addr(skb, protoff, dataoff, dptr, datalen, in map_sip_addr() 144 const char **dptr, unsigned int *datalen) in nf_nat_sip() argument 158 if (ct_sip_parse_request(ct, *dptr, *datalen, in nf_nat_sip() 161 !map_addr(skb, protoff, dataoff, dptr, datalen, in nf_nat_sip() [all …]
|
D | nf_conntrack_sane.c | 66 unsigned int dataoff, datalen; in help() local 93 datalen = skb->len - dataoff; in help() 96 sb_ptr = skb_header_pointer(skb, dataoff, datalen, sane_buffer); in help() 100 if (datalen != sizeof(struct sane_request)) in help() 122 if (datalen < sizeof(struct sane_reply_net_start)) { in help()
|
D | nf_nat_helper.c | 188 int oldlen, datalen; in __nf_nat_mangle_tcp_packet() local 206 datalen = skb->len - protoff; in __nf_nat_mangle_tcp_packet() 210 datalen, oldlen); in __nf_nat_mangle_tcp_packet() 242 int datalen, oldlen; in nf_nat_mangle_udp_packet() local 259 datalen = skb->len - protoff; in nf_nat_mangle_udp_packet() 260 udph->len = htons(datalen); in nf_nat_mangle_udp_packet() 268 datalen, oldlen); in nf_nat_mangle_udp_packet()
|
D | nf_conntrack_h323_main.c | 121 unsigned char **data, int *datalen, int *dataoff) in get_tpkt_data() argument 163 *datalen = info->tpkt_len[dir]; in get_tpkt_data() 178 tpktoff = *dataoff + *datalen; in get_tpkt_data() 182 tpkt = *data + *datalen; in get_tpkt_data() 209 *datalen = tpktlen - 4; in get_tpkt_data() 587 int datalen; in h245_help() local 601 &data, &datalen, &dataoff)) { in h245_help() 602 pr_debug("nf_ct_h245: TPKT len=%d ", datalen); in h245_help() 606 ret = DecodeMultimediaSystemControlMessage(data, datalen, in h245_help() 1162 int datalen; in q931_help() local [all …]
|
D | nf_conntrack_ftp.c | 355 unsigned int dataoff, datalen; in help() local 389 datalen = skb->len - dataoff; in help() 392 fb_ptr = skb_header_pointer(skb, dataoff, datalen, ftp_buffer); in help() 395 ends_in_nl = (fb_ptr[datalen - 1] == '\n'); in help() 396 seq = ntohl(th->seq) + datalen; in help() 424 found = find_pattern(fb_ptr, datalen, in help()
|
D | nf_conntrack_pptp.c | 521 unsigned int datalen, reqlen, nexthdr_off; in conntrack_pptp_help() local 534 datalen = tcplen - tcph->doff * 4; in conntrack_pptp_help() 542 datalen -= sizeof(_pptph); in conntrack_pptp_help() 555 datalen -= sizeof(_ctlh); in conntrack_pptp_help() 557 reqlen = datalen; in conntrack_pptp_help()
|
/net/dns_resolver/ |
D | dns_key.c | 67 size_t datalen = prep->datalen, result_len = 0; in dns_resolver_instantiate() local 72 (int)datalen, (int)datalen, data, datalen); in dns_resolver_instantiate() 74 if (datalen <= 1 || !data || data[datalen - 1] != '\0') in dns_resolver_instantiate() 76 datalen--; in dns_resolver_instantiate() 79 end = data + datalen; in dns_resolver_instantiate() 80 opt = memchr(data, '#', datalen); in dns_resolver_instantiate() 84 result_len = datalen; in dns_resolver_instantiate() 160 upayload->datalen = result_len; in dns_resolver_instantiate() 219 seq_printf(m, ": %u", key->datalen); in dns_resolver_describe()
|
D | dns_query.c | 146 len = upayload->datalen; in dns_query()
|
/net/rxrpc/ |
D | ar-key.c | 106 ret = key_payload_reserve(key, key->datalen + plen); in rxrpc_instantiate_xdr_rxkad() 435 ret = key_payload_reserve(key, key->datalen + toklen); in rxrpc_instantiate_xdr_rxk5() 548 static int rxrpc_instantiate_xdr(struct key *key, const void *data, size_t datalen) in rxrpc_instantiate_xdr() argument 557 datalen); in rxrpc_instantiate_xdr() 559 if (datalen > AFSTOKEN_LENGTH_MAX) in rxrpc_instantiate_xdr() 563 if (datalen & 3) in rxrpc_instantiate_xdr() 570 datalen -= 4; in rxrpc_instantiate_xdr() 576 datalen -= 4; in rxrpc_instantiate_xdr() 578 if (tmp > datalen) in rxrpc_instantiate_xdr() 591 datalen -= tmp; in rxrpc_instantiate_xdr() [all …]
|
/net/netfilter/ipvs/ |
D | ip_vs_pe_sip.c | 30 unsigned int datalen, in get_callid() argument 35 int ret = ct_sip_get_header(NULL, dptr, dataoff, datalen, in get_callid() 50 if (*matchoff + *matchlen == datalen) in get_callid() 70 unsigned int dataoff, datalen, matchoff, matchlen; in ip_vs_sip_fill_param() local 95 datalen = skb->len - dataoff; in ip_vs_sip_fill_param() 97 if (get_callid(dptr, dataoff, datalen, &matchoff, &matchlen)) in ip_vs_sip_fill_param()
|
/net/ipv4/netfilter/ |
D | nf_nat_l3proto_ipv4.c | 128 int datalen, int oldlen) in nf_nat_ipv4_csum_recalc() argument 142 datalen, proto, 0); in nf_nat_ipv4_csum_recalc() 146 datalen, proto, in nf_nat_ipv4_csum_recalc() 147 csum_partial(data, datalen, in nf_nat_ipv4_csum_recalc() 154 htons(oldlen), htons(datalen), 1); in nf_nat_ipv4_csum_recalc()
|
/net/ipv6/netfilter/ |
D | nf_nat_l3proto_ipv6.c | 132 int datalen, int oldlen) in nf_nat_ipv6_csum_recalc() argument 146 datalen, proto, 0); in nf_nat_ipv6_csum_recalc() 150 datalen, proto, in nf_nat_ipv6_csum_recalc() 151 csum_partial(data, datalen, in nf_nat_ipv6_csum_recalc() 158 htons(oldlen), htons(datalen), 1); in nf_nat_ipv6_csum_recalc()
|
/net/sched/ |
D | ematch.c | 239 if (em->ops->datalen && data_len < em->ops->datalen) in tcf_em_validate() 273 em->datalen = data_len; in tcf_em_validate() 470 } else if (em->datalen > 0) in tcf_em_tree_dump() 471 nla_put_nohdr(skb, em->datalen, (void *) em->data); in tcf_em_tree_dump()
|
D | em_nbyte.c | 35 em->datalen = sizeof(*nbyte) + nbyte->len; in em_nbyte_change() 36 em->data = (unsigned long)kmemdup(data, em->datalen, GFP_KERNEL); in em_nbyte_change()
|
D | em_ipset.c | 35 em->datalen = sizeof(*set); in em_ipset_change() 36 em->data = (unsigned long)kmemdup(data, em->datalen, GFP_KERNEL); in em_ipset_change()
|
D | em_u32.c | 43 .datalen = sizeof(struct tc_u32_key),
|
D | em_cmp.c | 78 .datalen = sizeof(struct tcf_em_cmp),
|
D | em_canid.c | 182 m->datalen = sizeof(struct canid_match) + len; in em_canid_change()
|
D | em_text.c | 97 m->datalen = sizeof(*tm); in em_text_change()
|
/net/ceph/ |
D | crypto.c | 430 size_t datalen = prep->datalen; in ceph_key_instantiate() local 435 if (datalen <= 0 || datalen > 32767 || !prep->data) in ceph_key_instantiate() 438 ret = key_payload_reserve(key, datalen); in ceph_key_instantiate() 449 ret = ceph_crypto_key_decode(ckey, &p, (char*)prep->data+datalen); in ceph_key_instantiate()
|
/net/core/ |
D | pktgen.c | 2565 int datalen) in pktgen_finalize_skb() argument 2571 datalen -= sizeof(*pgh); in pktgen_finalize_skb() 2574 memset(skb_put(skb, datalen), 0, datalen); in pktgen_finalize_skb() 2583 len = datalen - frags * PAGE_SIZE; in pktgen_finalize_skb() 2586 datalen = frags * PAGE_SIZE; in pktgen_finalize_skb() 2590 frag_len = (datalen/frags) < PAGE_SIZE ? in pktgen_finalize_skb() 2591 (datalen/frags) : PAGE_SIZE; in pktgen_finalize_skb() 2592 while (datalen > 0) { in pktgen_finalize_skb() 2608 (datalen < PAGE_SIZE ? datalen : PAGE_SIZE)); in pktgen_finalize_skb() 2611 datalen -= skb_frag_size(&skb_shinfo(skb)->frags[i]); in pktgen_finalize_skb() [all …]
|
/net/ipv6/ |
D | ip6_output.c | 1282 unsigned int datalen; in ip6_append_data() local 1303 datalen = length + fraggap; in ip6_append_data() 1305 …if (datalen > (cork->length <= mtu && !(cork->flags & IPCORK_ALLFRAG) ? mtu : maxfraglen) - fraghe… in ip6_append_data() 1306 datalen = maxfraglen - fragheaderlen - rt->dst.trailer_len; in ip6_append_data() 1311 alloclen = datalen + fragheaderlen; in ip6_append_data() 1315 if (datalen != length + fraggap) { in ip6_append_data() 1320 datalen += rt->dst.trailer_len; in ip6_append_data() 1324 fraglen = datalen + fragheaderlen; in ip6_append_data() 1384 copy = datalen - transhdrlen - fraggap; in ip6_append_data() 1397 length -= datalen - fraggap; in ip6_append_data()
|
/net/ipv4/ |
D | ip_output.c | 875 unsigned int datalen; in __ip_append_data() local 891 datalen = length + fraggap; in __ip_append_data() 892 if (datalen > mtu - fragheaderlen) in __ip_append_data() 893 datalen = maxfraglen - fragheaderlen; in __ip_append_data() 894 fraglen = datalen + fragheaderlen; in __ip_append_data() 909 if (datalen == length + fraggap) in __ip_append_data() 960 copy = datalen - transhdrlen - fraggap; in __ip_append_data() 968 length -= datalen - fraggap; in __ip_append_data()
|
/net/can/ |
D | bcm.c | 296 unsigned int datalen = head->nframes * CFSIZ; in bcm_send_to_user() local 299 skb = alloc_skb(sizeof(*head) + datalen, gfp_any()); in bcm_send_to_user() 309 memcpy(skb_put(skb, datalen), frames, datalen); in bcm_send_to_user()
|