Lines Matching refs:setsockopt
500 setsockopt(icmp_sock, SOL_IPV6, IPV6_RECVPKTINFO, &on, sizeof(on)); in main()
501 setsockopt(icmp_sock, SOL_IPV6, IPV6_2292PKTINFO, &on, sizeof(on)); in main()
503 setsockopt(icmp_sock, SOL_IPV6, IPV6_PKTINFO, &on, sizeof(on)); in main()
507 setsockopt(icmp_sock, SOL_SOCKET, SO_DEBUG, in main()
510 setsockopt(icmp_sock, SOL_SOCKET, SO_DONTROUTE, in main()
515 if (setsockopt(icmp_sock, SOL_RAW, IPV6_CHECKSUM, &on, sizeof(on)) < 0) { in main()
528 if (setsockopt(sndsock, SOL_SOCKET, SO_SNDBUF, (char *)&datalen, in main()
536 (void) setsockopt(sndsock, SOL_SOCKET, SO_DEBUG, in main()
539 (void) setsockopt(sndsock, SOL_SOCKET, SO_DONTROUTE, in main()
551 if (setsockopt(probe_fd, SOL_SOCKET, SO_BINDTODEVICE, device, strlen(device)+1) == -1) in main()
735 i = setsockopt(sndsock, SOL_IPV6, IPV6_UNICAST_HOPS, &ttl, sizeof(ttl)); in send_probe()