/openbsd/gnu/usr.bin/perl/t/io/ |
H A D | socket.t | 327 defined(my $IP_TTL = eval { Socket::IP_TTL() }) 335 ok(setsockopt($sock, $IPPROTO_IP, $IP_TTL, $integer_only_ttl), 337 my $set_ttl = getsockopt($sock, $IPPROTO_IP, $IP_TTL); 342 ok(setsockopt($sock, $IPPROTO_IP, $IP_TTL, $also_string_ttl), 344 $set_ttl = getsockopt($sock, $IPPROTO_IP, $IP_TTL);
|
/openbsd/gnu/usr.bin/perl/dist/Net-Ping/ |
H A D | TODO | 4 Some options like IP_TOS and IP_TTL are not available on IPv6
|
H A D | Changes | 271 - added IPPROTO_IP, IP_TOS, IP_TTL, and AF_INET to the list of Socket
|
/openbsd/usr.sbin/relayd/ |
H A D | check_icmp.c | 227 if (setsockopt(s, IPPROTO_IP, IP_TTL, in send_icmp() 237 IP_TTL, &ttl, len) == -1) in send_icmp()
|
H A D | check_tcp.c | 88 if (setsockopt(s, IPPROTO_IP, IP_TTL, in check_tcp()
|
H A D | relay_udp.c | 142 if (setsockopt(s, IPPROTO_IP, IP_TTL, in relay_udp_socket()
|
H A D | relay.c | 583 if (setsockopt(s, IPPROTO_IP, IP_TTL, in relay_socket()
|
/openbsd/sys/lib/libsa/ |
H A D | netudp.c | 91 ip->ip_ttl = IP_TTL; /* char */ in sendudp()
|
/openbsd/usr.sbin/ldpd/ |
H A D | socket.c | 254 if (setsockopt(fd, IPPROTO_IP, IP_TTL, &ttl, sizeof(ttl)) == -1) { in sock_set_ipv4_ucast_ttl()
|
/openbsd/sys/netinet/ |
H A D | in.h | 289 #define IP_TTL 4 /* int; IP time to live */ macro
|
H A D | ip_output.c | 886 case IP_TTL: in ip_ctloutput() 906 case IP_TTL: in ip_ctloutput() 1099 case IP_TTL: in ip_ctloutput() 1117 case IP_TTL: in ip_ctloutput()
|
/openbsd/gnu/usr.bin/perl/cpan/Socket/ |
H A D | Makefile.PL | 184 IP_RECVRETOPTS IP_RETOPTS IP_TOS IP_TRANSPARENT IP_TTL
|
/openbsd/gnu/usr.bin/perl/dist/Net-Ping/lib/Net/ |
H A D | Ping.pm | 239 setsockopt($self->{fh}, IPPROTO_IP, IP_TTL, pack("I*", $self->{'ttl'})) 287 setsockopt($self->{fh}, $proto, IP_TTL, pack("I*", $self->{'ttl'}))
|
/openbsd/sys/net/ |
H A D | bfd.c | 544 error = sosetopt(so, IPPROTO_IP, IP_TTL, mopt); in bfd_sender()
|
/openbsd/sys/kern/ |
H A D | kern_pledge.c | 1445 case IP_TTL: in pledge_sockopt()
|
/openbsd/usr.sbin/httpd/ |
H A D | server.c | 681 if (setsockopt(s, IPPROTO_IP, IP_TTL, in server_socket()
|
/openbsd/usr.bin/nc/ |
H A D | netcat.c | 1598 IP_TTL, &ttl, sizeof(ttl))) in set_common_sockopts()
|
/openbsd/usr.sbin/bgpd/ |
H A D | session.c | 163 IPPROTO_IP, IP_TTL, &ttl, sizeof(ttl)) == -1) { in setup_listeners() 1162 if (setsockopt(p->fd, IPPROTO_IP, IP_TTL, &ttl, in session_setup_socket()
|