Lines Matching refs:props
833 struct nlattr *props[TIPC_NLA_PROP_MAX + 1]; in tipc_nl_bearer_enable() local
836 props); in tipc_nl_bearer_enable()
840 if (props[TIPC_NLA_PROP_PRIO]) in tipc_nl_bearer_enable()
841 prio = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); in tipc_nl_bearer_enable()
884 struct nlattr *props[TIPC_NLA_PROP_MAX + 1]; in tipc_nl_bearer_set() local
887 props); in tipc_nl_bearer_set()
893 if (props[TIPC_NLA_PROP_TOL]) in tipc_nl_bearer_set()
894 b->tolerance = nla_get_u32(props[TIPC_NLA_PROP_TOL]); in tipc_nl_bearer_set()
895 if (props[TIPC_NLA_PROP_PRIO]) in tipc_nl_bearer_set()
896 b->priority = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); in tipc_nl_bearer_set()
897 if (props[TIPC_NLA_PROP_WIN]) in tipc_nl_bearer_set()
898 b->window = nla_get_u32(props[TIPC_NLA_PROP_WIN]); in tipc_nl_bearer_set()
1052 struct nlattr *props[TIPC_NLA_PROP_MAX + 1]; in tipc_nl_media_set() local
1055 props); in tipc_nl_media_set()
1061 if (props[TIPC_NLA_PROP_TOL]) in tipc_nl_media_set()
1062 m->tolerance = nla_get_u32(props[TIPC_NLA_PROP_TOL]); in tipc_nl_media_set()
1063 if (props[TIPC_NLA_PROP_PRIO]) in tipc_nl_media_set()
1064 m->priority = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); in tipc_nl_media_set()
1065 if (props[TIPC_NLA_PROP_WIN]) in tipc_nl_media_set()
1066 m->window = nla_get_u32(props[TIPC_NLA_PROP_WIN]); in tipc_nl_media_set()