Searched refs:ctrlmode (Results 1 – 1 of 1) sorted by relevance
690 int rtnl_link_can_get_ctrlmode(struct rtnl_link *link, uint32_t *ctrlmode) in rtnl_link_can_get_ctrlmode() argument695 if (!ctrlmode) in rtnl_link_can_get_ctrlmode()699 *ctrlmode = ci->ci_ctrlmode.flags; in rtnl_link_can_get_ctrlmode()713 int rtnl_link_can_set_ctrlmode(struct rtnl_link *link, uint32_t ctrlmode) in rtnl_link_can_set_ctrlmode() argument719 ci->ci_ctrlmode.flags |= ctrlmode; in rtnl_link_can_set_ctrlmode()720 ci->ci_ctrlmode.mask |= ctrlmode; in rtnl_link_can_set_ctrlmode()733 int rtnl_link_can_unset_ctrlmode(struct rtnl_link *link, uint32_t ctrlmode) in rtnl_link_can_unset_ctrlmode() argument739 ci->ci_ctrlmode.flags &= ~ctrlmode; in rtnl_link_can_unset_ctrlmode()740 ci->ci_ctrlmode.mask |= ctrlmode; in rtnl_link_can_unset_ctrlmode()761 char *rtnl_link_can_ctrlmode2str(int ctrlmode, char *buf, size_t len) in rtnl_link_can_ctrlmode2str() argument[all …]