Searched refs:sockt (Results 1 – 7 of 7) sorted by relevance
/openbsd/usr.bin/talk/ |
H A D | ctl.c | 55 int sockt; variable 67 sockt = socket(AF_INET, SOCK_STREAM, 0); in open_sockt() 68 if (sockt == -1) in open_sockt() 70 if (bind(sockt, (struct sockaddr *)&my_addr, sizeof(my_addr)) != 0) in open_sockt() 73 if (getsockname(sockt, (struct sockaddr *)&my_addr, &length) == -1) in open_sockt()
|
H A D | invite.c | 76 if (listen(sockt, 5) != 0) in invite_remote() 100 while ((new_sockt = accept(sockt, &rp, &rplen)) == -1) { in invite_remote() 106 close(sockt); in invite_remote() 107 sockt = new_sockt; in invite_remote()
|
H A D | io.c | 77 fds[1].fd = sockt; in talk() 94 nb = read(sockt, buf, sizeof buf); in talk() 108 write(sockt, buf, nb); in talk()
|
H A D | look_up.c | 69 if (connect(sockt, (struct sockaddr *)&response.addr, in check_local() 82 close(sockt); in check_local()
|
H A D | init_disp.c | 113 cc = write(sockt, buf, sizeof(buf)); in set_edit_chars() 116 cc = read(sockt, buf, sizeof(buf)); in set_edit_chars()
|
H A D | talk.h | 41 extern int sockt;
|
/openbsd/usr.sbin/rpki-client/ |
H A D | print.c | 231 int sockt; in ip_resources_print() local 258 sockt = (ips[i].afi == AFI_IPV4) ? in ip_resources_print() 260 inet_ntop(sockt, ips[i].min, buf1, sizeof(buf1)); in ip_resources_print() 261 inet_ntop(sockt, ips[i].max, buf2, sizeof(buf2)); in ip_resources_print()
|