| /openbsd-src/regress/sys/kern/pledge/sockopt/ |
| H A D | Makefile | 20 inet AF_INET SOCK_DGRAM IPPROTO_UDP get IPPROTO_IP IP_TOS 0 0 0 \ 21 inet AF_INET SOCK_DGRAM IPPROTO_UDP set IPPROTO_IP IP_TOS 1 0 0 \
|
| /openbsd-src/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 | 258 - Instead of using a hard-coded TOS value, import IP_TOS from 260 different value for IP_TOS in it headers than Linux. I'm assuming 271 - added IPPROTO_IP, IP_TOS, IP_TTL, and AF_INET to the list of Socket
|
| /openbsd-src/usr.sbin/ntpd/ |
| H A D | server.c | 123 IPPROTO_IP, IP_TOS, &tos, sizeof(tos)) == -1) in setup_listeners()
|
| H A D | client.c | 186 IPPROTO_IP, IP_TOS, &val, sizeof(val)) == -1) in client_query()
|
| /openbsd-src/usr.sbin/ldpd/ |
| H A D | socket.c | 221 if (setsockopt(fd, IPPROTO_IP, IP_TOS, (int *)&tos, sizeof(tos)) == -1) { in sock_set_ipv4_tos()
|
| /openbsd-src/usr.bin/tcpbench/ |
| H A D | tcpbench.c | 715 if (setsockopt(sock, IPPROTO_IP, IP_TOS, in server_init() 717 err(1, "setsockopt IP_TOS"); in server_init() 776 if (setsockopt(sock, IPPROTO_IP, IP_TOS, in server_init() 778 err(1, "setsockopt IP_TOS"); in server_init() 912 if (setsockopt(sock, IPPROTO_IP, IP_TOS, in map_tos() 914 err(1, "setsockopt IP_TOS"); in map_tos()
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Socket/ |
| H A D | Makefile.PL | 185 IP_RECVRETOPTS IP_RETOPTS IP_TOS IP_TRANSPARENT IP_TTL
|
| /openbsd-src/sys/netinet/ |
| H A D | in.h | 288 #define IP_TOS 3 /* int; IP type of service and preced. */ macro
|
| H A D | ip_output.c | 891 case IP_TOS: in ip_ctloutput() 908 case IP_TOS: in ip_ctloutput() 1104 case IP_TOS: in ip_ctloutput() 1119 case IP_TOS: in ip_ctloutput()
|
| /openbsd-src/usr.bin/ftp/ |
| H A D | ftp.c | 261 if (setsockopt(s, IPPROTO_IP, IP_TOS, (char *)&tos, sizeof(int)) == -1) in hookup() 1523 if (setsockopt(data, IPPROTO_IP, IP_TOS, (char *)&on, in initconn() 1662 if (setsockopt(data, IPPROTO_IP, IP_TOS, (char *)&on, in initconn() 1694 if (setsockopt(s, IPPROTO_IP, IP_TOS, (char *)&tos, in dataconn()
|
| /openbsd-src/usr.sbin/ripd/ |
| H A D | interface.c | 286 if (setsockopt(fd, IPPROTO_IP, IP_TOS, in if_set_tos() 288 log_warn("if_set_tos: error setting IP_TOS to 0x%x", tos); in if_set_tos()
|
| /openbsd-src/gnu/usr.bin/perl/dist/Net-Ping/lib/Net/ |
| H A D | Ping.pm | 282 setsockopt($self->{fh}, $proto, IP_TOS, pack("I*", $self->{'tos'})) 1239 setsockopt($self->{fh}, IPPROTO_IP, IP_TOS, pack("I*", $self->{'tos'}))
|
| /openbsd-src/usr.sbin/dvmrpd/ |
| H A D | interface.c | 528 if (setsockopt(fd, IPPROTO_IP, IP_TOS, in if_set_tos() 530 log_warn("if_set_tos: error setting IP_TOS to 0x%x", tos); in if_set_tos()
|
| /openbsd-src/usr.bin/dig/lib/isc/unix/ |
| H A D | socket.c | 470 && (cmsgp->cmsg_type == IP_TOS)) { in process_cmsg() 630 cmsgp->cmsg_type = IP_TOS; in build_msghdr_send() 634 if (setsockopt(sock->fd, IPPROTO_IP, IP_TOS, in build_msghdr_send()
|
| /openbsd-src/libexec/ftpd/ |
| H A D | ftpd.c | 537 if (setsockopt(0, IPPROTO_IP, IP_TOS, &tos, in main() 1299 if (setsockopt(s, IPPROTO_IP, IP_TOS, &opt, in getdatasock()
|
| /openbsd-src/sys/net/ |
| H A D | bfd.c | 556 error = sosetopt(so, IPPROTO_IP, IP_TOS, mopt); in bfd_sender()
|
| /openbsd-src/usr.sbin/bgpd/ |
| H A D | bgpd.c | 1399 if (setsockopt(ce->fd, IPPROTO_IP, IP_TOS, &pre, sizeof(pre)) == in bgpd_rtr_connect() 1401 log_warn("rtr %s: setsockopt IP_TOS", r->descr); in bgpd_rtr_connect() 1408 log_warn("rtr %s: setsockopt IP_TOS", r->descr); in bgpd_rtr_connect()
|
| H A D | session.c | 1157 if (setsockopt(p->fd, IPPROTO_IP, IP_TOS, &pre, sizeof(pre)) == in session_setup_socket()
|
| /openbsd-src/usr.bin/telnet/ |
| H A D | commands.c | 1871 if (setsockopt(net, IPPROTO_IP, IP_TOS, &tos, sizeof(tos)) == -1 in tn() 1873 perror("telnet: setsockopt (IP_TOS) (ignored)"); in tn()
|
| /openbsd-src/sys/kern/ |
| H A D | kern_pledge.c | 1451 case IP_TOS: in pledge_sockopt()
|
| /openbsd-src/usr.bin/nc/ |
| H A D | netcat.c | 1574 IP_TOS, &Tflag, sizeof(Tflag)) == -1) in set_common_sockopts()
|
| /openbsd-src/usr.bin/ssh/ |
| H A D | misc.c | 266 debug3_f("set socket %d IP_TOS 0x%02x", fd, tos); 267 if (setsockopt(fd, IPPROTO_IP, IP_TOS, 269 error("setsockopt socket %d IP_TOS %d: %s",
|
| /openbsd-src/usr.sbin/unbound/services/ |
| H A D | listen_dnsport.c | 921 if(setsockopt(socket, IPPROTO_IP, IP_TOS, (void*)&ds, sizeof(ds)) < 0) in set_ip_dscp()
|
| /openbsd-src/sbin/unwind/libunbound/services/ |
| H A D | listen_dnsport.c | 921 if(setsockopt(socket, IPPROTO_IP, IP_TOS, (void*)&ds, sizeof(ds)) < 0) in set_ip_dscp()
|