Searched refs:sunaddr (Results 1 – 1 of 1) sorted by relevance
/linux-5.19.10/net/unix/ |
D | af_unix.c | 148 static unsigned int unix_abstract_hash(struct sockaddr_un *sunaddr, in unix_abstract_hash() argument 151 __wsum csum = csum_partial(sunaddr, addr_len, 0); in unix_abstract_hash() 244 static struct unix_address *unix_create_addr(struct sockaddr_un *sunaddr, in unix_create_addr() argument 255 memcpy(addr->name, sunaddr, addr_len); in unix_create_addr() 273 static int unix_validate_addr(struct sockaddr_un *sunaddr, int addr_len) in unix_validate_addr() argument 276 addr_len > sizeof(*sunaddr)) in unix_validate_addr() 279 if (sunaddr->sun_family != AF_UNIX) in unix_validate_addr() 285 static void unix_mkname_bsd(struct sockaddr_un *sunaddr, int addr_len) in unix_mkname_bsd() argument 295 ((char *)sunaddr)[addr_len] = 0; in unix_mkname_bsd() 996 static struct sock *unix_find_bsd(struct net *net, struct sockaddr_un *sunaddr, in unix_find_bsd() argument [all …]
|