Searched refs:udp_lite_sock (Results 1 – 1 of 1) sorted by relevance
/external/honggfuzz/examples/linux_kernel_ip/ |
D | tun.c | 100 int udp_lite_sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDPLITE); in main() local 101 if (udp_lite_sock == -1) { in main() 117 … if (setsockopt(udp_lite_sock, SOL_SOCKET, SO_NO_CHECK, (void*)&disable, sizeof(disable)) == -1) { in main() 155 if (bind(udp_lite_sock, (struct sockaddr*)&addr, sizeof(addr)) == -1) { in main() 170 if (fcntl(udp_lite_sock, F_SETFL, O_NONBLOCK | O_RDWR) == -1) { in main() 238 … if (recvfrom(udp_lite_sock, b, sizeof(b), MSG_DONTWAIT, (struct sockaddr*)&addr, &slen) > 0) { in main() 239 … sendto(udp_lite_sock, b, 1, MSG_NOSIGNAL | MSG_DONTWAIT, (struct sockaddr*)&addr, slen); in main()
|