Lines Matching defs:qos
177 struct atm_mpoa_qos *atm_mpoa_add_qos(__be32 dst_ip, struct atm_qos *qos)
183 entry->qos = *qos;
194 entry->qos = *qos;
204 struct atm_mpoa_qos *qos;
206 qos = qos_head;
207 while (qos) {
208 if (qos->ipaddr == dst_ip)
210 qos = qos->next;
213 return qos;
247 struct atm_mpoa_qos *qos;
249 qos = qos_head;
253 while (qos != NULL) {
255 &qos->ipaddr,
256 qos->qos.txtp.max_pcr,
257 qos->qos.txtp.pcr,
258 qos->qos.txtp.min_pcr,
259 qos->qos.txtp.max_cdv,
260 qos->qos.txtp.max_sdu,
261 qos->qos.rxtp.max_pcr,
262 qos->qos.rxtp.pcr,
263 qos->qos.rxtp.min_pcr,
264 qos->qos.rxtp.max_cdv,
265 qos->qos.rxtp.max_sdu);
266 qos = qos->next;
1121 struct atm_mpoa_qos *qos = atm_mpoa_search_qos(dst_ip);
1125 if (eg_entry->shortcut->qos.txtp.traffic_class &
1126 msg->qos.txtp.traffic_class &
1127 (qos ? qos->qos.txtp.traffic_class : ATM_UBR | ATM_CBR)) {
1128 if (eg_entry->shortcut->qos.txtp.traffic_class == ATM_UBR)
1130 else if (eg_entry->shortcut->qos.txtp.max_pcr > 0)
1145 if (qos &&
1146 (qos->qos.txtp.traffic_class == msg->qos.txtp.traffic_class)) {
1147 msg->qos = qos->qos;
1151 memset(&msg->qos, 0, sizeof(struct atm_qos));
1491 struct atm_mpoa_qos *qos, *nextqos;
1522 qos = qos_head;
1524 while (qos != NULL) {
1525 nextqos = qos->next;
1526 dprintk("freeing qos entry %p\n", qos);
1527 kfree(qos);
1528 qos = nextqos;