Lines Matching refs:props
787 struct nlattr *props[TIPC_NLA_PROP_MAX + 1]; in tipc_nl_bearer_enable() local
790 props); in tipc_nl_bearer_enable()
794 if (props[TIPC_NLA_PROP_PRIO]) in tipc_nl_bearer_enable()
795 prio = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); in tipc_nl_bearer_enable()
838 struct nlattr *props[TIPC_NLA_PROP_MAX + 1]; in tipc_nl_bearer_set() local
841 props); in tipc_nl_bearer_set()
847 if (props[TIPC_NLA_PROP_TOL]) in tipc_nl_bearer_set()
848 b->tolerance = nla_get_u32(props[TIPC_NLA_PROP_TOL]); in tipc_nl_bearer_set()
849 if (props[TIPC_NLA_PROP_PRIO]) in tipc_nl_bearer_set()
850 b->priority = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); in tipc_nl_bearer_set()
851 if (props[TIPC_NLA_PROP_WIN]) in tipc_nl_bearer_set()
852 b->window = nla_get_u32(props[TIPC_NLA_PROP_WIN]); in tipc_nl_bearer_set()
1006 struct nlattr *props[TIPC_NLA_PROP_MAX + 1]; in tipc_nl_media_set() local
1009 props); in tipc_nl_media_set()
1015 if (props[TIPC_NLA_PROP_TOL]) in tipc_nl_media_set()
1016 m->tolerance = nla_get_u32(props[TIPC_NLA_PROP_TOL]); in tipc_nl_media_set()
1017 if (props[TIPC_NLA_PROP_PRIO]) in tipc_nl_media_set()
1018 m->priority = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); in tipc_nl_media_set()
1019 if (props[TIPC_NLA_PROP_WIN]) in tipc_nl_media_set()
1020 m->window = nla_get_u32(props[TIPC_NLA_PROP_WIN]); in tipc_nl_media_set()