Searched refs:s_rcv (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/samples/bpf/ |
H A D | cookie_uid_helper_example.c | 222 int s_rcv, s_send, i, recv_len; in udp_client() local 230 s_rcv = socket(PF_INET, SOCK_DGRAM, 0); in udp_client() 231 if (s_rcv < 0) in udp_client() 237 if (bind(s_rcv, (struct sockaddr *)&si_other, sizeof(si_other)) == -1) in udp_client() 255 recv_len = recvfrom(s_rcv, &buf, sizeof(buf), 0, in udp_client() 273 close(s_rcv); in udp_client()
|