addr.h 615 B

123456789101112131415161718192021
  1. /* net/atm/addr.h - Local ATM address registry */
  2. /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */
  3. #ifndef NET_ATM_ADDR_H
  4. #define NET_ATM_ADDR_H
  5. #include <linux/atm.h>
  6. #include <linux/atmdev.h>
  7. void atm_reset_addr(struct atm_dev *dev, enum atm_addr_type_t type);
  8. int atm_add_addr(struct atm_dev *dev, const struct sockaddr_atmsvc *addr,
  9. enum atm_addr_type_t type);
  10. int atm_del_addr(struct atm_dev *dev, const struct sockaddr_atmsvc *addr,
  11. enum atm_addr_type_t type);
  12. int atm_get_addr(struct atm_dev *dev, struct sockaddr_atmsvc __user *buf,
  13. size_t size, enum atm_addr_type_t type);
  14. #endif