Home
last modified time | relevance | path

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

/xnu-8796.141.3/bsd/netinet/
H A Din_tclass.c969 int sotc; in so_set_net_service_type() local
976 sotc = sotc_by_netservicetype[netsvctype]; in so_set_net_service_type()
977 error = so_set_traffic_class(so, sotc); in so_set_net_service_type()
1021 int sotc = SO_TC_UNSPEC; in so_tc_from_control() local
1041 sotc = val; in so_tc_from_control()
1042 return sotc; in so_tc_from_control()
1058 sotc = sotc_by_netservicetype[val]; in so_tc_from_control()
1059 return sotc; in so_tc_from_control()
1066 return sotc; in so_tc_from_control()
1256 int sotc, uint32_t flags) in set_packet_service_class() argument
[all …]
H A Draw_ip.c441 int sotc = SO_TC_UNSPEC; in rip_output() local
447 sotc = so_tc_from_control(control, &netsvctype); in rip_output()
452 if (sotc == SO_TC_UNSPEC) { in rip_output()
453 sotc = so->so_traffic_class; in rip_output()
490 ipoa.ipoa_sotc = sotc; in rip_output()
634 set_packet_service_class(m, so, sotc, 0); in rip_output()
H A Dudp_usrreq.c1520 int sotc = SO_TC_UNSPEC; in udp_output() local
1564 sotc = so_tc_from_control(control, &netsvctype); in udp_output()
1577 if (sotc == SO_TC_UNSPEC) { in udp_output()
1578 sotc = so->so_traffic_class; in udp_output()
1629 ipoa.ipoa_sotc = sotc; in udp_output()
1970 set_packet_service_class(m, so, sotc, 0); in udp_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()
965 ip6oa.ip6oa_sotc = sotc; in tcp_respond()
1030 ipoa.ipoa_sotc = sotc; in tcp_respond()
H A Dtcp_output.c702 int sotc = so->so_traffic_class; in tcp_output() local
2916 set_packet_service_class(m, so, sotc, svc_flags); in tcp_output()
2922 (void) m_set_service_class(m, so_tc2msc(sotc)); in tcp_output()
/xnu-8796.141.3/bsd/netinet6/
H A Dudp6_output.c166 int sotc = SO_TC_UNSPEC; in udp6_output() local
245 sotc = so_tc_from_control(control, &netsvctype); in udp6_output()
255 if (sotc == SO_TC_UNSPEC) { in udp6_output()
256 sotc = so->so_traffic_class; in udp6_output()
259 ip6oa.ip6oa_sotc = sotc; in udp6_output()
535 set_packet_service_class(m, so, sotc, PKT_SCF_IPV6); in udp6_output()
H A Draw_ip6.c376 int sotc = SO_TC_UNSPEC; in rip6_output() local
505 sotc = so_tc_from_control(control, &netsvctype); in rip6_output()
515 if (sotc == SO_TC_UNSPEC) { in rip6_output()
516 sotc = so->so_traffic_class; in rip6_output()
519 ip6oa.ip6oa_sotc = sotc; in rip6_output()
796 set_packet_service_class(m, so, sotc, PKT_SCF_IPV6); in rip6_output()
/xnu-8796.141.3/bsd/kern/
H A Dkpi_socket.c589 int sotc; in sock_settclassopt() local
616 sotc = so_tc_from_dscp((uint8_t)((*(const int *)optval) >> 2)); in sock_settclassopt()
619 sopt.sopt_val = CAST_USER_ADDR_T(&sotc); in sock_settclassopt()
620 sopt.sopt_valsize = sizeof(sotc); in sock_settclassopt()