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