Searched refs:s_send (Results 1 – 1 of 1) sorted by relevance
/samples/bpf/ |
D | cookie_uid_helper_example.c | 213 int s_rcv, s_send, i, recv_len; in udp_client() local 230 s_send = socket(PF_INET, SOCK_DGRAM, 0); in udp_client() 231 if (s_send < 0) in udp_client() 233 res = getsockopt(s_send, SOL_SOCKET, SO_COOKIE, &cookie, &cookie_len); in udp_client() 240 res = sendto(s_send, &message, sizeof(message), 0, in udp_client() 263 close(s_send); in udp_client()
|