Searched refs:LinkInfo (Results 1 – 6 of 6) sorted by relevance
/systemd-251/src/udev/ |
D | udev-netlink.h | 9 typedef struct LinkInfo { struct 30 } LinkInfo; argument 32 #define LINK_INFO_NULL ((LinkInfo) {}) 34 void link_info_clear(LinkInfo *info); 35 int link_info_get(sd_netlink **rtnl, int ifindex, LinkInfo *ret); 36 int device_cache_sysattr_from_link_info(sd_device *device, LinkInfo *info);
|
D | udev-netlink.c | 9 void link_info_clear(LinkInfo *info) { in link_info_clear() 20 int link_info_get(sd_netlink **rtnl, int ifindex, LinkInfo *ret) { in link_info_get() 22 _cleanup_(link_info_clear) LinkInfo info = LINK_INFO_NULL; in link_info_get() 224 int device_cache_sysattr_from_link_info(sd_device *device, LinkInfo *info) { in device_cache_sysattr_from_link_info() 300 _cleanup_(link_info_clear) LinkInfo info = LINK_INFO_NULL; in device_get_sysattr_value_maybe_from_netlink()
|
D | udev-builtin-net_id.c | 167 static int dev_pci_onboard(sd_device *dev, const LinkInfo *info, NetNames *names) { in dev_pci_onboard() 325 static int dev_pci_slot(sd_device *dev, const LinkInfo *info, NetNames *names) { in dev_pci_slot() 604 static int names_pci(sd_device *dev, const LinkInfo *info, NetNames *names) { in names_pci() 820 static int names_mac(sd_device *dev, const LinkInfo *info) { in names_mac() 852 static int names_netdevsim(sd_device *dev, const LinkInfo *info, NetNames *names) { in names_netdevsim() 940 static int ieee_oui(sd_device *dev, const LinkInfo *info, bool test) { in ieee_oui() 966 _cleanup_(link_info_clear) LinkInfo info = LINK_INFO_NULL; in builtin_net_id()
|
D | test-udev-netlink.c | 12 _cleanup_(link_info_clear) LinkInfo info = LINK_INFO_NULL; in test_link_info_one()
|
/systemd-251/src/network/ |
D | networkctl.c | 264 typedef struct LinkInfo { struct 358 } LinkInfo; argument 360 static int link_info_compare(const LinkInfo *a, const LinkInfo *b) { in link_info_compare() 364 static LinkInfo* link_info_array_free(LinkInfo *array) { in link_info_array_free() 375 DEFINE_TRIVIAL_CLEANUP_FUNC(LinkInfo*, link_info_array_free); 377 static int decode_netdev(sd_netlink_message *m, LinkInfo *info) { in decode_netdev() 490 static int decode_link(sd_netlink_message *m, LinkInfo *info, char **patterns, bool matched_pattern… in decode_link() 610 const LinkInfo *link, in link_get_property() 639 static int acquire_link_bitrates(sd_bus *bus, LinkInfo *link) { in acquire_link_bitrates() 670 static void acquire_ether_link_info(int *fd, LinkInfo *link) { in acquire_ether_link_info() [all …]
|
/systemd-251/src/resolve/ |
D | resolvectl.c | 1413 typedef struct LinkInfo { struct 1427 } LinkInfo; typedef 1446 static void link_info_clear(LinkInfo *p) { in link_info_clear() 1493 static char** link_protocol_status(const LinkInfo *info) { in link_protocol_status() 1538 …", "t", NULL, offsetof(LinkInfo, scopes_mask) … in status_ifindex() 1539 … "a(iay)", map_link_dns_servers, offsetof(LinkInfo, dns) … in status_ifindex() 1540 … "a(iayqs)", map_link_dns_servers_ex, offsetof(LinkInfo, dns_ex) … in status_ifindex() 1541 …Server", "(iay)", map_link_current_dns_server, offsetof(LinkInfo, current_dns) … in status_ifindex() 1542 …ServerEx", "(iayqs)", map_link_current_dns_server_ex, offsetof(LinkInfo, current_dns_ex) … in status_ifindex() 1543 … "a(sb)", map_link_domains, offsetof(LinkInfo, domains) … in status_ifindex() [all …]
|