Lines Matching refs:lstn_sk
69 int sk,sk1,pf_class,lstn_sk,acpt_sk,acpt1_sk, flag, count;
89 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP);
100 test_bind(lstn_sk, (struct sockaddr *) &lstn_addr, sizeof(lstn_addr));
103 test_listen(lstn_sk, 10);
109 acpt_sk = test_accept(lstn_sk, (struct sockaddr *)&svr_addr, &len);
140 count = send(lstn_sk, message, len_snd, flag);
163 acpt1_sk = test_accept(lstn_sk, (struct sockaddr *)&conn_addr, &len);
175 close(lstn_sk);
180 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP);
185 test_bind(lstn_sk, (struct sockaddr *) &lstn_addr, sizeof(lstn_addr));
188 test_listen(lstn_sk, 10);
198 acpt_sk = test_accept(lstn_sk, (struct sockaddr *)&svr_addr, &len);
237 close(lstn_sk);