Searched refs:IP_HDRINCL (Results 1 – 9 of 9) sorted by relevance
/freebsd/tools/regression/netinet/ipsockopt/ |
H A D | ipsockopt.c | 227 if (getsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, &len) == 0) in test_ip_hdrincl() 236 if (setsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, sizeof(flag[0])) in test_ip_hdrincl() 257 if (getsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, &len) == 0) in test_ip_hdrincl() 266 if (setsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, sizeof(flag[0])) in test_ip_hdrincl() 301 if (getsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, &len) < 0) in test_ip_hdrincl() 317 if (setsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, sizeof(flag[0])) in test_ip_hdrincl() 327 if (getsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, &len) < 0) in test_ip_hdrincl() 345 if (setsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, sizeof(flag[0])) in test_ip_hdrincl() 355 if (getsockopt(sock, IPPROTO_IP, IP_HDRINCL, flag, &len) < 0) in test_ip_hdrincl()
|
/freebsd/contrib/netbsd-tests/net/icmp/ |
H A D | t_ping.c | 376 RL(rump_sys_setsockopt(s, IPPROTO_IP, IP_HDRINCL, &x, sizeof(x))); in ATF_TC_BODY()
|
/freebsd/sys/netinet/ |
H A D | in.h | 437 #define IP_HDRINCL 2 /* int; header is included with data */ macro
|
H A D | raw_ip.c | 664 case IP_HDRINCL: in rip_ctloutput() 719 case IP_HDRINCL: in rip_ctloutput()
|
/freebsd/usr.sbin/traceroute/ |
H A D | traceroute.c | 830 #ifdef IP_HDRINCL in main() 831 if (setsockopt(sndsock, IPPROTO_IP, IP_HDRINCL, (char *)&on, in main() 1282 #if !defined(IP_HDRINCL) && defined(IP_TTL) in send_probe()
|
/freebsd/tools/tools/net80211/wesside/dics/ |
H A D | dics.c | 360 if (setsockopt(s, IPPROTO_IP, IP_HDRINCL, &rd, sizeof(rd)) == -1) { in main()
|
/freebsd/sbin/dhclient/ |
H A D | bpf.c | 179 if (setsockopt(sock, IPPROTO_IP, IP_HDRINCL, &on, in if_register_send()
|
/freebsd/sys/compat/linux/ |
H A D | linux_socket.c | 125 return (IP_HDRINCL); in linux_to_bsd_ip_sockopt() 806 error = kern_getsockopt(td, s, IPPROTO_IP, IP_HDRINCL, in linux_check_hdrincl() 932 kern_setsockopt(td, td->td_retval[0], IPPROTO_IP, IP_HDRINCL, in linux_socket()
|
/freebsd/sbin/ping/ |
H A D | ping.c | 690 setsockopt(ssend, IPPROTO_IP, IP_HDRINCL, &hold, sizeof(hold)); in ping()
|