Searched refs:IFNAMSIZ (Results 1 – 8 of 8) sorted by relevance
/busybox-1.35.0/networking/ |
D | brctl.c | 134 char pathbuf[IFNAMSIZ + sizeof("/bridge/bridge_id") + 8]; in show_bridge() 140 #if IFNAMSIZ == 16 in show_bridge() 143 sfx = pathbuf + sprintf(pathbuf, "%.*s/bridge/", (int)IFNAMSIZ, name); in show_bridge() 187 char pathbuf[IFNAMSIZ + sizeof("/bridge/bridge_id") + 32]; in write_uint() 190 #if IFNAMSIZ == 16 in write_uint() 193 sprintf(pathbuf, "%.*s/%s", (int)IFNAMSIZ, name, leaf); in write_uint() 226 char pathbuf[IFNAMSIZ + sizeof("/brforward") + 8]; in read_bridge_forward_db() 232 #if IFNAMSIZ == 16 in read_bridge_forward_db() 235 sprintf(pathbuf, "%.*s/brforward", (int)IFNAMSIZ, name); in read_bridge_forward_db() 323 char pathbuf[IFNAMSIZ + sizeof("/brport/forward_delay_timer") + 8]; in show_bridge_port() [all …]
|
D | nameif.c | 80 #ifndef IFNAMSIZ 81 #define IFNAMSIZ 16 macro 194 if (strlen(ifname) >= IFNAMSIZ) in prepend_new_eth_table()
|
D | ifenslave.c | 149 #ifndef IFNAMSIZ 150 # define IFNAMSIZ 16 macro
|
D | interface.c | 318 char name[IFNAMSIZ]; /* interface name */ 404 static char *get_name(char name[IFNAMSIZ], char *p) in get_name() argument 415 if ((nameend - namestart) >= IFNAMSIZ) in get_name() 561 char *s, name[IFNAMSIZ]; in if_readlist_proc()
|
D | ifplugd.c | 521 if (len > IFNAMSIZ) in check_existence_through_netlink() 522 len = IFNAMSIZ; in check_existence_through_netlink()
|
/busybox-1.35.0/libbb/ |
D | xfuncs.c | 51 #ifndef IFNAMSIZ in strncpy_IFNAMSIZ() 52 enum { IFNAMSIZ = 16 }; in strncpy_IFNAMSIZ() enumerator 54 return strncpy(dst, src, IFNAMSIZ); in strncpy_IFNAMSIZ()
|
/busybox-1.35.0/networking/libiproute/ |
D | iptunnel.c | 43 char name[IFNAMSIZ]; 185 char medium[IFNAMSIZ]; in parse_args() 463 char name[IFNAMSIZ]; in do_tunnels_list()
|
D | iplink.c | 735 if (name_len < 2 || name_len > IFNAMSIZ) in do_add_or_delete()
|