Home
last modified time | relevance | path

Searched refs:Server_port (Results 1 – 4 of 4) sorted by relevance

/openbsd/games/hunt/hunt/
H A Dhunt.c126 Server_port = atoi(use_port); in main()
153 if (Server_port == 0) { in main()
156 Server_port = ntohs(se->s_port); in main()
158 Server_port = HUNT_PORT; in main()
559 Server_port = atoi(use_port); in env_init()
H A Dlist.h12 extern u_int16_t Server_port;
H A Dlist.c32 u_int16_t Server_port; variable
180 htons(Server_port); in start_probe()
/openbsd/games/hunt/huntd/
H A Ddriver.c53 u_int16_t Server_port; variable
107 Server_port = atoi(optarg); in main()
410 if (Server_port == 0) { in init()
413 Server_port = ntohs(se->s_port); in init()
415 Server_port = HUNT_PORT; in init()
425 if (test_port.sin_port != htons((u_short) Server_port)) { in init()
428 Server_port = ntohs(test_port.sin_port); in init()
433 test_port.sin_port = htons((u_short) Server_port); in init()
444 logit(LOG_ERR, "bind port %d", Server_port); in init()