Searched refs:sockaddr_dn (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/include/net/ |
D | dn.h | 69 struct sockaddr_dn addr; /* Local address */ 70 struct sockaddr_dn peer; /* Remote address */ 174 static inline __le16 dn_saddr2dn(struct sockaddr_dn *saddr) in dn_saddr2dn() 205 struct sock *dn_sklist_find_listener(struct sockaddr_dn *addr); 211 int dn_sockaddr2username(struct sockaddr_dn *addr, unsigned char *buf, 213 int dn_username2sockaddr(unsigned char *data, int len, struct sockaddr_dn *addr,
|
/Linux-v5.4/net/decnet/ |
D | af_decnet.c | 243 static struct hlist_head *listen_hash(struct sockaddr_dn *addr) in listen_hash() 280 int dn_sockaddr2username(struct sockaddr_dn *sdn, unsigned char *buf, unsigned char type) in dn_sockaddr2username() 315 int dn_username2sockaddr(unsigned char *data, int len, struct sockaddr_dn *sdn, unsigned char *fmt) in dn_username2sockaddr() 367 struct sock *dn_sklist_find_listener(struct sockaddr_dn *addr) in dn_sklist_find_listener() 721 struct sockaddr_dn *saddr = (struct sockaddr_dn *)uaddr; in dn_bind() 725 if (addr_len != sizeof(struct sockaddr_dn)) in dn_bind() 899 static int __dn_connect(struct sock *sk, struct sockaddr_dn *addr, int addrlen, long *timeo, int fl… in __dn_connect() 928 if (addr == NULL || addrlen != sizeof(struct sockaddr_dn)) in __dn_connect() 941 memcpy(&scp->peer, addr, sizeof(struct sockaddr_dn)); in __dn_connect() 969 struct sockaddr_dn *addr = (struct sockaddr_dn *)uaddr; in dn_connect() [all …]
|
D | dn_nsp_in.c | 221 struct sockaddr_dn dstaddr; in dn_find_listener() 222 struct sockaddr_dn srcaddr; in dn_find_listener() 231 memset(&dstaddr, 0, sizeof(struct sockaddr_dn)); in dn_find_listener() 232 memset(&srcaddr, 0, sizeof(struct sockaddr_dn)); in dn_find_listener()
|
D | dn_dev.c | 59 #define DN_IFREQ_SIZE (offsetof(struct ifreq, ifr_ifru) + sizeof(struct sockaddr_dn)) 417 struct sockaddr_dn *sdn = (struct sockaddr_dn *)&ifr->ifr_addr; in dn_dev_ioctl()
|
/Linux-v5.4/include/uapi/linux/ |
D | dn.h | 82 struct sockaddr_dn { struct
|