Lines Matching refs:remote_addr
221 result->remote_addr = NULL; in user_init_tap_fds()
275 result->remote_addr = NULL; in user_init_hybrid_fds()
313 struct sockaddr_un *local_addr = NULL, *remote_addr = NULL; in user_init_unix_fds() local
322 remote_addr = uml_kmalloc(sizeof(struct sockaddr_un), UM_GFP_KERNEL); in user_init_unix_fds()
323 if (remote_addr == NULL) { in user_init_unix_fds()
342 remote_addr->sun_family = AF_UNIX; in user_init_unix_fds()
343 memcpy(remote_addr->sun_path, dst, strlen(dst) + 1); in user_init_unix_fds()
366 if (connect(fd, (const struct sockaddr *) remote_addr, sizeof(struct sockaddr_un)) < 0) { in user_init_unix_fds()
367 printk(UM_KERN_ERR "bess open:cannot connect to %s %i", remote_addr->sun_path, -errno); in user_init_unix_fds()
375 result->remote_addr = remote_addr; in user_init_unix_fds()
380 kfree(remote_addr); in user_init_unix_fds()
427 result->remote_addr = NULL; in user_init_fd_fds()
463 result->remote_addr = NULL; in user_init_raw_fds()
620 result->remote_addr = uml_kmalloc( in user_init_socket_fds()
622 if (result->remote_addr == NULL) in user_init_socket_fds()
626 result->remote_addr, in user_init_socket_fds()
640 kfree(result->remote_addr); in user_init_socket_fds()