/freebsd-10.1-release/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus_common.c | 81 static void process_watch_exception(int sock, void *eloop_ctx, void *sock_ctx) argument 87 static void process_watch_read(int sock, void *eloop_ctx, void *sock_ctx) argument 93 static void process_watch_write(int sock, void *eloop_ctx, void *sock_ctx) argument
|
/freebsd-10.1-release/sys/nfsserver/ |
H A D | nfs.h | 98 int sock; /* Socket to serve */ member in struct:nfsd_addsock_args 175 #define NWDELAYHASH(sock, f) \ 176 (&(sock)->ns_wdelayhashtbl[(*((u_int32_t *)(f))) % NFS_WDELAYHASHSIZ])
|
/freebsd-10.1-release/usr.bin/ypwhich/ |
H A D | ypwhich.c | 97 int sock, r; local 100 sock = RPC_ANYSOCK; 103 client = clntudp_create(lsin, YPBINDPROG, YPBINDVERS, tv, &sock);
|
/freebsd-10.1-release/usr.sbin/wpa/ndis_events/ |
H A D | ndis_events.c | 165 announce_event(ifname, sock, dst) 167 int sock; 255 len = sendto(sock, buf, pos - buf, 0, (struct sockaddr *) dst,
|
/freebsd-10.1-release/contrib/ntp/sntp/ |
H A D | main.c | 68 SOCKET sock; member in struct:xmt_ctx_tag 107 void queue_xmt(SOCKET sock, struct dns_ctx *dctx, sent_pkt *spkt, 448 SOCKET sock; local 481 sock = sock4; 490 sock = sock6; 514 queue_xmt(sock, dctx, spkt, xmt_delay); 529 SOCKET sock, 570 xctx->sock = sock; 656 SOCKET sock local 528 queue_xmt( SOCKET sock, struct dns_ctx * dctx, sent_pkt * spkt, u_int xmt_delay ) argument [all...] |
/freebsd-10.1-release/contrib/libpcap/ |
H A D | pcap-bpf.c | 1246 int sock; local 1266 sock = socket(AF_INET, SOCK_DGRAM, 0); 1267 if (sock == -1) { 1276 if (ioctl(sock, SIOCGIFMEDIA, &req) < 0) { 1293 if (ioctl(sock, SIOCSIFMEDIA, 1302 close(sock); 2287 int sock; local 2294 sock = socket(AF_INET, SOCK_DGRAM, 0); 2295 if (sock == -1) { 2307 if (ioctl(sock, SIOCGIFMEDI [all...] |
/freebsd-10.1-release/crypto/openssh/ |
H A D | ssh-agent.c | 914 int len, sock; local 926 sock = accept(sockets[i].fd, 928 if (sock < 0) { 933 if (getpeereid(sock, &euid, &egid) < 0) { 935 sock, strerror(errno)); 936 close(sock); 943 close(sock); 946 new_socket(AUTH_CONNECTION, sock); 1045 int sock, fd, ch, result, saved_errno; local 1174 sock [all...] |
H A D | clientloop.c | 1798 int remote_id, sock; local 1808 sock = ssh_get_authentication_socket(); 1816 if (sock >= 0) { 1817 c = channel_new("", SSH_CHANNEL_OPEN, sock, sock, 1867 int sock; local 1892 sock = x11_connect_display(); 1893 if (sock < 0) 1896 c = channel_new("x11", SSH_CHANNEL_X11_OPEN, sock, sock, 1911 int sock; local [all...] |
H A D | mux.c | 371 if ((new_fd[i] = mm_receive_fd(c->sock)) == -1) { 905 if ((new_fd[i] = mm_receive_fd(c->sock)) == -1) { 1230 mux_listener_channel->self, mux_listener_channel->sock); 2005 int sock; local 2035 if ((sock = socket(PF_UNIX, SOCK_STREAM, 0)) < 0) 2038 if (connect(sock, (struct sockaddr *)&addr, sun_len) == -1) { 2057 close(sock); 2060 set_nonblock(sock); 2062 if (mux_client_hello_exchange(sock) != 0) { 2064 close(sock); [all...] |
/freebsd-10.1-release/contrib/openbsm/bin/auditdistd/ |
H A D | parse.y | 701 int sock; 703 sock = socket(family, SOCK_STREAM, 0); 704 if (sock == -1 && errno == EPROTONOSUPPORT) 706 if (sock >= 0) 707 (void)close(sock);
|
/freebsd-10.1-release/crypto/heimdal/kdc/ |
H A D | hprop.c | 118 ret = krb5_write_message(context, &pd->sock, &data); 121 &pd->sock, &data); 260 pd.sock = STDOUT_FILENO; 266 ret = krb5_write_message (context, &pd.sock, &data); 350 pd.sock = fd;
|
/freebsd-10.1-release/sbin/dhclient/ |
H A D | dispatch.c | 475 int sock; local 477 if ((sock = socket(AF_INET, SOCK_DGRAM, 0)) == -1) 482 if (ioctl(sock, SIOCGIFMEDIA, (caddr_t)&ifmr) == -1) { 487 close(sock); 490 close(sock);
|
/freebsd-10.1-release/lib/libc/rpc/ |
H A D | rpcb_clnt.c | 443 int sock; local 454 sock = _socket(AF_LOCAL, SOCK_STREAM, 0); 455 if (sock < 0) 464 client = clnt_vc_create(sock, &nbuf, (rpcprog_t)RPCBPROG, 474 _close(sock); 675 int sock; local 690 sock = _socket(AF_LOCAL, SOCK_STREAM, 0); 691 if (sock < 0) 697 if (_connect(sock, (struct sockaddr *)&sun, sun.sun_len) < 0) { 698 _close(sock); [all...] |
/freebsd-10.1-release/usr.sbin/arp/ |
H A D | arp.c | 795 int sock; local 798 sock = socket(AF_INET, SOCK_DGRAM, 0); 799 if (sock < 0) 804 if (ioctl(sock, SIOCGIFCONF, &ifc) < 0) { 828 if (ioctl(sock, SIOCGIFFLAGS, &ifreq) < 0) 839 if (ioctl(sock, SIOCGIFNETMASK, &ifreq) < 0) 873 close(sock);
|
/freebsd-10.1-release/contrib/apr-util/memcache/ |
H A D | apr_memcache.c | 29 apr_socket_t *sock; member in struct:apr_memcache_conn_t 246 e = apr_bucket_socket_create((*conn)->sock, balloc); 303 rv = apr_socket_timeout_set(conn->sock, 1 * APR_USEC_PER_SEC); 308 rv = apr_socket_connect(conn->sock, sa); 313 rv = apr_socket_timeout_set(conn->sock, -1); 352 rv = apr_socket_create(&conn->sock, family, SOCK_STREAM, 0, np); 390 apr_socket_sendv(conn->sock, vec, 2, &written); 391 apr_socket_close(conn->sock); 654 rv = apr_socket_sendv(conn->sock, vec, 5, &written); 769 rv = apr_socket_sendv(conn->sock, ve [all...] |
/freebsd-10.1-release/contrib/wpa/src/wps/ |
H A D | wps_upnp_ssdp.c | 810 int sock = -1; local 818 sock = socket(AF_INET, SOCK_DGRAM, 0); 819 if (sock < 0) 832 if (ioctl(sock, SIOCADDRT, &rt) < 0) { 847 if (sock >= 0) 848 close(sock);
|
/freebsd-10.1-release/sbin/routed/ |
H A D | main.c | 602 fix_sock(int sock, argument 609 if (fcntl(sock, F_SETFL, O_NONBLOCK) == -1) 613 if (setsockopt(sock, SOL_SOCKET,SO_BROADCAST, &on,sizeof(on)) < 0) 618 if (setsockopt(sock, SOL_SOCKET, SO_PASSIFNAME, &on,sizeof(on)) < 0) 624 if (setsockopt(sock, SOL_SOCKET, SO_RCVBUF, 630 if (setsockopt(sock, SOL_SOCKET, SO_RCVBUF,
|
/freebsd-10.1-release/usr.sbin/timed/timed/ |
H A D | readmsg.c | 193 FD_SET(sock, &ready); 194 if (!select(sock+1, &ready, (fd_set *)0, (fd_set *)0, 201 if ((n = recvfrom(sock, (char *)&msgin, sizeof(struct tsp), 0,
|
H A D | globals.h | 142 extern int sock;
|
/freebsd-10.1-release/contrib/amd/fixmount/ |
H A D | fixmount.c | 525 int sock = inetresport(ty); local 527 if (sock < 0) { 530 sock = RPC_ANYSOCK; 532 return sock;
|
/freebsd-10.1-release/contrib/wpa/src/utils/ |
H A D | edit_readline.c | 73 static void edit_read_char(int sock, void *eloop_ctx, void *sock_ctx) argument
|
/freebsd-10.1-release/usr.sbin/ypserv/ |
H A D | yp_main.c | 255 create_service(const int sock, const struct netconfig *nconf, argument 277 if (sock == RPC_ANYFD) { 316 close(sock); 391 slep->sle_sock = sock;
|
/freebsd-10.1-release/contrib/apr/include/ |
H A D | apr_portable.h | 238 * @param sock The os specific equivalent of the apr socket.. 241 apr_socket_t *sock); 384 * @param sock The pool to use. 390 APR_DECLARE(apr_status_t) apr_os_sock_put(apr_socket_t **sock,
|
/freebsd-10.1-release/contrib/ldns/ldns/ |
H A D | net.h.in | 187 * \param[in] sock the struct sockaddr_storage to convert 191 ldns_rdf * ldns_sockaddr_storage2rdf(struct sockaddr_storage *sock, uint16_t *port);
|
/freebsd-10.1-release/contrib/wpa/src/l2_packet/ |
H A D | l2_packet_privsep.c | 93 static void l2_packet_receive(int sock, void *eloop_ctx, void *sock_ctx) argument 102 res = recvfrom(sock, buf, sizeof(buf), 0, (struct sockaddr *) &from,
|