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