Lines Matching refs:s
73 struct sender_state* s; in send_cb() local
85 s = container_of(req, struct sender_state, send_req); in send_cb()
86 ASSERT_PTR_EQ(req->handle, &s->udp_handle); in send_cb()
92 uv_close((uv_handle_t*)&s->udp_handle, NULL); in send_cb()
99 ASSERT_OK(uv_udp_send(&s->send_req, in send_cb()
100 &s->udp_handle, in send_cb()
103 (const struct sockaddr*) &s->addr, in send_cb()
173 struct receiver_state* s = receivers + i; in pummel() local
176 ASSERT_OK(uv_udp_init(loop, &s->udp_handle)); in pummel()
177 ASSERT_OK(uv_udp_bind(&s->udp_handle, (const struct sockaddr*) &addr, 0)); in pummel()
178 ASSERT_OK(uv_udp_recv_start(&s->udp_handle, alloc_cb, recv_cb)); in pummel()
179 uv_unref((uv_handle_t*)&s->udp_handle); in pummel()
189 struct sender_state* s = senders + i; in pummel() local
192 &s->addr)); in pummel()
193 ASSERT_OK(uv_udp_init(loop, &s->udp_handle)); in pummel()
194 ASSERT_OK(uv_udp_send(&s->send_req, in pummel()
195 &s->udp_handle, in pummel()
198 (const struct sockaddr*) &s->addr, in pummel()