Searched refs:brname (Results 1 - 5 of 5) sorted by relevance
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/bridge-1.x/libbridge/ |
H A D | libbridge.h | 83 extern int br_foreach_bridge(int (*iterator)(const char *brname, void *), 85 extern int br_foreach_port(const char *brname, 86 int (*iterator)(const char *brname, const char *port, 92 extern int br_get_port_info(const char *brname, const char *port, 94 extern int br_add_bridge(const char *brname); 95 extern int br_del_bridge(const char *brname);
|
H A D | libbridge_if.c | 30 int br_add_bridge(const char *brname) argument 35 ret = ioctl(br_socket_fd, SIOCBRADDBR, brname); 43 strncpy(_br, brname, IFNAMSIZ); 50 int br_del_bridge(const char *brname) argument 55 ret = ioctl(br_socket_fd, SIOCBRDELBR, brname); 63 strncpy(_br, brname, IFNAMSIZ);
|
H A D | libbridge_init.c | 157 static int old_foreach_port(const char *brname, argument 170 strncpy(ifr.ifr_name, brname, IFNAMSIZ); 176 brname, strerror(errno)); 192 if (iterator(brname, ifname, arg)) 202 int br_foreach_port(const char *brname, argument 215 !(dev = sysfs_get_class_device(br_class_net, (char *) brname))) 239 if (iterator(brname, plink->name, arg)) 248 return old_foreach_port(brname, iterator, arg);
|
H A D | libbridge_devif.c | 130 static int get_portno(const char *brname, const char *ifname) argument 143 strncpy(ifr.ifr_name, brname, IFNAMSIZ); 148 brname, strerror(errno)); 157 dprintf("%s is not a in bridge %s\n", ifname, brname); 245 static int old_get_port_info(const char *brname, const char *port, argument 253 index = get_portno(brname, port); 262 strncpy(ifr.ifr_name, brname, IFNAMSIZ); 267 brname, index, strerror(errno)); 293 int br_get_port_info(const char *brname, const char *port, argument 297 return old_get_port_info(brname, por [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/bridge-1.x/brctl/ |
H A D | brctl_cmd.c | 124 const char *brname; local 129 brname = *++argv; 139 err = br_add_interface(brname, ifname); 143 if (waitarg && wait_to_forward_state(brname, ifname)) 154 brname); 165 ifname, brname, strerror(err)); 174 const char *brname; local 178 brname = *++argv; 182 err = br_del_interface(brname, ifname); 194 ifname, brname); 400 const char *brname = argv[1]; local [all...] |
Completed in 57 milliseconds