Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-rpcap.c1752 struct rpcap_auth *rpauth; in rpcap_sendauth() local
1791 rpauth = (struct rpcap_auth *) &sendbuf[sendbufidx]; in rpcap_sendauth()
1797 memset(rpauth, 0, sizeof(struct rpcap_auth)); in rpcap_sendauth()
1799 rpauth->type = htons(auth_type); in rpcap_sendauth()
1805 rpauth->slen1 = (uint16) strlen(auth->username); in rpcap_sendauth()
1807 rpauth->slen1 = 0; in rpcap_sendauth()
1809 if (sock_bufferize(auth->username, rpauth->slen1, sendbuf, in rpcap_sendauth()
1814 rpauth->slen2 = (uint16) strlen(auth->password); in rpcap_sendauth()
1816 rpauth->slen2 = 0; in rpcap_sendauth()
1818 if (sock_bufferize(auth->password, rpauth->slen2, sendbuf, in rpcap_sendauth()
[all …]