Home
last modified time | relevance | path

Searched refs:IF_NAMESIZE (Results 1 – 8 of 8) sorted by relevance

/systemd-251/src/basic/
Dformat-util.h66 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]){})
Dformat-util.c8 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()
Dsocket-util.c1271 char ifname[IF_NAMESIZE]; in socket_bind_to_ifindex()
/systemd-251/src/libsystemd/sd-netlink/
Dnetlink-util.c15 char old_name[IF_NAMESIZE] = {}; in rtnl_set_link_name()
/systemd-251/src/resolve/
Dresolvectl.c191 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/
Dsd-device.c359 char ifname[IF_NAMESIZE]; in sd_device_new_from_ifindex()
/systemd-251/src/network/
Dnetworkd-link.c2307 char ifname_from_index[IF_NAMESIZE]; in link_update_name()
/systemd-251/src/machine/
Dmachinectl.c560 char name[IF_NAMESIZE]; in print_machine_status_info()