Lines Matching refs:s2
149 isc_socket_t *s1 = NULL, *s2 = NULL;
173 result = isc_socket_create(socketmgr, PF_INET, isc_sockettype_udp, &s2);
175 result = isc_socket_bind(s2, &addr2, 0);
177 result = isc_socket_getsockname(s2, &addr2);
200 result = isc_socket_recv(s2, &r, 1, task, event_done, &completion);
210 isc_socket_detach(&s2);
224 isc_socket_t *s1 = NULL, *s2 = NULL, *s3 = NULL;
248 result = isc_socket_create(socketmgr, PF_INET, isc_sockettype_udp, &s2);
250 result = isc_socket_bind(s2, &addr2, 0);
252 result = isc_socket_getsockname(s2, &addr2);
257 result = isc_socket_dup(s2, &s3);
290 result = isc_socket_recv(s2, &r, 1, task, event_done, &completion);
310 isc_socket_detach(&s2);
325 isc_socket_t *s1 = NULL, *s2 = NULL;
352 result = isc_socket_create(socketmgr, PF_INET, isc_sockettype_udp, &s2);
355 result = isc_socket_bind(s2, &addr2, ISC_SOCKET_REUSEADDRESS);
358 result = isc_socket_getsockname(s2, &addr2);
399 result = isc_socket_recv(s2, &r, 1, task, event_done, &completion);
414 isc_socket_detach(&s2);
429 isc_socket_t *s1 = NULL, *s2 = NULL;
460 &s2);
463 result = isc_socket_bind(s2, &addr2, 0);
466 result = isc_socket_getsockname(s2, &addr2);
503 result = isc_socket_recv(s2, &r, 1, task, event_done, &completion);
518 isc_socket_detach(&s2);
536 isc_socket_t *s1 = NULL, *s2 = NULL, *s3 = NULL;
563 result = isc_socket_create(socketmgr, PF_INET, isc_sockettype_tcp, &s2);
574 result = isc_socket_connect(s2, &addr1, task, event_done, &completion);
583 isc_socket_dscp(s2, 056); /* EF */
593 result = isc_socket_sendto(s2, &r, task, event_done, &completion,
619 isc_socket_detach(&s2);
635 isc_socket_t *s1 = NULL, *s2 = NULL, *s3 = NULL;
666 &s2);
677 result = isc_socket_connect(s2, &addr1, task, event_done, &completion);
686 isc_socket_dscp(s2, 056); /* EF */
696 result = isc_socket_sendto(s2, &r, task, event_done, &completion,
726 isc_socket_detach(&s2);