addr.h 654 B

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