diff options
author | Eric Kinzie <ekinzie@cmf.nrl.navy.mil> | 2005-10-06 22:19:28 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-10-06 22:19:28 -0700 |
commit | 0f21ba7cc3320d33459ecb3f538f1a42040c29cd (patch) | |
tree | 158b360de6547262d99f4861ac166709a7e17172 /net/atm/addr.h | |
parent | 20c9c825b12fcb8526a29cf20a17a5a3fc581726 (diff) | |
download | linux-0f21ba7cc3320d33459ecb3f538f1a42040c29cd.tar.gz linux-0f21ba7cc3320d33459ecb3f538f1a42040c29cd.tar.bz2 linux-0f21ba7cc3320d33459ecb3f538f1a42040c29cd.zip |
[ATM]: add support for LECS addresses learned from network
From: Eric Kinzie <ekinzie@cmf.nrl.navy.mil>
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/addr.h')
-rw-r--r-- | net/atm/addr.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/net/atm/addr.h b/net/atm/addr.h index 3099d21feeaa..f39433ad45da 100644 --- a/net/atm/addr.h +++ b/net/atm/addr.h @@ -9,10 +9,12 @@ #include <linux/atm.h> #include <linux/atmdev.h> - -void atm_reset_addr(struct atm_dev *dev); -int atm_add_addr(struct atm_dev *dev,struct sockaddr_atmsvc *addr); -int atm_del_addr(struct atm_dev *dev,struct sockaddr_atmsvc *addr); -int atm_get_addr(struct atm_dev *dev,struct sockaddr_atmsvc __user *buf,size_t size); +void atm_reset_addr(struct atm_dev *dev, enum atm_addr_type_t type); +int atm_add_addr(struct atm_dev *dev, struct sockaddr_atmsvc *addr, + enum atm_addr_type_t type); +int atm_del_addr(struct atm_dev *dev, struct sockaddr_atmsvc *addr, + enum atm_addr_type_t type); +int atm_get_addr(struct atm_dev *dev, struct sockaddr_atmsvc __user *buf, + size_t size, enum atm_addr_type_t type); #endif |