Searched refs:si_other (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | cookie_uid_helper_example.c | 210 struct sockaddr_in si_other = {0}; in udp_client() local 219 socklen_t slen = sizeof(si_other); in udp_client() 224 si_other.sin_family = AF_INET; in udp_client() 225 si_other.sin_port = htons(PORT); in udp_client() 226 if (inet_aton("127.0.0.1", &si_other.sin_addr) == 0) in udp_client() 228 if (bind(s_rcv, (struct sockaddr *)&si_other, sizeof(si_other)) == -1) in udp_client() 241 (struct sockaddr *)&si_other, slen); in udp_client() 250 res = memcmp(&(si_other.sin_addr), &(si_me.sin_addr), in udp_client()
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | cookie_uid_helper_example.c | 219 struct sockaddr_in si_other = {0}; in udp_client() local 228 socklen_t slen = sizeof(si_other); in udp_client() 233 si_other.sin_family = AF_INET; in udp_client() 234 si_other.sin_port = htons(PORT); in udp_client() 235 if (inet_aton("127.0.0.1", &si_other.sin_addr) == 0) in udp_client() 237 if (bind(s_rcv, (struct sockaddr *)&si_other, sizeof(si_other)) == -1) in udp_client() 250 (struct sockaddr *)&si_other, slen); in udp_client() 259 res = memcmp(&(si_other.sin_addr), &(si_me.sin_addr), in udp_client()
|
Completed in 2 milliseconds