Home
last modified time | relevance | path

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

/external/libevent/test/
Dregress_listener.c80 ev_socklen_t slen1 = sizeof(ss1), slen2 = sizeof(ss2); in regress_pick_a_port() local
107 (struct sockaddr*)&ss2, &slen2) == 0); in regress_pick_a_port()
123 evutil_socket_connect_(&fd3, (struct sockaddr*)&ss2, slen2); in regress_pick_a_port()
Dregress_dns.c413 int slen2; in dns_server() local
417 slen2 = evdns_base_get_nameserver_addr(base, 0, (struct sockaddr *)&ss2, 3); in dns_server()
418 tt_int_op(slen2, ==, slen); in dns_server()
420 slen2 = evdns_base_get_nameserver_addr(base, 0, (struct sockaddr *)&ss2, sizeof(ss2)); in dns_server()
421 tt_int_op(slen2, ==, slen); in dns_server()
424 slen2 = evdns_base_get_nameserver_addr(base, 1, (struct sockaddr *)&ss2, sizeof(ss2)); in dns_server()
425 tt_int_op(-1, ==, slen2); in dns_server()
/external/libpcap/
Drpcap-protocol.h360 uint16 slen2; /* Length of the second authentication item (e.g. password) */ member
Dpcap-rpcap.c1976 rpauth->slen2 = (uint16)strlen(auth->password); in rpcap_sendauth()
1978 rpauth->slen2 = 0; in rpcap_sendauth()
1980 if (sock_bufferize(auth->password, rpauth->slen2, sendbuf, in rpcap_sendauth()
1985 rpauth->slen2 = htons(rpauth->slen2); in rpcap_sendauth()
/external/libpcap/rpcapd/
Ddaemon.c1024 passwdlen = ntohs(auth.slen2); in daemon_msg_auth_req()