/freebsd/tools/regression/sockets/unix_close_race/ |
H A D | unix_close_race.c | 63 struct sockaddr_un servaddr; in main() local 87 bzero(&servaddr, sizeof(servaddr)); in main() 88 servaddr.sun_family = AF_LOCAL; in main() 89 strcpy(servaddr.sun_path, socket_path); in main() 90 if (bind(listenfd, (struct sockaddr *) &servaddr, in main() 91 sizeof(servaddr)) < 0) in main() 106 bzero(&servaddr, sizeof(servaddr)); in main() 107 servaddr.sun_family = AF_LOCAL; in main() 108 strcpy(servaddr.sun_path, socket_path); in main() 114 if (connect(connfd, (struct sockaddr *)&servaddr, in main() [all …]
|
/freebsd/tools/test/stress2/misc/ |
H A D | sctp3.sh | 45 struct sockaddr_in servaddr = { 64 ret = bind(listen_fd, (struct sockaddr *) &servaddr, sizeof(servaddr)); 107 struct sockaddr_in servaddr = { 119 ret = connect(conn_fd, (struct sockaddr *) &servaddr, sizeof(servaddr));
|
H A D | sctp.sh | 36 struct sockaddr_in servaddr = { 52 ret = bind(listen_fd, (struct sockaddr *) &servaddr, sizeof(servaddr)); 93 struct sockaddr_in servaddr = { 105 ret = connect(conn_fd, (struct sockaddr *) &servaddr, sizeof(servaddr));
|
H A D | sctp2.sh | 47 struct sockaddr_in servaddr = { 63 ret = bind(listen_fd, (struct sockaddr *) &servaddr, sizeof(servaddr)); 104 struct sockaddr_in servaddr = { 116 ret = connect(conn_fd, (struct sockaddr *) &servaddr, sizeof(servaddr));
|
/freebsd/usr.sbin/rpc.lockd/ |
H A D | lockd.c | 659 struct netbuf servaddr; in create_service() local 665 servaddr.len = servaddr.maxlen = res->ai_addrlen; in create_service() 666 servaddr.buf = res->ai_addr; in create_service() 667 uaddr = taddr2uaddr(nconf, &servaddr); in create_service() 727 struct netbuf servaddr; in complete_service() local 808 servaddr.buf = malloc(res->ai_addrlen); in complete_service() 809 memcpy(servaddr.buf, res->ai_addr, res->ai_addrlen); in complete_service() 810 servaddr.len = res->ai_addrlen; in complete_service() 812 rpcb_set(NLM_PROG, NLM_SM, nconf, &servaddr); in complete_service() 813 rpcb_set(NLM_PROG, NLM_VERS, nconf, &servaddr); in complete_service() [all …]
|
/freebsd/usr.sbin/rpc.statd/ |
H A D | statd.c | 526 struct netbuf servaddr; in complete_service() local 595 servaddr.buf = malloc(res->ai_addrlen); in complete_service() 596 memcpy(servaddr.buf, res->ai_addr, res->ai_addrlen); in complete_service() 597 servaddr.len = res->ai_addrlen; in complete_service() 599 rpcb_set(SM_PROG, SM_VERS, nconf, &servaddr); in complete_service()
|
/freebsd/crypto/openssl/util/perl/TLSProxy/ |
H A D | Proxy.pm | 198 my $servaddr = $self->{server_addr}; 200 $servaddr =~ s/[\[\]]//g; # Remove [ and ] 202 my $sock = $IP_factory->(PeerAddr => $servaddr,
|
/freebsd/lib/libc/rpc/ |
H A D | rpcb_clnt.c | 711 struct netbuf servaddr; in __rpcb_findaddr_timed() local 891 (char *)(void *)&servaddr); in __rpcb_findaddr_timed() 892 __rpc_fixup_addr(address, &servaddr); in __rpcb_findaddr_timed() 968 (char *)(void *)&servaddr); in __rpcb_findaddr_timed() 969 __rpc_fixup_addr(address, &servaddr); in __rpcb_findaddr_timed()
|
/freebsd/sys/rpc/ |
H A D | rpcb_clnt.c | 750 struct netbuf servaddr; 922 (char *)(void *)&servaddr); 923 __rpc_fixup_addr(address, &servaddr); 999 (char *)(void *)&servaddr); 1000 __rpc_fixup_addr(address, &servaddr);
|
/freebsd/usr.sbin/mountd/ |
H A D | mountd.c | 1015 struct netbuf servaddr; in complete_service() local 1091 servaddr.buf = malloc(res->ai_addrlen); in complete_service() 1092 memcpy(servaddr.buf, res->ai_addr, res->ai_addrlen); in complete_service() 1093 servaddr.len = res->ai_addrlen; in complete_service() 1095 rpcb_set(MOUNTPROG, MOUNTVERS, nconf, &servaddr); in complete_service() 1096 rpcb_set(MOUNTPROG, MOUNTVERS3, nconf, &servaddr); in complete_service()
|