Searched refs:IF_NAMESIZE (Results 1 – 8 of 8) sorted by relevance
/systemd-251/src/basic/ |
D | format-util.h | 66 int format_ifname_full(int ifindex, FormatIfnameFlag flag, char buf[static IF_NAMESIZE]); 69 static inline int format_ifname(int ifindex, char buf[static IF_NAMESIZE]) { in format_ifname() argument 76 …nline char *_format_ifname_full(int ifindex, FormatIfnameFlag flag, char buf[static IF_NAMESIZE]) { in _format_ifname_full() argument 81 #define FORMAT_IFNAME_FULL(index, flag) _format_ifname_full(index, flag, (char[IF_NAMESIZE]){}) 82 #define FORMAT_IFNAME(index) _format_ifname_full(index, 0, (char[IF_NAMESIZE]){})
|
D | format-util.c | 8 assert_cc(STRLEN("%") + DECIMAL_STR_MAX(int) <= IF_NAMESIZE); 9 int format_ifname_full(int ifindex, FormatIfnameFlag flag, char buf[static IF_NAMESIZE]) { in format_ifname_full() argument 20 assert(snprintf_ok(buf, IF_NAMESIZE, "%%%d", ifindex)); in format_ifname_full() 22 assert(snprintf_ok(buf, IF_NAMESIZE, "%d", ifindex)); in format_ifname_full() 28 char buf[IF_NAMESIZE], *copy; in format_ifname_full_alloc()
|
D | socket-util.c | 1271 char ifname[IF_NAMESIZE]; in socket_bind_to_ifindex()
|
/systemd-251/src/libsystemd/sd-netlink/ |
D | netlink-util.c | 15 char old_name[IF_NAMESIZE] = {}; in rtnl_set_link_name()
|
/systemd-251/src/resolve/ |
D | resolvectl.c | 191 char ifname[IF_NAMESIZE]; in print_ifindex_comment() 1558 char ifi[DECIMAL_STR_MAX(int)], ifname[IF_NAMESIZE]; in status_ifindex()
|
/systemd-251/src/libsystemd/sd-device/ |
D | sd-device.c | 359 char ifname[IF_NAMESIZE]; in sd_device_new_from_ifindex()
|
/systemd-251/src/network/ |
D | networkd-link.c | 2307 char ifname_from_index[IF_NAMESIZE]; in link_update_name()
|
/systemd-251/src/machine/ |
D | machinectl.c | 560 char name[IF_NAMESIZE]; in print_machine_status_info()
|