Home
last modified time | relevance | path

Searched refs:qlen (Results 1 – 25 of 45) sorted by relevance

12

/external/dnsmasq/src/
Drfc1035.c430 static unsigned char* do_doctor(unsigned char* p, int count, HEADER* header, size_t qlen) { in do_doctor() argument
435 if (!(p = skip_name(p, header, qlen, 10))) return 0; /* bad packet */ in do_doctor()
446 if (!CHECK_LEN(header, p, qlen, INADDRSZ)) return 0; in do_doctor()
467 if (!ADD_RDLEN(header, p, qlen, rdlen)) return 0; /* bad packet */ in do_doctor()
473 static int find_soa(HEADER* header, size_t qlen) { in find_soa() argument
480 if (!(p = skip_questions(header, qlen)) || in find_soa()
481 !(p = do_doctor(p, ntohs(header->ancount), header, qlen))) in find_soa()
485 if (!(p = skip_name(p, header, qlen, 10))) return 0; /* bad packet */ in find_soa()
497 if (!(p = skip_name(p, header, qlen, 0))) return 0; in find_soa()
499 if (!(p = skip_name(p, header, qlen, 20))) return 0; in find_soa()
[all …]
Ddnsmasq.h668 unsigned short extract_request(HEADER* header, size_t qlen, char* name, unsigned short* typep);
669 size_t setup_reply(HEADER* header, size_t qlen, struct all_addr* addrp, unsigned short flags,
671 int extract_addresses(HEADER* header, size_t qlen, char* namebuff, time_t now);
672 size_t answer_request(HEADER* header, char* limit, size_t qlen, struct in_addr local_addr,
674 int check_for_bogus_wildcard(HEADER* header, size_t qlen, char* name, struct bogus_addr* addr,
/external/curl/lib/
Ddotdot.c171 size_t qlen; in Curl_dedotdotify() local
176 qlen = strlen(&input[oindex]); in Curl_dedotdotify()
177 memcpy(outptr, &input[oindex], qlen + 1); /* include the end zero byte */ in Curl_dedotdotify()
/external/ltp/testcases/network/tcp_cc/
Dtcp_cc_lib.sh61 local qlen="${2:-1000}"
64 tst_res TINFO "set qdisc on $(tst_iface rhost) to $qdisc len $qlen"
69 tst_rhost_run -s -c "ip link set txqueuelen $qlen dev $rmt_dev"
/external/toybox/toys/pending/
Dhost.c71 i, j, ret, sec, count, rcode, qlen, alen, pllen = 0; in host_main() local
116 qlen = res_mkquery(0, name, 1, type, 0, 0, 0, qbuf, sizeof qbuf); in host_main()
117 if (qlen < 0) error_exit("Invalid query parameters: %s", name); in host_main()
130 send(s, qbuf, qlen, 0); in host_main()
132 } else alen = res_send(qbuf, qlen, abuf, sizeof abuf); in host_main()
/external/webrtc/webrtc/base/
Dbase64.cc226 size_t qlen = GetNextQuantum(parse_flags, (DO_PAD_NO == pad_flags), in DecodeFromArrayTemplate() local
229 if (qlen >= 2) { in DecodeFromArrayTemplate()
232 if (qlen >= 3) { in DecodeFromArrayTemplate()
235 if (qlen >= 4) { in DecodeFromArrayTemplate()
241 if (qlen < 4) { in DecodeFromArrayTemplate()
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/rmnet_data/rmnet_fc_map/
Dformat10 field:int qlen; offset:12; size:4; signed:1;
13 print fmt: "tcm_handle=%d qdisc length=%d flow %s", REC->handle, REC->qlen, REC->enable ? "enable" …
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/rmnet_data/rmnet_fc_map/
Dformat10 field:int qlen; offset:12; size:4; signed:1;
13 print fmt: "tcm_handle=%d qdisc length=%d flow %s", REC->handle, REC->qlen, REC->enable ? "enable" …
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/rmnet_data/rmnet_fc_qmi/
Dformat10 field:int qlen; offset:12; size:4; signed:1;
13 print fmt: "tcm_handle=%d qdisc length=%d flow %s", REC->handle, REC->qlen, REC->enable ? "enable" …
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/rmnet_data/rmnet_fc_qmi/
Dformat10 field:int qlen; offset:12; size:4; signed:1;
13 print fmt: "tcm_handle=%d qdisc length=%d flow %s", REC->handle, REC->qlen, REC->enable ? "enable" …
/external/libnl/src/lib/
Dlink.c83 uint32_t qlen = nl_cli_parse_u32(arg); in nl_cli_link_parse_txqlen() local
84 rtnl_link_set_txqlen(link, qlen); in nl_cli_link_parse_txqlen()
/external/strace/tests-m32/
Dnlattr_tcmsg.c93 .qlen = 0xabcdefab, in main()
107 PRINT_FIELD_U(", ", st, qlen); in main()
Dnlattr_tc_stats.c113 .qlen = 0xabcdeabd, in main()
122 PRINT_FIELD_U("{", qstats, qlen); in main()
/external/strace/tests-mx32/
Dnlattr_tcmsg.c93 .qlen = 0xabcdefab, in main()
107 PRINT_FIELD_U(", ", st, qlen); in main()
Dnlattr_tc_stats.c113 .qlen = 0xabcdeabd, in main()
122 PRINT_FIELD_U("{", qstats, qlen); in main()
/external/strace/tests/
Dnlattr_tcmsg.c93 .qlen = 0xabcdefab, in main()
107 PRINT_FIELD_U(", ", st, qlen); in main()
Dnlattr_tc_stats.c113 .qlen = 0xabcdeabd, in main()
122 PRINT_FIELD_U("{", qstats, qlen); in main()
/external/iproute2/ip/
Diplink.c554 int qlen = -1; in iplink_parse() local
606 if (qlen != -1) in iplink_parse()
608 if (get_integer(&qlen, *argv, 0)) in iplink_parse()
611 IFLA_TXQLEN, &qlen, 4); in iplink_parse()
1121 static int set_qlen(const char *dev, int qlen) in set_qlen() argument
1123 struct ifreq ifr = { .ifr_qlen = qlen }; in set_qlen()
1243 int qlen = -1; in do_set() local
1274 if (qlen != -1) in do_set()
1276 if (get_integer(&qlen, *argv, 0)) in do_set()
1386 if (qlen != -1) { in do_set()
[all …]
/external/python/cpython3/Lib/email/
D_encoded_words.py226 qlen = _cte_encode_length['q'](bstring)
229 encoding = 'q' if qlen - blen < 5 else 'b'
/external/tensorflow/tensorflow/core/common_runtime/eager/
Deager_executor.cc49 int64 qlen = node_queue_.size(); in Add() local
50 if (qlen > 0) { in Add()
/external/iproute2/tc/
Dtc_util.c759 sprint_size(q.backlog, b1), q.qlen, q.requeues); in print_tcstats2_attr()
787 if (st.bps || st.pps || st.qlen || st.backlog) { in print_tcstats_attr()
796 if (st.qlen || st.backlog) { in print_tcstats_attr()
800 if (st.qlen) in print_tcstats_attr()
801 fprintf(fp, "%up ", st.qlen); in print_tcstats_attr()
/external/libnl/include/linux-private/linux/
Dgen_stats.h49 __u32 qlen; member
/external/strace/
Drtnl_tc.c65 PRINT_FIELD_U(", ", st, qlen); in decode_tc_stats()
152 PRINT_FIELD_U("{", qstats, qlen); in decode_gnet_stats_queue()
/external/iproute2/include/uapi/linux/
Dgen_stats.h62 __u32 qlen; member
/external/kernel-headers/original/uapi/linux/
Dgen_stats.h63 __u32 qlen; member

12