Lines Matching refs:port
57 int port;
66 * add `family, port, protocol' to the list with duplicate suppresion.
71 int family, int port, const char *protocol)
84 && ports[i].port == port
93 ports[num_ports].port = port;
98 * add a triple but with service -> port lookup
104 int family, const char *service, int port,
107 port = krb5_getportbyname (context, service, protocol, port);
108 add_port (context, family, port, protocol);
112 * add the port with service -> port lookup or string -> number
121 int port;
125 port = sp->s_port;
129 port = htons(strtol(str, &end, 0));
133 add_port (context, family, port, protocol);
161 * otherwise it's port|service[/protocol]
210 int port;
243 * Create the socket (family, type, port) in `d'
249 struct descr *d, krb5_address *a, int family, int type, int port)
258 ret = krb5_addr2sockaddr (context, a, sa, &sa_size, port);
282 d->port = port;
289 krb5_warn(context, errno, "bind %s/%d", a_str, ntohs(port));
299 krb5_warn(context, errno, "listen %s/%d", a_str, ntohs(port));
338 ports[i].family, ports[i].type, ports[i].port);
346 kdc_log(context, config, 5, "listening on %s port %u/%s",
348 ntohs(ports[i].port),
777 ntohs(d[idx].port));
783 ntohs(d[idx].port));
809 ntohs(d[idx].port));