X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fsystemd%2Fsd-network.h;h=4d04616d8852b8b138632f699344bff5729915c3;hp=ec01e07e85ba28e14ef415d53d846905c5a99306;hb=bd8f65387673e29f46136a4ed172097035002c23;hpb=9ccde88c5ae32991e73fbdcc0a75f60bc99327d6 diff --git a/src/systemd/sd-network.h b/src/systemd/sd-network.h index ec01e07e8..4d04616d8 100644 --- a/src/systemd/sd-network.h +++ b/src/systemd/sd-network.h @@ -76,6 +76,12 @@ int sd_network_get_operational_state(char **state); /* Get DHCPv4 lease from ifindex. */ int sd_network_get_dhcp_lease(int ifindex, sd_dhcp_lease **ret); +/* Indicates whether or not LLMNR should be enabled for the link + * Possible levels of support: yes, no, resolve + * Possible return codes: + * -ENODATA: networkd is not aware of the link*/ +int sd_network_get_llmnr(int ifindex, char **llmnr); + /* Get DNS entries for a given link. These are string representations of * IP addresses */ int sd_network_get_dns(int ifindex, char ***addr);