Searched refs:IP_OPTIONS (Results 1 - 13 of 13) sorted by relevance

/freebsd-11-stable/contrib/tcp_wrappers/
H A Dfix_options.c41 #ifdef IP_OPTIONS
72 if (getsockopt(fd, ipproto, IP_OPTIONS, (char *) optbuf, &optsize) == 0
125 if (setsockopt(fd, ipproto, IP_OPTIONS, (char *) 0, optsize) != 0) {
126 syslog(LOG_ERR, "setsockopt IP_OPTIONS NULL: %m");
/freebsd-11-stable/tools/regression/netinet/ipsockopt/
H A Dipsockopt.c105 * Exercise the IP_OPTIONS socket option. Confirm the following properties:
124 if (getsockopt(sock, IPPROTO_IP, IP_OPTIONS, test_options, &len) < 0)
140 if (setsockopt(sock, IPPROTO_IP, IP_OPTIONS, &new_options,
154 if (getsockopt(sock, IPPROTO_IP, IP_OPTIONS, test_options, &len) < 0)
184 if (setsockopt(sock, IPPROTO_IP, IP_OPTIONS, NULL, 0) < 0)
194 if (getsockopt(sock, IPPROTO_IP, IP_OPTIONS, test_options, &len) < 0)
/freebsd-11-stable/libexec/rlogind/
H A Drlogind.c239 #ifdef IP_OPTIONS
251 if (getsockopt(0, ipproto, IP_OPTIONS, (char *)optbuf,
/freebsd-11-stable/libexec/rshd/
H A Drshd.c224 #ifdef IP_OPTIONS
234 if (!getsockopt(0, ipproto, IP_OPTIONS, optbuf, &optsize) &&
/freebsd-11-stable/sys/netinet/
H A Din.h407 #define IP_OPTIONS 1 /* buf/ip_opts; set/get IP options */ macro
H A Dip_output.c983 case IP_OPTIONS:
1205 case IP_OPTIONS:
/freebsd-11-stable/sbin/ping/
H A Dping.c255 #ifdef IP_OPTIONS
751 #ifdef IP_OPTIONS
757 if (setsockopt(ssend, IPPROTO_IP, IP_OPTIONS, rspace,
759 err(EX_OSERR, "setsockopt IP_OPTIONS");
763 #endif /* IP_OPTIONS */
/freebsd-11-stable/crypto/heimdal/appl/telnet/telnet/
H A Dcommands.c2201 #if defined(IP_OPTIONS) && defined(IPPROTO_IP) && defined(HAVE_SETSOCKOPT)
2470 #if defined(IP_OPTIONS) && defined(IPPROTO_IP)
2566 *optp = IP_OPTIONS;
/freebsd-11-stable/contrib/traceroute/
H A Dtraceroute.c853 #if defined(IP_OPTIONS) && !defined(HAVE_RAW_OPTIONS)
877 if ((setsockopt(sndsock, pe->p_proto, IP_OPTIONS,
879 Fprintf(stderr, "%s: IP_OPTIONS: %s\n",
/freebsd-11-stable/crypto/openssh/
H A Dsshd.c1350 #ifdef IP_OPTIONS
1365 if (getsockopt(sock_in, IPPROTO_IP, IP_OPTIONS, opts,
1375 #endif /* IP_OPTIONS */
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_socket.c274 return (IP_OPTIONS);
/freebsd-11-stable/contrib/telnet/telnet/
H A Dcommands.c2930 *optp = IP_OPTIONS;
/freebsd-11-stable/contrib/sendmail/src/
H A Ddaemon.c3900 if (getsockopt(fd, IPPROTO_IP, IP_OPTIONS,

Completed in 145 milliseconds