Lines Matching refs:remote_addr
224 result->remote_addr = NULL; in user_init_tap_fds()
278 result->remote_addr = NULL; in user_init_hybrid_fds()
316 struct sockaddr_un *local_addr = NULL, *remote_addr = NULL; in user_init_unix_fds() local
325 remote_addr = uml_kmalloc(sizeof(struct sockaddr_un), UM_GFP_KERNEL); in user_init_unix_fds()
326 if (remote_addr == NULL) { in user_init_unix_fds()
345 remote_addr->sun_family = AF_UNIX; in user_init_unix_fds()
346 memcpy(remote_addr->sun_path, dst, strlen(dst) + 1); in user_init_unix_fds()
369 if (connect(fd, (const struct sockaddr *) remote_addr, sizeof(struct sockaddr_un)) < 0) { in user_init_unix_fds()
370 printk(UM_KERN_ERR "bess open:cannot connect to %s %i", remote_addr->sun_path, -errno); in user_init_unix_fds()
378 result->remote_addr = remote_addr; in user_init_unix_fds()
383 kfree(remote_addr); in user_init_unix_fds()
430 result->remote_addr = NULL; in user_init_fd_fds()
508 result->remote_addr = NULL; in user_init_vde_fds()
544 result->remote_addr = NULL; in user_init_raw_fds()
701 result->remote_addr = uml_kmalloc( in user_init_socket_fds()
703 if (result->remote_addr == NULL) in user_init_socket_fds()
707 result->remote_addr, in user_init_socket_fds()
721 kfree(result->remote_addr); in user_init_socket_fds()