mpoa_proc.c (f9cd49033b349b8be3bb1f01b39eed837853d880) mpoa_proc.c (f42cf8d6a3ec934551ac0f20f4654dccb11fa30d)
1#define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__
2
3#ifdef CONFIG_PROC_FS
4#include <linux/errno.h>
5#include <linux/kernel.h>
6#include <linux/string.h>
7#include <linux/mm.h>
8#include <linux/module.h>

--- 258 unchanged lines hidden (view full) ---

267 ipaddr = *(__be32 *)ip;
268 qos.txtp.traffic_class = ATM_CBR;
269 qos.txtp.max_pcr = tx_pcr;
270 qos.txtp.max_sdu = tx_sdu;
271 qos.rxtp.traffic_class = ATM_CBR;
272 qos.rxtp.max_pcr = rx_pcr;
273 qos.rxtp.max_sdu = rx_sdu;
274 qos.aal = ATM_AAL5;
1#define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__
2
3#ifdef CONFIG_PROC_FS
4#include <linux/errno.h>
5#include <linux/kernel.h>
6#include <linux/string.h>
7#include <linux/mm.h>
8#include <linux/module.h>

--- 258 unchanged lines hidden (view full) ---

267 ipaddr = *(__be32 *)ip;
268 qos.txtp.traffic_class = ATM_CBR;
269 qos.txtp.max_pcr = tx_pcr;
270 qos.txtp.max_sdu = tx_sdu;
271 qos.rxtp.traffic_class = ATM_CBR;
272 qos.rxtp.max_pcr = rx_pcr;
273 qos.rxtp.max_sdu = rx_sdu;
274 qos.aal = ATM_AAL5;
275 dprintk("parse_qos(): setting qos paramameters to tx=%d,%d rx=%d,%d\n",
275 dprintk("parse_qos(): setting qos parameters to tx=%d,%d rx=%d,%d\n",
276 qos.txtp.max_pcr, qos.txtp.max_sdu,
277 qos.rxtp.max_pcr, qos.rxtp.max_sdu);
278
279 atm_mpoa_add_qos(ipaddr, &qos);
280 return 1;
281}
282
283/*

--- 29 unchanged lines hidden ---
276 qos.txtp.max_pcr, qos.txtp.max_sdu,
277 qos.rxtp.max_pcr, qos.rxtp.max_sdu);
278
279 atm_mpoa_add_qos(ipaddr, &qos);
280 return 1;
281}
282
283/*

--- 29 unchanged lines hidden ---