Lines Matching refs:qos
51 { "qos", o_string, &qosstr,
52 "set QoS for PPPoATM connection", 1},
134 struct atm_qos qos;
141 memset(&qos, 0, sizeof qos);
142 qos.txtp.traffic_class = qos.rxtp.traffic_class = ATM_UBR;
143 /* TODO: support simplified QoS setting */
145 if (text2qos(qosstr, &qos, 0))
146 fatal("Can't parse QoS: \"%s\"");
147 qos.txtp.max_sdu = lcp_allowoptions[0].mru + pppoatm_overhead();
148 qos.rxtp.max_sdu = lcp_wantoptions[0].mru + pppoatm_overhead();
149 qos.aal = ATM_AAL5;
150 if (setsockopt(fd, SOL_ATM, SO_ATMQOS, &qos, sizeof(qos)) < 0)