Searched refs:port (Results 1 - 25 of 442) sorted by relevance

1234567891011>>

/bind-9.11.3/bin/tests/virtual-time/
H A Dtestsock.pl18 my $port = 0;
20 GetOptions("p=i" => \$port,
32 my $sa = pack_sockaddr_in($port, $addr);
39 inet_ntoa($addr), $port);
/bind-9.11.3/bin/tests/system/
H A Dtestsock.pl18 my $port = 0;
20 GetOptions("p=i" => \$port,
32 my $sa = pack_sockaddr_in($port, $addr);
39 inet_ntoa($addr), $port);
H A Dsend.pl12 # Send a file to a given address and port using TCP. Used for
19 @ARGV == 2 or die "usage: send.pl host port [file ...]\n";
22 my $port = shift @ARGV;
24 my $sock = IO::Socket::INET->new(PeerAddr => $host, PeerPort => $port,
H A Dditch.pl10 # port, then exiting without waiting for a response.
12 # Usage: ditch.pl [-s <address>] [-p <port>] [filename]
20 # If not specified, address defaults to 127.0.0.1, port to 53.
32 print ("Usage: ditch.pl [-s address] [-p port] [file]\n");
42 my $port = 53;
43 $port = $options{p} if defined $options{p};
72 my $sock = IO::Socket::INET->new(PeerAddr => $addr, PeerPort => $port,
76 #print ("sent $bytes bytes to $addr:$port:\n");
H A Dpacket.pl12 # arbitrary address and port. The packet is specified in a file or on
33 # Usage: packet.pl [-a <address>] [-p <port>] [-t (udp|tcp)] [filename]
35 # If not specified, address defaults to 127.0.0.1, port to 53, protocol
48 print ("Usage: packet.pl [-a address] [-p port] [-t (tcp|udp)] [file]\n");
58 my $port = 53;
59 $port = $options{p} if defined $options{p};
86 my $sock = IO::Socket::INET->new(PeerAddr => $addr, PeerPort => $port,
97 print ("sent $bytes bytes to $addr:$port\n");
/bind-9.11.3/lib/isc/
H A Dportset.c25 * bit corresponding to a single port in the ascending order. For example,
26 * the second most significant bit of buf[0] corresponds to port 1.
34 portset_isset(isc_portset_t *portset, in_port_t port) { argument
35 return (ISC_TF((portset->buf[port >> 5] & ((isc_uint32_t)1 << (port & 31))) != 0));
39 portset_add(isc_portset_t *portset, in_port_t port) { argument
40 if (!portset_isset(portset, port)) {
42 portset->buf[port >> 5] |= ((isc_uint32_t)1 << (port & 31));
47 portset_remove(isc_portset_t *portset, in_port_t port) { argument
82 isc_portset_isset(isc_portset_t *portset, in_port_t port) argument
96 isc_portset_add(isc_portset_t *portset, in_port_t port) argument
103 isc_portset_remove(isc_portset_t *portset, in_port_t port) argument
[all...]
/bind-9.11.3/bin/tests/system/logfileconfig/ns1/
H A Dnamed.plainconf13 port 5300;
15 listen-on port 5300 {
24 inet 127.0.0.1 port 9593 allow {
H A Dnamed.dirconf15 port 5300;
17 listen-on port 5300 {
35 inet 127.0.0.1 port 9593 allow {
H A Dnamed.pipeconf15 port 5300;
17 listen-on port 5300 {
35 inet 127.0.0.1 port 9593 allow {
H A Dnamed.plain15 port 5300;
17 listen-on port 5300 {
42 inet 127.0.0.1 port 9593 allow {
H A Dnamed.symconf15 port 5300;
17 listen-on port 5300 {
35 inet 127.0.0.1 port 9593 allow {
H A Dnamed.unlimited13 port 5300;
15 listen-on port 5300 {
42 inet 127.0.0.1 port 9593 allow {
H A Dnamed.versconf13 port 5300;
15 listen-on port 5300 {
42 inet 127.0.0.1 port 9593 allow {
/bind-9.11.3/bin/tests/system/rndc/ns6/
H A Dnamed.conf.in12 port 5300;
25 inet 10.53.0.6 port 9953 allow { any; } keys { rndc_key; };
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/
H A Dnet.h42 perf_net_parseserver(int family, const char *name, unsigned int port,
46 perf_net_parselocal(int family, const char *name, unsigned int port,
H A Dnet.c69 perf_net_parseserver(int family, const char *name, unsigned int port, argument
76 if (port == 0) {
77 fprintf(stderr, "server port cannot be 0\n");
83 result = bind9_getaddresses(name, port, addrs, 8, &count);
101 perf_net_parselocal(int family, const char *name, unsigned int port, argument
109 isc_sockaddr_setport(addr, port);
111 isc_sockaddr_fromin(addr, &in4a, port);
113 isc_sockaddr_fromin6(addr, &in6a, port);
128 int port; local
154 port
[all...]
/bind-9.11.3/lib/isc/include/isc/
H A Dportset.h15 * (UDP or TCP) port numbers, e.g., for creating an ACL list. An isc_portset_t
16 * object is an opaque instance of a port set, for which the user can add or
17 * remove a specific port or a range of consecutive ports. This object is
41 * Create a port set and initialize it as an empty set.
55 * Destroy a port set.
58 *\li 'mctx' to be valid and must be the same context given when the port set
64 isc_portset_isset(isc_portset_t *portset, in_port_t port);
66 * Test whether the given port is stored in the portset.
72 * \li #ISC_TRUE if the port is found, ISC_FALSE otherwise.
88 isc_portset_add(isc_portset_t *portset, in_port_t port);
[all...]
/bind-9.11.3/lib/dns/rdata/in_1/
H A Dsrv_33.h24 isc_uint16_t port; member in struct:dns_rdata_in_srv
/bind-9.11.3/bin/tests/system/inline/ns5/
H A Dnamed.conf.pre15 controls { inet 10.53.0.5 port 9953 allow { any; } keys { rndc_key; }; };
21 port 5300;
/bind-9.11.3/bin/tests/system/rpzrecurse/ns2/
H A Dnamed.conf.header15 port 5300;
29 inet 10.53.0.2 port 9953 allow { any; } keys { rndc_key; };
/bind-9.11.3/bin/tests/system/statschannel/
H A Dfetch.pl11 # of a BIND server. Fetches the full XML stats from 10.53.0.2 port
18 print ("Usage: fetch.pl [-s address] [-p port] [path]\n");
33 my $port = 8853;
34 $port = $options{p} if defined $options{p};
36 my $ff = File::Fetch->new(uri => "http://$addr:$port/$path");
/bind-9.11.3/lib/dns/include/dns/
H A Dportlist.h24 * Create a port list.
37 dns_portlist_add(dns_portlist_t *portlist, int af, in_port_t port);
39 * Add the given <port,af> tuple to the portlist.
51 dns_portlist_remove(dns_portlist_t *portlist, int af, in_port_t port);
53 * Remove the given <port,af> tuple to the portlist.
61 dns_portlist_match(dns_portlist_t *portlist, int af, in_port_t port);
63 * Find the given <port,af> tuple to the portlist.
76 * Attach to a port list.
86 * Detach from a port list.
/bind-9.11.3/bin/named/include/named/
H A Dlistenlist.h39 in_port_t port; 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,
91 * all addresses with port 'port' (if 'enabled' is ISC_TRUE),
/bind-9.11.3/bin/tests/system/formerr/
H A Dformerr.pl12 # arbitrary address and port. The packet is specified in a file or on
33 # Usage: packet.pl [-a <address>] [-p <port>] [-t (udp|tcp)] [filename]
35 # If not specified, address defaults to 127.0.0.1, port to 53, protocol
48 print ("Usage: packet.pl [-a address] [-p port] [file]\n");
58 my $port = 53;
59 $port = $options{p} if defined $options{p};
82 my $sock = IO::Socket::INET->new(PeerAddr => $addr, PeerPort => $port,
/bind-9.11.3/lib/dns/
H A Dportlist.c34 in_port_t port; member in struct:dns_element
57 if (e1->port < e2->port)
59 if (e1->port > e2->port)
96 find_port(dns_element_t *list, unsigned int len, in_port_t port) { argument
103 if (list[xtry].port == port)
105 if (port > list[xtry].port) {
129 dns_portlist_add(dns_portlist_t *portlist, int af, in_port_t port) argument
180 dns_portlist_remove(dns_portlist_t *portlist, int af, in_port_t port) argument
206 dns_portlist_match(dns_portlist_t *portlist, int af, in_port_t port) argument
[all...]

Completed in 45 milliseconds

1234567891011>>