Searched refs:operstate (Results 1 – 10 of 10) sorted by relevance
/systemd-251/src/network/ |
D | networkd-state-file.c | 109 LinkOperationalState operstate = LINK_OPERSTATE_OFF; in manager_save() local 132 operstate = MAX(operstate, link->operstate); in manager_save() 233 operstate_str = link_operstate_to_string(operstate); in manager_save() 283 if (m->operational_state != operstate) { in manager_save() 284 m->operational_state = operstate; in manager_save() 485 oper_state = link_operstate_to_string(link->operstate); in link_save()
|
D | networkd-link.c | 1759 LinkOperationalState operstate; in link_update_operstate() local 1818 operstate = (LinkOperationalState) carrier_state; in link_update_operstate() 1820 operstate = LINK_OPERSTATE_ROUTABLE; in link_update_operstate() 1822 operstate = LINK_OPERSTATE_DEGRADED; in link_update_operstate() 1824 operstate = LINK_OPERSTATE_ENSLAVED; in link_update_operstate() 1829 else if (operstate < link->network->required_operstate_for_online.min || in link_update_operstate() 1830 operstate > link->network->required_operstate_for_online.max) in link_update_operstate() 1885 if (link->operstate != operstate) { in link_update_operstate() 1886 link->operstate = operstate; in link_update_operstate() 1919 uint8_t operstate; in link_update_flags() local [all …]
|
D | networkd-link.h | 90 LinkOperationalState operstate; member
|
D | networkd-link-bus.c | 715 …"OperationalState", "s", property_get_operational_state, offsetof(Link, operstate), SD_BUS_VTABLE_…
|
D | networkd-json.c | 1199 … JSON_BUILD_PAIR_STRING("OperationalState", link_operstate_to_string(link->operstate)), in link_build_json()
|
/systemd-251/src/shared/ |
D | netif-util.c | 15 bool netif_has_carrier(uint8_t operstate, unsigned flags) { in netif_has_carrier() argument 18 if (operstate == IF_OPER_UP) in netif_has_carrier() 21 if (operstate != IF_OPER_UNKNOWN) in netif_has_carrier()
|
D | netif-util.h | 12 bool netif_has_carrier(uint8_t operstate, unsigned flags);
|
/systemd-251/src/resolve/ |
D | resolved-link.h | 77 uint8_t operstate; member
|
D | resolved-link.c | 43 .operstate = IF_OPER_UNKNOWN, in link_new() 238 (void) sd_netlink_message_read_u8(m, IFLA_OPERSTATE, &l->operstate); in link_process_rtnl() 692 if (!netif_has_carrier(l->operstate, l->flags)) in link_relevant()
|
/systemd-251/test/test-network/ |
D | systemd-networkd-tests.py | 623 …def wait_operstate(self, link, operstate='degraded', setup_state='configured', setup_timeout=5, fa… argument 637 if not operstate: 638 operstate = r'\S+' 3154 operstate = 'routable' if expect_up else 'off' 3156 self.wait_operstate(interface, operstate, setup_state=setup_state, setup_timeout=20) 3983 …self.wait_operstate('bridge99', operstate=r'(no-carrier|routable)', setup_state=None, setup_timeou… 3994 self.wait_operstate('bridge99', operstate='no-carrier', setup_state=None)
|