Home
last modified time | relevance | path

Searched refs:tun_attach (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dtun.c20 static int tun_attach(int fd, char *dev) in tun_attach() function
150 EXPECT_EQ(tun_attach(self->fd, self->ifname), 0); in TEST_F()
156 EXPECT_EQ(tun_attach(self->fd, self->ifname), 0); in TEST_F()
/kernel/linux/linux-5.10/drivers/net/
H A Dtun.c765 static int tun_attach(struct tun_struct *tun, struct file *file, in tun_attach() function
1018 err = tun_attach(tun, tun->file, false, ifr->ifr_flags & IFF_NAPI, in tun_net_init()
2780 err = tun_attach(tun, file, ifr->ifr_flags & IFF_NOFILTER, in tun_set_iff()
2987 ret = tun_attach(tun, file, false, tun->flags & IFF_NAPI, in tun_set_queue()
/kernel/linux/linux-6.6/drivers/net/
H A Dtun.c754 static int tun_attach(struct tun_struct *tun, struct file *file, in tun_attach() function
1007 err = tun_attach(tun, tun->file, false, ifr->ifr_flags & IFF_NAPI, in tun_net_init()
2782 err = tun_attach(tun, file, ifr->ifr_flags & IFF_NOFILTER, in tun_set_iff()
2998 ret = tun_attach(tun, file, false, tun->flags & IFF_NAPI, in tun_set_queue()

Completed in 11 milliseconds