Lines Matching refs:state

40 int sd_network_get_operational_state(char **state) {  in sd_network_get_operational_state()  argument
41 return network_get_string("OPER_STATE", state); in sd_network_get_operational_state()
44 int sd_network_get_carrier_state(char **state) { in sd_network_get_carrier_state() argument
45 return network_get_string("CARRIER_STATE", state); in sd_network_get_carrier_state()
48 int sd_network_get_address_state(char **state) { in sd_network_get_address_state() argument
49 return network_get_string("ADDRESS_STATE", state); in sd_network_get_address_state()
52 int sd_network_get_ipv4_address_state(char **state) { in sd_network_get_ipv4_address_state() argument
53 return network_get_string("IPV4_ADDRESS_STATE", state); in sd_network_get_ipv4_address_state()
56 int sd_network_get_ipv6_address_state(char **state) { in sd_network_get_ipv6_address_state() argument
57 return network_get_string("IPV6_ADDRESS_STATE", state); in sd_network_get_ipv6_address_state()
60 int sd_network_get_online_state(char **state) { in sd_network_get_online_state() argument
61 return network_get_string("ONLINE_STATE", state); in sd_network_get_online_state()
164 int sd_network_link_get_setup_state(int ifindex, char **state) { in sd_network_link_get_setup_state() argument
165 return network_link_get_string(ifindex, "ADMIN_STATE", state); in sd_network_link_get_setup_state()
172 int sd_network_link_get_operational_state(int ifindex, char **state) { in sd_network_link_get_operational_state() argument
173 return network_link_get_string(ifindex, "OPER_STATE", state); in sd_network_link_get_operational_state()
176 int sd_network_link_get_required_family_for_online(int ifindex, char **state) { in sd_network_link_get_required_family_for_online() argument
180 assert_return(state, -EINVAL); in sd_network_link_get_required_family_for_online()
192 *state = TAKE_PTR(s); in sd_network_link_get_required_family_for_online()
196 int sd_network_link_get_carrier_state(int ifindex, char **state) { in sd_network_link_get_carrier_state() argument
197 return network_link_get_string(ifindex, "CARRIER_STATE", state); in sd_network_link_get_carrier_state()
200 int sd_network_link_get_address_state(int ifindex, char **state) { in sd_network_link_get_address_state() argument
201 return network_link_get_string(ifindex, "ADDRESS_STATE", state); in sd_network_link_get_address_state()
204 int sd_network_link_get_ipv4_address_state(int ifindex, char **state) { in sd_network_link_get_ipv4_address_state() argument
205 return network_link_get_string(ifindex, "IPV4_ADDRESS_STATE", state); in sd_network_link_get_ipv4_address_state()
208 int sd_network_link_get_ipv6_address_state(int ifindex, char **state) { in sd_network_link_get_ipv6_address_state() argument
209 return network_link_get_string(ifindex, "IPV6_ADDRESS_STATE", state); in sd_network_link_get_ipv6_address_state()
212 int sd_network_link_get_online_state(int ifindex, char **state) { in sd_network_link_get_online_state() argument
213 return network_link_get_string(ifindex, "ONLINE_STATE", state); in sd_network_link_get_online_state()
239 int sd_network_link_get_required_operstate_for_online(int ifindex, char **state) { in sd_network_link_get_required_operstate_for_online() argument
243 assert_return(state, -EINVAL); in sd_network_link_get_required_operstate_for_online()
256 *state = TAKE_PTR(s); in sd_network_link_get_required_operstate_for_online()