Home
last modified time | relevance | path

Searched refs:sstosa (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/pf/ftp-proxy/
H A Dftp-proxy.c69 #define sstosa(ss) ((struct sockaddr *)(ss)) macro
229 proxy_reply(s->cmd, sstosa(&s->proxy_ss), s->proxy_port); in client_parse_cmd()
393 client_sa = sstosa(&tmp_ss); in handle_connection()
416 memcpy(sstosa(&s->client_ss), client_sa, client_sa->sa_len); in handle_connection()
419 client_sa = sstosa(&s->client_ss); in handle_connection()
420 server_sa = sstosa(&s->server_ss); in handle_connection()
421 client_to_proxy_sa = sstosa(&tmp_ss); in handle_connection()
422 proxy_to_server_sa = sstosa(&s->proxy_ss); in handle_connection()
423 fixed_server_sa = sstosa(&fixed_server_ss); in handle_connection()
443 memcpy(sstosa(&s->orig_server_ss), server_sa, in handle_connection()
[all …]
/freebsd/tools/regression/sockets/reconnect/
H A Dreconnect.c49 #define sstosa(ss) ((struct sockaddr *)(ss)) macro
77 if (bind(sock, sstosa(&ifsun), sizeof(ifsun)) < 0) in create_uds_server()
91 e = connect(sock, sstosa(&ifsun), sizeof(ifsun)); in connect_uds_server()
/freebsd/usr.bin/logger/
H A Dlogger.c53 #define sstosa(ss) ((struct sockaddr *)(void *)ss) macro
337 error = bind(s, sstosa(ss_src[res->ai_family]), in socksetup()
376 sstosa(&sk[i].sk_addr), sk[i].sk_addrlen); in logmessage()
/freebsd/usr.sbin/syslogd/
H A Dsyslogd.c152 #define sstosa(ss) ((struct sockaddr *)(ss)) macro
3450 getnameinfo(sstosa(&ap->a_addr), in allowaddr()
3451 (sstosa(&ap->a_addr))->sa_len, in allowaddr()
3454 getnameinfo(sstosa(&ap->a_mask), in allowaddr()
3455 (sstosa(&ap->a_mask))->sa_len, in allowaddr()
/freebsd/usr.bin/sockstat/
H A Dsockstat.c79 #define sstosa(ss) ((struct sockaddr *)(ss)) macro
964 error = cap_getnameinfo(capnet, sstosa(ss), ss->ss_len, in printaddr()