/freebsd/contrib/wpa/src/drivers/ |
H A D | linux_ioctl.c | 19 int linux_set_iface_flags(int sock, const char *ifname, int dev_up) in linux_set_iface_flags() 59 int linux_iface_up(int sock, const char *ifname) in linux_iface_up() 81 int linux_get_ifhwaddr(int sock, const char *ifname, u8 *addr) in linux_get_ifhwaddr() 104 int linux_set_ifhwaddr(int sock, const char *ifname, const u8 *addr) in linux_set_ifhwaddr() 123 int linux_br_add(int sock, const char *brname) in linux_br_add() 138 int linux_br_del(int sock, const char *brname) in linux_br_del() 150 int linux_br_add_if(int sock, const char *brname, const char *ifname) in linux_br_add_if() 184 int linux_br_del_if(int sock, const char *brname, const char *ifname) in linux_br_del_if()
|
/freebsd/crypto/openssh/ |
H A D | canohost.c | 68 get_socket_address(int sock, int remote, int flags) in get_socket_address() 117 get_peer_ipaddr(int sock) in get_peer_ipaddr() 127 get_local_ipaddr(int sock) in get_local_ipaddr() 159 get_sock_port(int sock, int local) in get_sock_port() 200 get_peer_port(int sock) in get_peer_port() 206 get_local_port(int sock) in get_local_port()
|
H A D | authfd.c | 91 int sock, oerrno; in ssh_get_authentication_socket_path() local 138 ssh_request_reply(int sock, struct sshbuf *request, struct sshbuf *reply) in ssh_request_reply() 182 ssh_request_reply_decode(int sock, struct sshbuf *request) in ssh_request_reply_decode() 207 ssh_close_authentication_socket(int sock) in ssh_close_authentication_socket() 215 ssh_lock_agent(int sock, int lock, const char *password) in ssh_lock_agent() 262 ssh_fetch_identitylist(int sock, struct ssh_identitylist **idlp) in ssh_fetch_identitylist() 358 ssh_agent_has_key(int sock, const struct sshkey *key) in ssh_agent_has_key() 404 ssh_agent_sign(int sock, const struct sshkey *key, in ssh_agent_sign() 587 ssh_add_identity_constrained(int sock, struct sshkey *key, in ssh_add_identity_constrained() 648 ssh_remove_identity(int sock, const struct sshkey *key) in ssh_remove_identity() [all …]
|
H A D | monitor.c | 568 mm_answer_moduli(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_moduli() 608 mm_answer_sign(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_sign() 712 mm_answer_pwnamallow(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_pwnamallow() 813 int mm_answer_auth2_read_banner(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_auth2_read_banner() 829 mm_answer_authserv(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_authserv() 878 mm_answer_authpassword(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_authpassword() 918 mm_answer_bsdauthquery(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_bsdauthquery() 952 mm_answer_bsdauthrespond(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_bsdauthrespond() 986 mm_answer_pam_start(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_pam_start() 1001 mm_answer_pam_account(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_pam_account() [all …]
|
/freebsd/tools/regression/netinet/ipsockopt/ |
H A D | ipsockopt.c | 75 int sock; in get_socket_priv() local 112 test_ip_options(int sock, const char *socktypename) in test_ip_options() 215 int flag[2], sock; in test_ip_hdrincl() local 389 test_ip_uchar(int sock, const char *socktypename, int option, in test_ip_uchar() 529 test_ip_boolean(int sock, const char *socktypename, int option, in test_ip_boolean() 639 test_ip_multicast_membership(int sock, const char *socktypename) in test_ip_multicast_membership() 712 test_ip_multicast_if(int sock, const char *socktypename) in test_ip_multicast_if() 725 test_ip_multicast_vif(int sock, const char *socktypename) in test_ip_multicast_vif() 741 int i, sock, socktype; in testsuite() local
|
/freebsd/lib/libnv/ |
H A D | msgio.c | 100 msg_recv(int sock, struct msghdr *msg) in msg_recv() 126 msg_send(int sock, const struct msghdr *msg) in msg_send() 146 cred_send(int sock) in cred_send() 186 cred_recv(int sock, struct cmsgcred *cred) in cred_recv() 223 fd_package_send(int sock, const int *fds, size_t nfds) in fd_package_send() 272 fd_package_recv(int sock, int *fds, size_t nfds) in fd_package_recv() 363 fd_recv(int sock, int *fds, size_t nfds) in fd_recv() 395 fd_send(int sock, const int *fds, size_t nfds) in fd_send() 421 buf_send(int sock, void *buf, size_t size) in buf_send() 450 buf_recv(int sock, void *buf, size_t size, int flags) in buf_recv()
|
/freebsd/contrib/openbsm/bin/auditdistd/ |
H A D | proto_common.c | 52 blocking_socket(int sock) in blocking_socket() 62 proto_descriptor_send(int sock, int fd) in proto_descriptor_send() 92 proto_common_send(int sock, const unsigned char *data, size_t size, int fd) in proto_common_send() 162 proto_descriptor_recv(int sock, int *fdp) in proto_descriptor_recv() 193 proto_common_recv(int sock, unsigned char *data, size_t size, int *fdp) in proto_common_recv()
|
/freebsd/sbin/hastd/ |
H A D | proto_common.c | 52 blocking_socket(int sock) in blocking_socket() 62 proto_descriptor_send(int sock, int fd) in proto_descriptor_send() 92 proto_common_send(int sock, const unsigned char *data, size_t size, int fd) in proto_common_send() 162 proto_descriptor_recv(int sock, int *fdp) in proto_descriptor_recv() 193 proto_common_recv(int sock, unsigned char *data, size_t size, int *fdp) in proto_common_recv()
|
/freebsd/contrib/ofed/libibverbs/ |
H A D | nl1_compat.h | 20 static inline void nl_socket_disable_seq_check(struct nl_sock *sock) in nl_socket_disable_seq_check() 48 static inline void nl_socket_free(struct nl_sock *sock) in nl_socket_free() 58 #define rtnl_link_alloc_cache(sock, family, result) ( \ argument 63 #define rtnl_route_alloc_cache(sock, family, flags, result) ( \ argument 68 #define rtnl_neigh_alloc_cache(sock, result) ( \ argument
|
/freebsd/crypto/openssl/crypto/bio/ |
H A D | bio_sock2.c | 43 int sock = -1; in BIO_socket() local 90 int BIO_connect(int sock, const BIO_ADDR *addr, int options) in BIO_connect() 159 int BIO_bind(int sock, const BIO_ADDR *addr, int options) in BIO_bind() 233 int BIO_listen(int sock, const BIO_ADDR *addr, int options) in BIO_listen() 345 int BIO_closesocket(int sock) in BIO_closesocket()
|
/freebsd/tools/regression/sockets/listen_backlog/ |
H A D | listen_backlog.c | 67 socket_get_backlog(int sock, int *backlogp, const char *testclass, in socket_get_backlog() 103 int backlog_retrieved, sock; in socket_listen() local 162 int sock; in test_defaults() local 225 int backlog_retrieved, sock; in socket_listen_update() local 288 int sock; in test_listen_update() local 343 int i, ret, sock; in test_set_qlimit() local
|
/freebsd/usr.sbin/bluetooth/hcsecd/ |
H A D | hcsecd.c | 70 int n, detach, sock; in main() local 212 process_pin_code_request_event(int sock, struct sockaddr_hci *addr, in process_pin_code_request_event() 239 process_link_key_request_event(int sock, struct sockaddr_hci *addr, in process_link_key_request_event() 266 send_pin_code_reply(int sock, struct sockaddr_hci *addr, in send_pin_code_reply() 325 send_link_key_reply(int sock, struct sockaddr_hci *addr, in send_link_key_reply() 383 process_link_key_notification_event(int sock, struct sockaddr_hci *addr, in process_link_key_notification_event()
|
/freebsd/usr.bin/sockstat/ |
H A D | sockstat.c | 129 struct sock { struct 131 RB_ENTRY(sock) socket_tree; /* tree of pcbs with socket */ argument 135 kvaddr_t socket; argument 137 kvaddr_t splice_socket; argument 152 static RB_HEAD(socks_t, sock) socks = RB_INITIALIZER(&socks); argument 367 free_socket(struct sock *sock) in free_socket() 389 struct sock *sock; in gather_sctp() local 661 struct sock *sock; in gather_inet() local 818 struct sock *sock; in gather_unix() local
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | socket.c | 221 socket_set_portrange (rk_socket_t sock, int restr, int af) in socket_set_portrange() 242 socket_set_debug (rk_socket_t sock) in socket_set_debug() 255 socket_set_tos (rk_socket_t sock, int tos) in socket_set_tos() 267 socket_set_reuseaddr (rk_socket_t sock, int val) in socket_set_reuseaddr() 279 socket_set_ipv6only (rk_socket_t sock, int val) in socket_set_ipv6only() 295 socket_to_fd(rk_socket_t sock, int flags) in socket_to_fd()
|
/freebsd/contrib/bsnmp/snmpd/ |
H A D | trans_inet.c | 354 struct port_sock *sock = __containerof(pi, struct port_sock, input); in inet_recv() local 464 struct port_sock *sock = calloc(1, sizeof(struct port_sock)); in ipv4_create() local 495 struct port_sock *sock = udata; in ipv4_input() local 509 ipv4_activate_sock(struct port_sock *sock) in ipv4_activate_sock() 571 struct port_sock *sock = TAILQ_FIRST(&p->socks); in ipv4_activate() local 590 struct port_sock *sock = TAILQ_FIRST(&p->socks); in ipv4_deactivate() local 609 ipv4_parse_ctrl(struct port_sock *sock, const struct msghdr *msg) in ipv4_parse_ctrl() 640 ipv4_setsrc(struct port_sock *sock, struct msghdr *msg, char *cbuf) in ipv4_setsrc() 670 struct port_sock *sock = calloc(1, sizeof(struct port_sock)); in ipv6_create_common() local 734 struct port_sock *sock = udata; in ipv6_input() local [all …]
|
/freebsd/contrib/capsicum-test/ |
H A D | socket.cc | 32 int sock = socket(AF_UNIX, SOCK_STREAM, 0); in TEST() local 56 int sock = socket(AF_UNIX, SOCK_STREAM, 0); in TEST() local 130 int sock = socket(AF_INET, SOCK_STREAM, 0); in TEST() local 171 int sock = socket(AF_INET, SOCK_STREAM, 0); in TEST() local 246 int sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in TEST() local 298 int sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in TEST() local
|
/freebsd/lib/libc/tests/secure/ |
H A D | fortify_socket_test.c | 177 int sock[2] = { -1, -1 }; in ATF_TC_BODY() local 199 int sock[2] = { -1, -1 }; in ATF_TC_BODY() local 221 int sock[2] = { -1, -1 }; in ATF_TC_BODY() local 244 int sock[2] = { -1, -1 }; in ATF_TC_BODY() local 269 int sock[2] = { -1, -1 }; in ATF_TC_BODY() local 321 int sock[2] = { -1, -1 }; in ATF_TC_BODY() local 343 int sock[2] = { -1, -1 }; in ATF_TC_BODY() local 365 int sock[2] = { -1, -1 }; in ATF_TC_BODY() local 388 int sock[2] = { -1, -1 }; in ATF_TC_BODY() local 413 int sock[2] = { -1, -1 }; in ATF_TC_BODY() local [all …]
|
/freebsd/tools/regression/netinet/msocket/ |
H A D | msocket.c | 81 u_char modifiedv, u_char fakev, const char *socktype, int sock, in test_u_char() 138 int sock, int flags) in test_in_addr() 240 test_add_multi(int sock, const char *socktype, struct ip_mreq imr, in test_add_multi() 282 test_drop_multi(int sock, const char *socktype, struct ip_mreq imr, in test_drop_multi() 357 int sock; in test_udp() local
|
/freebsd/crypto/heimdal/lib/kadm5/ |
H A D | send_recv.c | 44 krb5_storage *sock; in _kadm5_client_send() local 82 krb5_storage *sock; in _kadm5_client_recv() local
|
/freebsd/tools/regression/ethernet/ethermulti/ |
H A D | ethermulti.c | 79 int sock; in get_socket_priv() local 114 test_ether_multi(int sock) in test_ether_multi() 201 int sock; in testsuite() local
|
/freebsd/tools/regression/capsicum/syscalls/ |
H A D | misc.c | 53 descriptor_send(int sock,int fd) descriptor_send() argument 83 descriptor_recv(int sock,int * fdp) descriptor_recv() argument
|
/freebsd/lib/libcasper/libcasper/ |
H A D | libcasper.c | 89 int sock[2], serrno, pfd; in cap_init() local 129 cap_wrap(int sock, int flags) in cap_wrap() 153 int sock; in cap_unwrap() local 313 int sock, error; in cap_service_open() local
|
/freebsd/tools/regression/sockets/reconnect/ |
H A D | reconnect.c | 67 int sock; in create_uds_server() local 84 connect_uds_server(int sock, const char *path) in connect_uds_server()
|
/freebsd/contrib/pf/pflogd/ |
H A D | privsep_fdpass.c | 50 send_fd(int sock, int fd) in send_fd() 89 receive_fd(int sock) in receive_fd()
|
/freebsd/contrib/ntp/libntp/ |
H A D | socktoa.c | 33 socktoa(const sockaddr_u * sock) socktoa() argument 82 sockporttoa(const sockaddr_u * sock) sockporttoa() argument [all...] |