Searched refs:basedev (Results 1 - 4 of 4) sorted by relevance

/external/iproute2/ip/
H A Dtunnel.h28 int tnl_get_ioctl(const char *basedev, void *p);
29 int tnl_add_ioctl(int cmd, const char *basedev, const char *name, void *p);
30 int tnl_del_ioctl(const char *basedev, const char *name, void *p);
H A Dtunnel.c68 int tnl_get_ioctl(const char *basedev, void *p) argument
74 strncpy(ifr.ifr_name, basedev, IFNAMSIZ);
85 fprintf(stderr, "get tunnel \"%s\" failed: %s\n", basedev,
92 int tnl_add_ioctl(int cmd, const char *basedev, const char *name, void *p) argument
101 strncpy(ifr.ifr_name, basedev, IFNAMSIZ);
118 int tnl_del_ioctl(const char *basedev, const char *name, void *p) argument
127 strncpy(ifr.ifr_name, basedev, IFNAMSIZ);
H A Dip6tunnel.c414 const char *basedev = "ip6tnl0"; local
422 basedev = "ip6gre0";
424 basedev = "ip6_vti0";
426 return tnl_add_ioctl(cmd, basedev, p.name, &p);
432 const char *basedev = "ip6tnl0"; local
440 basedev = "ip6gre0";
442 basedev = "ip6_vti0";
444 return tnl_del_ioctl(basedev, p.name, &p);
H A Diptunnel.c267 const char *basedev; local
277 basedev = tnl_defname(&p);
278 if (!basedev) {
284 return tnl_add_ioctl(cmd, basedev, p.name, &p);
453 const char *basedev; local
459 basedev = tnl_defname(&p);
460 if (!basedev)
463 if (tnl_get_ioctl(p.name[0] ? p.name : basedev, &p))

Completed in 118 milliseconds