Home
last modified time | relevance | path

Searched refs:sockt (Results 1 – 7 of 7) sorted by relevance

/openbsd/usr.bin/talk/
H A Dctl.c55 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 Dinvite.c76 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 Dio.c77 fds[1].fd = sockt; in talk()
94 nb = read(sockt, buf, sizeof buf); in talk()
108 write(sockt, buf, nb); in talk()
H A Dlook_up.c69 if (connect(sockt, (struct sockaddr *)&response.addr, in check_local()
82 close(sockt); in check_local()
H A Dinit_disp.c113 cc = write(sockt, buf, sizeof(buf)); in set_edit_chars()
116 cc = read(sockt, buf, sizeof(buf)); in set_edit_chars()
H A Dtalk.h41 extern int sockt;
/openbsd/usr.sbin/rpki-client/
H A Dprint.c231 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()