Home
last modified time | relevance | path

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

/external/dnsmasq/src/
Drfc1035.c528 static unsigned char *do_doctor(unsigned char *p, int count, HEADER *header, size_t qlen) in do_doctor() argument
535 if (!(p = skip_name(p, header, qlen, 10))) in do_doctor()
548 if (!CHECK_LEN(header, p, qlen, INADDRSZ)) in do_doctor()
574 if (!ADD_RDLEN(header, p, qlen, rdlen)) in do_doctor()
581 static int find_soa(HEADER *header, size_t qlen) in find_soa() argument
589 if (!(p = skip_questions(header, qlen)) || in find_soa()
590 !(p = do_doctor(p, ntohs(header->ancount), header, qlen))) in find_soa()
595 if (!(p = skip_name(p, header, qlen, 10))) in find_soa()
610 if (!(p = skip_name(p, header, qlen, 0))) in find_soa()
613 if (!(p = skip_name(p, header, qlen, 20))) in find_soa()
[all …]
Ddnsmasq.h713 unsigned short extract_request(HEADER *header, size_t qlen,
715 size_t setup_reply(HEADER *header, size_t qlen,
718 int extract_addresses(HEADER *header, size_t qlen, char *namebuff, time_t now);
719 size_t answer_request(HEADER *header, char *limit, size_t qlen,
721 int check_for_bogus_wildcard(HEADER *header, size_t qlen, char *name,
/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/iproute2/ip/
Diplink.c278 int qlen = -1; in iplink_parse() local
316 if (qlen != -1) in iplink_parse()
318 if (get_integer(&qlen, *argv, 0)) in iplink_parse()
320 addattr_l(&req->n, sizeof(*req), IFLA_TXQLEN, &qlen, 4); in iplink_parse()
661 static int set_qlen(const char *dev, int qlen) in set_qlen() argument
672 ifr.ifr_qlen = qlen; in set_qlen()
787 int qlen = -1; in do_set() local
816 if (qlen != -1) in do_set()
818 if (get_integer(&qlen, *argv, 0)) in do_set()
919 if (qlen != -1) { in do_set()
[all …]
Dipaddress.c146 int qlen; in print_queuelen() local
149 qlen = *(int *)RTA_DATA(tb[IFLA_TXQLEN]); in print_queuelen()
165 qlen = ifr.ifr_qlen; in print_queuelen()
167 if (qlen) in print_queuelen()
168 fprintf(f, "qlen %d", qlen); in print_queuelen()
/external/libnl/src/lib/
Dlink.c63 uint32_t qlen = nl_cli_parse_u32(arg); in nl_cli_link_parse_txqlen() local
64 rtnl_link_set_txqlen(link, qlen); in nl_cli_link_parse_txqlen()
/external/iproute2/tc/
Dtc_util.c501 sprint_size(q.backlog, b1), q.qlen, q.requeues); in print_tcstats2_attr()
530 if (st.bps || st.pps || st.qlen || st.backlog) { in print_tcstats_attr()
539 if (st.qlen || st.backlog) { in print_tcstats_attr()
543 if (st.qlen) in print_tcstats_attr()
544 fprintf(fp, "%up ", st.qlen); in print_tcstats_attr()
/external/libnl/include/linux/
Dgen_stats.h42 __u32 qlen; member
Dpkt_sched.h39 __u32 qlen; member
/external/iproute2/include/linux/
Dgen_stats.h49 __u32 qlen; member
Dpkt_sched.h40 __u32 qlen; member
/external/kernel-headers/original/uapi/linux/
Dgen_stats.h60 __u32 qlen; member
Di2o-dev.h91 unsigned int qlen; /* Length in bytes of query string buffer */ member
Dpkt_sched.h40 __u32 qlen; member
/external/libvncserver/x11vnc/
Dxevents.c1645 int qlen, i; in check_xevents()
1647 qlen = XEventsQueued(dpy, QueuedAlready); in check_xevents()
1648 if (qlen >= bugout) { in check_xevents()
1650 " calling XSync(dpy, True)\n", qlen); in check_xevents()
1660 qlen = XEventsQueued(rdpy_ctrl, QueuedAlready); in check_xevents()
1661 for (i=0; i<qlen; i++) { in check_xevents()
1666 qlen = XEventsQueued(gdpy_ctrl, QueuedAlready); in check_xevents()
1667 for (i=0; i<qlen; i++) { in check_xevents()
Dnox11.h888 #define QLength(dpy) (((_XPrivDisplay)dpy)->qlen)
1316 int qlen; /* Length of input event queue */ member
/external/libnl/lib/route/
Dtc.c119 g->tc_stats[RTNL_TC_QLEN] = q->qlen; in tca_msg_parser()
142 g->tc_stats[RTNL_TC_QLEN] = st->qlen; in tca_msg_parser()
/external/netperf/
Dnettest_xti.c1382 bind_req.qlen = 1; in recv_xti_tcp_stream()
1387 bind_resp.qlen = 1; in recv_xti_tcp_stream()
3212 bind_req.qlen = 1; in recv_xti_udp_stream()
3217 bind_resp.qlen = 1; in recv_xti_udp_stream()
4299 bind_req.qlen = 1; in recv_xti_udp_rr()
4304 bind_resp.qlen = 1; in recv_xti_udp_rr()
4690 bind_req.qlen = 1; in recv_xti_tcp_rr()
4695 bind_resp.qlen = 1; in recv_xti_tcp_rr()
/external/libnl/include/
Dnetlink-types.h436 uint32_t qlen; member
/external/wpa_supplicant_8/wpa_supplicant/
Devents.c3099 size_t qlen = plen - 1; local
3103 qlen > 2 && pos[0] == WLAN_EID_QOS_MAP_SET &&
3104 pos[1] <= qlen - 2 && pos[1] >= 16)
/external/iproute2/doc/
Dip-cref.tex353 3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc cbq qlen 100
388 {\em qlen\/} is the default transmit queue length of the device measured
487 3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc cbq qlen 100
529 3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc cbq qlen 100
729 3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc cbq qlen 100