Lines Matching refs:qos
176 struct atm_mpoa_qos *atm_mpoa_add_qos(__be32 dst_ip, struct atm_qos *qos)
182 entry->qos = *qos;
193 entry->qos = *qos;
203 struct atm_mpoa_qos *qos;
205 qos = qos_head;
206 while (qos) {
207 if (qos->ipaddr == dst_ip)
209 qos = qos->next;
212 return qos;
246 struct atm_mpoa_qos *qos;
248 qos = qos_head;
252 while (qos != NULL) {
254 &qos->ipaddr,
255 qos->qos.txtp.max_pcr,
256 qos->qos.txtp.pcr,
257 qos->qos.txtp.min_pcr,
258 qos->qos.txtp.max_cdv,
259 qos->qos.txtp.max_sdu,
260 qos->qos.rxtp.max_pcr,
261 qos->qos.rxtp.pcr,
262 qos->qos.rxtp.min_pcr,
263 qos->qos.rxtp.max_cdv,
264 qos->qos.rxtp.max_sdu);
265 qos = qos->next;
1122 struct atm_mpoa_qos *qos = atm_mpoa_search_qos(dst_ip);
1126 if (eg_entry->shortcut->qos.txtp.traffic_class &
1127 msg->qos.txtp.traffic_class &
1128 (qos ? qos->qos.txtp.traffic_class : ATM_UBR | ATM_CBR)) {
1129 if (eg_entry->shortcut->qos.txtp.traffic_class == ATM_UBR)
1131 else if (eg_entry->shortcut->qos.txtp.max_pcr > 0)
1146 if (qos &&
1147 (qos->qos.txtp.traffic_class == msg->qos.txtp.traffic_class)) {
1148 msg->qos = qos->qos;
1152 memset(&msg->qos, 0, sizeof(struct atm_qos));
1490 struct atm_mpoa_qos *qos, *nextqos;
1521 qos = qos_head;
1523 while (qos != NULL) {
1524 nextqos = qos->next;
1525 dprintk("freeing qos entry %p\n", qos);
1526 kfree(qos);
1527 qos = nextqos;