Home
last modified time | relevance | path

Searched refs:sotc (Results 1 – 8 of 8) sorted by relevance

/xnu-8019.80.24/bsd/netinet/
H A Din_tclass.c956 int sotc; in so_set_net_service_type() local
963 sotc = sotc_by_netservicetype[netsvctype]; in so_set_net_service_type()
964 error = so_set_traffic_class(so, sotc); in so_set_net_service_type()
1008 int sotc = SO_TC_UNSPEC; in so_tc_from_control() local
1028 sotc = val; in so_tc_from_control()
1029 return sotc; in so_tc_from_control()
1045 sotc = sotc_by_netservicetype[val]; in so_tc_from_control()
1046 return sotc; in so_tc_from_control()
1053 return sotc; in so_tc_from_control()
1243 int sotc, uint32_t flags) in set_packet_service_class() argument
[all …]
H A Draw_ip.c429 int sotc = SO_TC_UNSPEC; in rip_output() local
435 sotc = so_tc_from_control(control, &netsvctype); in rip_output()
440 if (sotc == SO_TC_UNSPEC) { in rip_output()
441 sotc = so->so_traffic_class; in rip_output()
475 ipoa.ipoa_sotc = sotc; in rip_output()
616 set_packet_service_class(m, so, sotc, 0); in rip_output()
H A Dudp_usrreq.c1506 int sotc = SO_TC_UNSPEC; in udp_output() local
1550 sotc = so_tc_from_control(control, &netsvctype); in udp_output()
1563 if (sotc == SO_TC_UNSPEC) { in udp_output()
1564 sotc = so->so_traffic_class; in udp_output()
1612 ipoa.ipoa_sotc = sotc; in udp_output()
1952 set_packet_service_class(m, so, sotc, 0); in udp_output()
H A Dtcp_output.c616 int sotc = so->so_traffic_class; in tcp_output() local
2662 set_packet_service_class(m, so, sotc, svc_flags); in tcp_output()
2668 (void) m_set_service_class(m, so_tc2msc(sotc)); in tcp_output()
H A Dtcp_subr.c749 int sotc = SO_TC_UNSPEC; in tcp_respond() local
910 sotc = tp->t_inpcb->inp_socket->so_traffic_class; in tcp_respond()
913 sotc, svc_flags); in tcp_respond()
962 ip6oa.ip6oa_sotc = sotc; in tcp_respond()
1024 ipoa.ipoa_sotc = sotc; in tcp_respond()
/xnu-8019.80.24/bsd/netinet6/
H A Dudp6_output.c166 int sotc = SO_TC_UNSPEC; in udp6_output() local
242 sotc = so_tc_from_control(control, &netsvctype); in udp6_output()
252 if (sotc == SO_TC_UNSPEC) { in udp6_output()
253 sotc = so->so_traffic_class; in udp6_output()
256 ip6oa.ip6oa_sotc = sotc; in udp6_output()
531 set_packet_service_class(m, so, sotc, PKT_SCF_IPV6); in udp6_output()
H A Draw_ip6.c366 int sotc = SO_TC_UNSPEC; in rip6_output() local
492 sotc = so_tc_from_control(control, &netsvctype); in rip6_output()
502 if (sotc == SO_TC_UNSPEC) { in rip6_output()
503 sotc = so->so_traffic_class; in rip6_output()
506 ip6oa.ip6oa_sotc = sotc; in rip6_output()
782 set_packet_service_class(m, so, sotc, PKT_SCF_IPV6); in rip6_output()
/xnu-8019.80.24/bsd/kern/
H A Dkpi_socket.c587 int sotc; in sock_settclassopt() local
614 sotc = so_tc_from_dscp((uint8_t)((*(const int *)optval) >> 2)); in sock_settclassopt()
617 sopt.sopt_val = CAST_USER_ADDR_T(&sotc); in sock_settclassopt()
618 sopt.sopt_valsize = sizeof(sotc); in sock_settclassopt()