Home
last modified time | relevance | path

Searched refs:dscp (Results 1 – 18 of 18) sorted by relevance

/openbsd/gnu/usr.bin/perl/lib/
H A Dopen.pm62 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 Dsocket.c165 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 Dsocket.c307 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 Dlisten_dnsport.h264 int snd, int listen, int* reuseport, int transparent, int freebind, int use_systemd, int dscp);
283 int use_systemd, int dscp);
H A Dlisten_dnsport.c215 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 Doutside_network.h567 int do_ip4, int do_ip6, size_t num_tcp, int dscp, struct infra_cache* infra,
748 int tcp_mss, int dscp);
H A Doutside_network.c265 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 Dlisten_dnsport.h264 int snd, int listen, int* reuseport, int transparent, int freebind, int use_systemd, int dscp);
283 int use_systemd, int dscp);
H A Dlisten_dnsport.c215 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 Doutside_network.h567 int do_ip4, int do_ip6, size_t num_tcp, int dscp, struct infra_cache* infra,
748 int tcp_mss, int dscp);
H A Doutside_network.c265 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 Dsocket.h101 unsigned int dscp; /*%< UDP dscp value */ member
/openbsd/usr.sbin/eigrpd/
H A Dinterface.c756 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 Dfake_event.c1033 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 Dconfiglexer.lex284 ip-dscp{COLON} { YDVAR(1, VAR_IP_DSCP) }
/openbsd/sbin/unwind/libunbound/util/
H A Dconfiglexer.lex284 ip-dscp{COLON} { YDVAR(1, VAR_IP_DSCP) }
/openbsd/usr.sbin/unbound/doc/
H A Dexample.conf.in139 # ip-dscp: 0
H A DChangelog2239 - windows compile warnings removal for ip dscp option code.
2331 - Merge PR #200 from yarikk: add ip-dscp option to specify the DSCP