/openbsd/gnu/usr.bin/perl/lib/ |
H A D | open.pm | 62 my $dscp; 65 $dscp = ":$1"; 70 $dscp = shift(@args) || ''; 73 foreach my $layer (split(/\s+/,$dscp)) {
|
/openbsd/usr.bin/dig/lib/isc/unix/ |
H A D | socket.c | 165 unsigned int dscp; member 464 dev->dscp >>= 2; in process_cmsg() 472 dev->dscp >>= 2; in process_cmsg() 618 int dscp = (dev->dscp << 2) & 0xff; in build_msghdr_send() local 620 INSIST(dev->dscp < 0x40); in build_msghdr_send() 633 } else if (sock->pf == AF_INET && sock->dscp != dev->dscp) { in build_msghdr_send() 643 sock->dscp = dscp; in build_msghdr_send() 656 memmove(CMSG_DATA(cmsgp), &dscp, sizeof(dscp)); in build_msghdr_send() 657 } else if (sock->pf == AF_INET6 && sock->dscp != dev->dscp) { in build_msghdr_send() 666 sock->dscp = dscp; in build_msghdr_send() [all …]
|
/openbsd/usr.sbin/ldpd/ |
H A D | socket.c | 307 sock_set_ipv6_dscp(int fd, int dscp) in sock_set_ipv6_dscp() argument 309 if (setsockopt(fd, IPPROTO_IPV6, IPV6_TCLASS, &dscp, in sock_set_ipv6_dscp() 310 sizeof(dscp)) == -1) { in sock_set_ipv6_dscp()
|
/openbsd/usr.sbin/unbound/services/ |
H A D | listen_dnsport.h | 264 int snd, int listen, int* reuseport, int transparent, int freebind, int use_systemd, int dscp); 283 int use_systemd, int dscp);
|
H A D | listen_dnsport.c | 215 int freebind, int use_systemd, int dscp) in create_udp_sock() argument 456 err = set_ip_dscp(s, family, dscp); in create_udp_sock() 672 int use_systemd, int dscp) in create_tcp_accept_sock() argument 832 err = set_ip_dscp(s, addr->ai_family, dscp); in create_tcp_accept_sock() 899 set_ip_dscp(int socket, int addrfamily, int dscp) in set_ip_dscp() argument 903 if(dscp == 0) in set_ip_dscp() 905 ds = dscp << 2; in set_ip_dscp() 1044 dscp); in make_sock() 1086 use_systemd, dscp, ub_sock); in make_sock_port() 1090 dscp, ub_sock); in make_sock_port() [all …]
|
H A D | outside_network.h | 567 int do_ip4, int do_ip6, size_t num_tcp, int dscp, struct infra_cache* infra, 748 int tcp_mss, int dscp);
|
H A D | outside_network.c | 265 outnet_get_tcp_fd(struct sockaddr_storage* addr, socklen_t addrlen, int tcp_mss, int dscp) argument 298 err = set_ip_dscp(s, af, dscp); 1660 int do_ip6, size_t num_tcp, int dscp, struct infra_cache* infra, 1700 outnet->ip_dscp = dscp; 2001 int port, int* inuse, struct ub_randstate* rnd, int dscp) 2016 0, 0, 0, NULL, 0, freebind, 0, dscp); 2022 0, 0, 0, NULL, 0, 0, 0, dscp); 3553 int i, try, pnum, dscp; local 3557 dscp = outnet->ip_dscp; 3604 0, 0, 0, NULL, 0, freebind, 0, dscp); [all …]
|
/openbsd/sbin/unwind/libunbound/services/ |
H A D | listen_dnsport.h | 264 int snd, int listen, int* reuseport, int transparent, int freebind, int use_systemd, int dscp); 283 int use_systemd, int dscp);
|
H A D | listen_dnsport.c | 215 int freebind, int use_systemd, int dscp) in create_udp_sock() argument 456 err = set_ip_dscp(s, family, dscp); in create_udp_sock() 672 int use_systemd, int dscp) in create_tcp_accept_sock() argument 832 err = set_ip_dscp(s, addr->ai_family, dscp); in create_tcp_accept_sock() 899 set_ip_dscp(int socket, int addrfamily, int dscp) in set_ip_dscp() argument 903 if(dscp == 0) in set_ip_dscp() 905 ds = dscp << 2; in set_ip_dscp() 1044 dscp); in make_sock() 1086 use_systemd, dscp, ub_sock); in make_sock_port() 1090 dscp, ub_sock); in make_sock_port() [all …]
|
H A D | outside_network.h | 567 int do_ip4, int do_ip6, size_t num_tcp, int dscp, struct infra_cache* infra, 748 int tcp_mss, int dscp);
|
H A D | outside_network.c | 265 outnet_get_tcp_fd(struct sockaddr_storage* addr, socklen_t addrlen, int tcp_mss, int dscp) argument 298 err = set_ip_dscp(s, af, dscp); 1660 int do_ip6, size_t num_tcp, int dscp, struct infra_cache* infra, 1700 outnet->ip_dscp = dscp; 2001 int port, int* inuse, struct ub_randstate* rnd, int dscp) 2016 0, 0, 0, NULL, 0, freebind, 0, dscp); 2022 0, 0, 0, NULL, 0, 0, 0, dscp); 3553 int i, try, pnum, dscp; local 3557 dscp = outnet->ip_dscp; 3604 0, 0, 0, NULL, 0, freebind, 0, dscp); [all …]
|
/openbsd/usr.bin/dig/lib/isc/include/isc/ |
H A D | socket.h | 101 unsigned int dscp; /*%< UDP dscp value */ member
|
/openbsd/usr.sbin/eigrpd/ |
H A D | interface.c | 756 if_set_ipv6_dscp(int fd, int dscp) in if_set_ipv6_dscp() argument 758 if (setsockopt(fd, IPPROTO_IPV6, IPV6_TCLASS, &dscp, in if_set_ipv6_dscp() 759 sizeof(dscp)) == -1) { in if_set_ipv6_dscp()
|
/openbsd/usr.sbin/unbound/testcode/ |
H A D | fake_event.c | 1033 int ATTR_UNUSED(dscp), in outside_network_create() argument 1649 int ATTR_UNUSED(use_systemd), int ATTR_UNUSED(dscp)) in create_udp_sock() argument 1859 socklen_t ATTR_UNUSED(addrlen), int ATTR_UNUSED(tcp_mss), int ATTR_UNUSED(dscp)) in outnet_get_tcp_fd() argument
|
/openbsd/usr.sbin/unbound/util/ |
H A D | configlexer.lex | 284 ip-dscp{COLON} { YDVAR(1, VAR_IP_DSCP) }
|
/openbsd/sbin/unwind/libunbound/util/ |
H A D | configlexer.lex | 284 ip-dscp{COLON} { YDVAR(1, VAR_IP_DSCP) }
|
/openbsd/usr.sbin/unbound/doc/ |
H A D | example.conf.in | 139 # ip-dscp: 0
|
H A D | Changelog | 2239 - windows compile warnings removal for ip dscp option code. 2331 - Merge PR #200 from yarikk: add ip-dscp option to specify the DSCP
|