/dragonfly/test/udp/mcastsend/ |
H A D | mcastsend.c | 92 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_IF, in main() 101 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_IF, in main() 105 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_IF, in main() 111 if (getsockopt(s, IPPROTO_IP, IP_MULTICAST_IF, in main() 117 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_LOOP, in main()
|
/dragonfly/test/udp/tos/ |
H A D | udp_tos.c | 74 if (setsockopt(s, IPPROTO_IP, IP_TOS, in main() 96 cm->cmsg_level = IPPROTO_IP; in main() 110 if (setsockopt(s, IPPROTO_IP, IP_RECVTOS, &on, sizeof(on)) < 0) in main() 133 if (cm->cmsg_level != IPPROTO_IP) in main()
|
/dragonfly/sbin/ipfw3/ |
H A D | ipfw3log.c | 95 if (setsockopt(fw3_socket, IPPROTO_IP, in resetlog() 109 if (setsockopt(fw3_socket, IPPROTO_IP, in resetlog()
|
/dragonfly/contrib/tcpdump/ |
H A D | ipproto.h | 41 #ifndef IPPROTO_IP 42 #define IPPROTO_IP 0 /* dummy for IP */ macro
|
/dragonfly/usr.sbin/dntpd/ |
H A D | socket.c | 97 setsockopt(fd, IPPROTO_IP, IP_TOS, &tos, sizeof(tos)); in udp_socket() 102 setsockopt(fd, IPPROTO_IP, IP_PORTRANGE, &tos, sizeof(tos)); in udp_socket()
|
/dragonfly/test/mcast/ |
H A D | mcast.c | 94 if (setsockopt(s, IPPROTO_IP, IP_ADD_MEMBERSHIP, in main() 101 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_IF, in main()
|
/dragonfly/test/udp/mcastbind/ |
H A D | mcastbind.c | 51 if (setsockopt(s, IPPROTO_IP, IP_ADD_MEMBERSHIP, in create_sock() 62 if (setsockopt(s, IPPROTO_IP, IP_ADD_MEMBERSHIP, in create_sock()
|
/dragonfly/contrib/wpa_supplicant/src/wps/ |
H A D | wps_upnp_ssdp.c | 750 if (setsockopt(sd, IPPROTO_IP, IP_ADD_MEMBERSHIP, in ssdp_listener_open() 752 setsockopt(sd, IPPROTO_IP, IP_MULTICAST_TTL, in ssdp_listener_open() 886 if (setsockopt(sd, IPPROTO_IP, IP_MULTICAST_IF, in ssdp_open_multicast_sock() 893 if (setsockopt(sd, IPPROTO_IP, IP_MULTICAST_TTL, in ssdp_open_multicast_sock() 910 if (setsockopt(sd, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, in ssdp_open_multicast_sock()
|
/dragonfly/sbin/ipfw/ |
H A D | ipfw2.c | 1543 i = setsockopt(s, IPPROTO_IP, IP_FW_DEL, in sets_handler() 1562 i = setsockopt(s, IPPROTO_IP, IP_FW_DEL, in sets_handler() 1655 if (getsockopt(s, IPPROTO_IP, ocmd, data, &nbytes) < 0) in list() 2060 i = setsockopt(s, IPPROTO_IP, IP_DUMMYNET_DEL, in delete() 2070 i = setsockopt(s, IPPROTO_IP, IP_FW_DEL, &rulenum, in delete() 2570 if (proto != IPPROTO_IP) in add_proto() 2699 u_char proto = IPPROTO_IP; /* default protocol */ in add() 3484 if (setsockopt(s, IPPROTO_IP, IP_FW_ZERO, NULL, 0) < 0) in zero() 3498 if (setsockopt(s, IPPROTO_IP, in zero() 3537 if (setsockopt(s, IPPROTO_IP, in resetlog() [all …]
|
/dragonfly/tools/tools/net80211/wesside/dics/ |
H A D | dics.c | 138 if ( ctl.hdr.cmsg_level != IPPROTO_IP || in check_signal() 350 if (setsockopt(us, IPPROTO_IP, IP_RECVTTL, &rd, sizeof(rd)) == -1) { in main() 362 if (setsockopt(s, IPPROTO_IP, IP_HDRINCL, &rd, sizeof(rd)) == -1) { in main()
|
/dragonfly/usr.sbin/mtest/ |
H A D | mtest.c | 72 if( setsockopt( so, IPPROTO_IP, IP_ADD_MEMBERSHIP, in main() 93 if( setsockopt( so, IPPROTO_IP, IP_DROP_MEMBERSHIP, in main()
|
/dragonfly/sbin/routed/ |
H A D | rdisc.c | 194 if (setsockopt(rdisc_sock, IPPROTO_IP, in set_rdisc_mg() 205 if (setsockopt(rdisc_sock, IPPROTO_IP, IP_ADD_MEMBERSHIP, in set_rdisc_mg() 220 if (setsockopt(rdisc_sock, IPPROTO_IP, in set_rdisc_mg() 231 if (setsockopt(rdisc_sock, IPPROTO_IP, IP_ADD_MEMBERSHIP, in set_rdisc_mg() 738 IPPROTO_IP, IP_MULTICAST_IF, in send_rdisc()
|
H A D | main.c | 236 mib[2] = IPPROTO_IP; in main() 639 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_TTL, in get_rip_sock() 698 if (setsockopt(rip_sock,IPPROTO_IP, IP_ADD_MEMBERSHIP, in rip_mcast_on()
|
/dragonfly/usr.sbin/rwhod/ |
H A D | rwhod.c | 496 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_IF, in send_host_information() 580 if (setsockopt(c_sock, IPPROTO_IP, IP_ADD_MEMBERSHIP, in configure() 587 if (setsockopt(c_sock, IPPROTO_IP, IP_MULTICAST_TTL, in configure() 665 if (setsockopt(s, IPPROTO_IP, IP_ADD_MEMBERSHIP, in configure()
|
/dragonfly/sbin/ping/ |
H A D | ping.c | 565 mib[2] = IPPROTO_IP; in main() 571 setsockopt(s, IPPROTO_IP, IP_HDRINCL, &hold, sizeof(hold)); in main() 590 if (setsockopt(s, IPPROTO_IP, IP_OPTIONS, rspace, in main() 600 if (setsockopt(s, IPPROTO_IP, IP_TTL, &ttl, in main() 606 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_LOOP, &loop, in main() 612 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_TTL, &mttl, in main() 618 if (setsockopt(s, IPPROTO_IP, IP_MULTICAST_IF, &ifaddr, in main()
|
/dragonfly/contrib/tcp_wrappers/ |
H A D | fix_options.c | 66 ipproto = IPPROTO_IP;
|
/dragonfly/lib/libc/rpc/ |
H A D | bindresvport.c | 92 proto = IPPROTO_IP; in bindresvport_sa()
|
/dragonfly/libexec/telnetd/ |
H A D | telnetd.c | 125 #if defined(IPPROTO_IP) && defined(IP_TOS) in main() 369 #if defined(IPPROTO_IP) && defined(IP_TOS) in main() 379 && (setsockopt(0, IPPROTO_IP, IP_TOS, in main()
|
/dragonfly/test/udp/mcastconn/ |
H A D | mcastconn.c | 42 if (setsockopt(s, IPPROTO_IP, IP_ADD_MEMBERSHIP, in create_sock()
|
/dragonfly/crypto/libressl/crypto/bio/ |
H A D | bss_dgram.c | 409 ret = setsockopt(b->num, IPPROTO_IP, IP_MTU_DISCOVER, in dgram_ctrl() 443 ret = getsockopt(b->num, IPPROTO_IP, IP_MTU, in dgram_ctrl()
|
/dragonfly/sys/netinet/ |
H A D | ip_input.c | 2207 IP_RECVDSTADDR, IPPROTO_IP); in ip_savecontrol() 2213 IP_RECVTTL, IPPROTO_IP); in ip_savecontrol() 2219 IP_RECVTOS, IPPROTO_IP); in ip_savecontrol() 2231 sizeof(struct in_addr), IP_RECVOPTS, IPPROTO_IP); in ip_savecontrol() 2238 IP_RECVRETOPTS, IPPROTO_IP); in ip_savecontrol() 2272 IP_RECVIF, IPPROTO_IP); in ip_savecontrol()
|
H A D | in.h | 91 #define IPPROTO_IP 0 /* dummy for IP */ macro
|
/dragonfly/test/udp/sendsrcaddr/ |
H A D | udp_sendsrcaddr.c | 43 cm->cmsg_level = IPPROTO_IP; in test_sendsrcaddr()
|
/dragonfly/sbin/dump/ |
H A D | dumprmt.c | 177 if (setsockopt(rmtape, IPPROTO_IP, IP_TOS, in rmtgetconn()
|
/dragonfly/usr.bin/systat/ |
H A D | ip.c | 274 name[2] = IPPROTO_IP; in fetch_ipstats()
|