Searched refs:s_send (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 239 s_send = socket(PF_INET, SOCK_DGRAM, 0); in udp_client() 240 if (s_send < 0) in udp_client() 242 res = getsockopt(s_send, SOL_SOCKET, SO_COOKIE, &cookie, &cookie_len); in udp_client() 249 res = sendto(s_send, &message, sizeof(message), 0, in udp_client() 272 close(s_send); in udp_client()
|