Lines Matching defs:port
93 long port;
153 port = 0;
160 port = strtol(port_str, &endptr, 10);
165 port = 0;
168 PLUGIN_DEBUG(("Found additional characters [%s] in port number "
170 port = 0;
173 if (port < 0 || port > 65535) {
174 PLUGIN_DEBUG(("Illegal port number [%ld], assuming default.\n",
175 port));
176 port = 0;
179 PLUGIN_DEBUG(("Illegal port number [%s], assuming default.\n",
181 port = 0;
194 ctx->kdc_port = (uint16_t) port;
204 ctx->kpasswd_port = (uint16_t) port;
269 uint16_t port = 0;
310 port = ctx->kdc_port ? ctx->kdc_port : DEFAULT_KERBEROS_PORT;
314 port = DEFAULT_KERBEROS_PORT;
318 port = DEFAULT_KADMIN_PORT;
322 port = ctx->kpasswd_port ? ctx->kpasswd_port : DEFAULT_KPASSWD_PORT;
351 ret = snprintf(port_str, PORT_STR_SIZE-1, "%u", port);