/bind-9.11.3/lib/dns/tests/ |
H A D | peer_test.c | 24 ATF_TC(dscp); variable 25 ATF_TC_HEAD(dscp, tc) { 29 ATF_TC_BODY(dscp, tc) { 34 isc_dscp_t dscp; local 49 * 'dscp' should remain unchanged. 51 dscp = 100; 52 result = dns_peer_getquerydscp(peer, &dscp); 54 ATF_REQUIRE_EQ(dscp, 100); 56 result = dns_peer_getnotifydscp(peer, &dscp); 58 ATF_REQUIRE_EQ(dscp, 10 [all...] |
/bind-9.11.3/lib/dns/include/dns/ |
H A D | forward.h | 24 isc_dscp_t dscp; member in struct:dns_forwarder
|
H A D | adb.h | 214 isc_dscp_t dscp; member in struct:dns_adbaddrinfo
|
/bind-9.11.3/bin/named/include/named/ |
H A D | listenlist.h | 40 isc_dscp_t dscp; /* -1 = not set, 0..63 */ member in struct:ns_listenelt 56 ns_listenelt_create(isc_mem_t *mctx, in_port_t port, isc_dscp_t dscp, 87 ns_listenlist_default(isc_mem_t *mctx, in_port_t port, isc_dscp_t dscp,
|
H A D | interfacemgr.h | 74 isc_dscp_t dscp; /*%< "listen-on" DSCP value */ member in struct:ns_interface
|
H A D | client.h | 144 isc_dscp_t dscp; member in struct:ns_client
|
/bind-9.11.3/bin/named/ |
H A D | listenlist.c | 26 ns_listenelt_create(isc_mem_t *mctx, in_port_t port, isc_dscp_t dscp, argument 37 elt->dscp = dscp; 95 ns_listenlist_default(isc_mem_t *mctx, in_port_t port, isc_dscp_t dscp, argument 111 result = ns_listenelt_create(mctx, port, dscp, acl, &elt);
|
H A D | config.c | 445 isc_dscp_t dscp = -1, *dscps = NULL; local 473 dscpobj = cfg_tuple_get(list, "dscp"); 477 "dscp value '%u' is out of range", 481 dscp = (isc_dscp_t)cfg_obj_asuint32(dscpobj); 508 innerdscp = dscp; 582 isc_dscp_t dscp = -1; local 591 isc_dscp_t dscp; member in struct:__anon6 609 result = ns_config_getdscp(config, &dscp); 616 dscpobj = cfg_tuple_get(list, "dscp"); 632 "dscp valu [all...] |
H A D | interfacemgr.c | 388 ifp->dscp = -1; 503 if (ifp->dscp != -1) 504 isc_socket_dscp(ifp->tcpsocket, ifp->dscp); 542 isc_boolean_t accept_tcp, isc_dscp_t dscp, 554 ifp->dscp = dscp; 864 if (le->dscp != -1 && ifp->dscp == -1) 865 ifp->dscp = le->dscp; 540 ns_interface_setup(ns_interfacemgr_t *mgr, isc_sockaddr_t *addr, const char *name, ns_interface_t **ifpret, isc_boolean_t accept_tcp, isc_dscp_t dscp, isc_boolean_t *addr_in_use) argument [all...] |
H A D | zoneconf.c | 797 isc_dscp_t dscp; local 1140 dscp = cfg_obj_getdscp(obj); 1141 if (dscp == -1) 1142 dscp = ns_g_dscp; 1143 RETERR(dns_zone_setnotifysrc4dscp(zone, dscp)); 1150 dscp = cfg_obj_getdscp(obj); 1151 if (dscp == -1) 1152 dscp = ns_g_dscp; 1153 RETERR(dns_zone_setnotifysrc6dscp(zone, dscp)); 1653 dscp [all...] |
/bind-9.11.3/lib/isc/ |
H A D | socket_api.c | 213 isc_socket_dscp(isc_socket_t *sock, isc_dscp_t dscp) { argument 216 sock->methods->dscp(sock, dscp);
|
/bind-9.11.3/lib/dns/ |
H A D | peer.c | 796 dns_peer_setnotifydscp(dns_peer_t *peer, isc_dscp_t dscp) { argument 798 REQUIRE(dscp < 64); 800 peer->notify_dscp = dscp; 818 dns_peer_settransferdscp(dns_peer_t *peer, isc_dscp_t dscp) { argument 820 REQUIRE(dscp < 64); 822 peer->transfer_dscp = dscp; 840 dns_peer_setquerydscp(dns_peer_t *peer, isc_dscp_t dscp) { argument 842 REQUIRE(dscp < 64); 844 peer->query_dscp = dscp;
|
H A D | request.c | 83 isc_dscp_t dscp; member in struct:dns_request 440 if (request->dscp == -1) { 442 sendevent->dscp = 0; 445 sendevent->dscp = request->dscp; 481 request->dscp = -1; 523 isc_sockaddr_t *destaddr, isc_dscp_t dscp, 586 isc_socket_dscp(sock, dscp); 654 isc_dscp_t dscp, isc_boolean_t *connected, 661 srcaddr, destaddr, dscp, 520 create_tcp_dispatch(isc_boolean_t newtcp, isc_boolean_t share, dns_requestmgr_t *requestmgr, isc_sockaddr_t *srcaddr, isc_sockaddr_t *destaddr, isc_dscp_t dscp, isc_boolean_t *connected, dns_dispatch_t **dispatchp) argument 651 get_dispatch(isc_boolean_t tcp, isc_boolean_t newtcp, isc_boolean_t share, dns_requestmgr_t *requestmgr, isc_sockaddr_t *srcaddr, isc_sockaddr_t *destaddr, isc_dscp_t dscp, isc_boolean_t *connected, dns_dispatch_t **dispatchp) argument 733 dns_request_createraw4(dns_requestmgr_t *requestmgr, isc_buffer_t *msgbuf, isc_sockaddr_t *srcaddr, isc_sockaddr_t *destaddr, isc_dscp_t dscp, unsigned int options, unsigned int timeout, unsigned int udptimeout, unsigned int udpretries, isc_task_t *task, isc_taskaction_t action, void *arg, dns_request_t **requestp) argument 968 dns_request_createvia4(dns_requestmgr_t *requestmgr, dns_message_t *message, isc_sockaddr_t *srcaddr, isc_sockaddr_t *destaddr, isc_dscp_t dscp, unsigned int options, dns_tsigkey_t *key, unsigned int timeout, unsigned int udptimeout, unsigned int udpretries, isc_task_t *task, isc_taskaction_t action, void *arg, dns_request_t **requestp) argument [all...] |
H A D | xfrin.c | 117 isc_dscp_t dscp; member in struct:dns_xfrin_ctx 192 isc_dscp_t dscp, 636 isc_dscp_t dscp; local 641 dscp = dns_zone_getxfrsource4dscp(zone); 645 dscp = dns_zone_getxfrsource6dscp(zone); 652 dscp, tsigkey, mctx, timermgr, socketmgr, 672 isc_dscp_t dscp, dns_tsigkey_t *tsigkey, isc_mem_t *mctx, 691 sourceaddr, dscp, tsigkey, &xfr)); 816 isc_dscp_t dscp, 850 xfr->dscp 670 dns_xfrin_create3(dns_zone_t *zone, dns_rdatatype_t xfrtype, isc_sockaddr_t *masteraddr, isc_sockaddr_t *sourceaddr, isc_dscp_t dscp, dns_tsigkey_t *tsigkey, isc_mem_t *mctx, isc_timermgr_t *timermgr, isc_socketmgr_t *socketmgr, isc_task_t *task, dns_xfrindone_t done, dns_xfrin_ctx_t **xfrp) argument 805 xfrin_create(isc_mem_t *mctx, dns_zone_t *zone, dns_db_t *db, isc_task_t *task, isc_timermgr_t *timermgr, isc_socketmgr_t *socketmgr, dns_name_t *zonename, dns_rdataclass_t rdclass, dns_rdatatype_t reqtype, isc_sockaddr_t *masteraddr, isc_sockaddr_t *sourceaddr, isc_dscp_t dscp, dns_tsigkey_t *tsigkey, dns_xfrin_ctx_t **xfrp) argument [all...] |
H A D | dispatch.c | 211 isc_dscp_t dscp; /*%< "listen-on" DSCP value */ member in struct:dns_dispatch 2408 disp->dscp = -1; 3876 dns_dispatch_setdscp(dns_dispatch_t *disp, isc_dscp_t dscp) { argument 3878 disp->dscp = dscp; 3884 return (disp->dscp);
|
/bind-9.11.3/lib/isc/unix/ |
H A D | net.c | 506 int dscp = (46 << 2); /* Expedited forwarding. */ local 548 *(unsigned char*)CMSG_DATA(cmsgp) = dscp; 554 memset(cmsgp, 0, cmsg_space(sizeof(dscp))); 557 cmsgp->cmsg_len = cmsg_len(sizeof(dscp)); 558 memmove(CMSG_DATA(cmsgp), &dscp, sizeof(dscp)); local 559 msg.msg_controllen += cmsg_space(sizeof(dscp)); 594 typestr, dscp, msgstr, strbuf); 630 int s, dscp = 0, n; local 664 if (setsockopt(s, IPPROTO_IP, IP_TOS, &dscp, sizeo 695 int s, dscp = 0, n; local [all...] |
H A D | socket.c | 137 * Set by the -T dscp option on the command line. If set to a value 370 pktdscp : 1; /* per packet dscp */ 385 unsigned int dscp; member in struct:isc__socket 495 static void setdscp(isc__socket_t *sock, isc_dscp_t dscp); 587 isc__socket_dscp(isc_socket_t *sock, isc_dscp_t dscp); 1398 dev->dscp = *(int *)CMSG_DATA(cmsgp); 1399 dev->dscp >>= 2; 1412 dev->dscp = (int) *(unsigned char *)CMSG_DATA(cmsgp); 1413 dev->dscp >>= 2; 1565 INSIST((int)dev->dscp 1573 int dscp = (dev->dscp << 2) & 0xff; local 1619 memmove(CMSG_DATA(cmsgp), &dscp, sizeof(dscp)); local 6362 setdscp(isc__socket_t *sock, isc_dscp_t dscp) argument 6406 isc__socket_dscp(isc_socket_t *sock0, isc_dscp_t dscp) argument [all...] |
/bind-9.11.3/lib/isccfg/include/isccfg/ |
H A D | grammar.h | 172 isc_dscp_t dscp; member in struct:cfg_obj::__anon308::__anon309 361 cfg_parse_dscp(cfg_parser_t *pctx, isc_dscp_t *dscp);
|
/bind-9.11.3/bin/dig/include/dig/ |
H A D | dig.h | 190 isc_dscp_t dscp; member in struct:dig_lookup
|
/bind-9.11.3/lib/isc/include/isc/ |
H A D | socket.h | 226 unsigned int dscp; /*%< UDP dscp value */ member in struct:isc_socketevent 369 void (*dscp)(isc_socket_t *socket, isc_dscp_t dscp); member in struct:isc_socketmethods 1140 isc_socket_dscp(isc_socket_t *sock, isc_dscp_t dscp); 1143 * transmitted on this socket. If 'dscp' is -1, return immediately.
|
/bind-9.11.3/bin/tools/ |
H A D | mdig.c | 110 static isc_dscp_t dscp = -1; variable 686 dscp, options, NULL, 746 " +[no]dscp[=###] (Set the DSCP value to ### [0..63])\n" 1209 case 's': /* dscp */ 1210 FULLCHECK("dscp"); 1213 dscp = -1; 1220 dscp = num;
|
/bind-9.11.3/lib/isccfg/ |
H A D | parser.c | 2429 cfg_parse_dscp(cfg_parser_t *pctx, isc_dscp_t *dscp) { argument 2433 REQUIRE(dscp != NULL); 2444 "dscp out of range"); 2447 *dscp = (isc_dscp_t)(pctx->token.value.as_ulong); 2627 isc_dscp_t dscp = -1; local 2641 strcasecmp(TOKEN_STRING(pctx), "dscp") == 0) 2643 CHECK(cfg_gettoken(pctx, 0)); /* read "dscp" */ 2644 CHECK(cfg_parse_dscp(pctx, &dscp)); 2658 cfg_parser_error(pctx, 0, "expected at most one dscp"); 2663 obj->value.sockaddrdscp.dscp [all...] |
H A D | namedconf.c | 162 { "dscp", &cfg_type_optional_dscp, 0 }, 189 { "dscp", &cfg_type_optional_dscp, 0 }, 225 { "dscp", &cfg_type_optional_dscp, 0 }, 240 { "dscp", &cfg_type_optional_dscp, 0 }, 614 static keyword_type_t dscp_kw = { "dscp", &cfg_type_uint32 }; 1047 { "dscp", &cfg_type_uint32, 0 }, 3071 isc_dscp_t dscp = -1; local 3103 } else if (strcasecmp(TOKEN_STRING(pctx), "dscp") == 0) 3105 /* read "dscp" */ 3107 CHECK(cfg_parse_dscp(pctx, &dscp)); [all...] |
/bind-9.11.3/lib/bind9/ |
H A D | check.c | 906 (void)cfg_map_get(options, "dscp", &obj); 908 isc_uint32_t dscp = cfg_obj_asuint32(obj); local 909 if (dscp >= 64) { 911 "'dscp' out of range (0-63)");
|
/bind-9.11.3/lib/isc/win32/ |
H A D | socket.c | 74 * Set by the -T dscp option on the command line. If set to a value 1100 ev->dscp = 0; 3897 isc__socket_dscp(isc_socket_t *sock, isc_dscp_t dscp) { argument 3899 UNUSED(dscp); 3901 if (dscp < 0) 3904 dscp <<= 2; 3905 dscp &= 0xff; 3913 (char *)&dscp, sizeof(dscp)); 3919 (char *)&dscp, sizeo [all...] |