Searched refs:IP_HDRINCL (Results 1 – 9 of 9) sorted by relevance
| /freebsd-12-stable/tools/regression/netinet/ipsockopt/ |
| D | ipsockopt.c | 229 if (getsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, &len) == 0) in test_ip_hdrincl() 238 if (setsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, sizeof(flag[0])) in test_ip_hdrincl() 259 if (getsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, &len) == 0) in test_ip_hdrincl() 268 if (setsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, sizeof(flag[0])) in test_ip_hdrincl() 303 if (getsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, &len) < 0) in test_ip_hdrincl() 319 if (setsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, sizeof(flag[0])) in test_ip_hdrincl() 329 if (getsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, &len) < 0) in test_ip_hdrincl() 347 if (setsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, sizeof(flag[0])) in test_ip_hdrincl() 357 if (getsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, &len) < 0) in test_ip_hdrincl()
|
| /freebsd-12-stable/contrib/netbsd-tests/net/icmp/ |
| D | t_ping.c | 376 RL(rump_sys_setsockopt(s, IPPROTO_IP, IP_HDRINCL, &x, sizeof(x))); in ATF_TC_BODY()
|
| /freebsd-12-stable/sys/netinet/ |
| D | in.h | 410 #define IP_HDRINCL 2 /* int; header is included with data */ macro
|
| D | raw_ip.c | 640 case IP_HDRINCL: in rip_ctloutput() 693 case IP_HDRINCL: in rip_ctloutput()
|
| /freebsd-12-stable/tools/tools/net80211/wesside/dics/ |
| D | dics.c | 362 if (setsockopt(s, IPPROTO_IP, IP_HDRINCL, &rd, sizeof(rd)) == -1) { in main()
|
| /freebsd-12-stable/sbin/dhclient/ |
| D | bpf.c | 185 if (setsockopt(sock, IPPROTO_IP, IP_HDRINCL, &on, in if_register_send()
|
| /freebsd-12-stable/sys/compat/linux/ |
| D | linux_socket.c | 129 return (IP_HDRINCL); in linux_to_bsd_ip_sockopt() 425 error = kern_getsockopt(td, s, IPPROTO_IP, IP_HDRINCL, in linux_check_hdrincl() 512 kern_setsockopt(td, td->td_retval[0], IPPROTO_IP, IP_HDRINCL, in linux_socket()
|
| /freebsd-12-stable/contrib/traceroute/ |
| D | traceroute.c | 894 #ifdef IP_HDRINCL in main() 895 if (setsockopt(sndsock, IPPROTO_IP, IP_HDRINCL, (char *)&on, in main() 1328 #if !defined(IP_HDRINCL) && defined(IP_TTL) in send_probe()
|
| /freebsd-12-stable/sbin/ping/ |
| D | ping.c | 707 setsockopt(ssend, IPPROTO_IP, IP_HDRINCL, &hold, sizeof(hold)); in main()
|