Lines Matching refs:props
952 struct nlattr *props[TIPC_NLA_PROP_MAX + 1]; in __tipc_nl_bearer_enable() local
955 props); in __tipc_nl_bearer_enable()
959 if (props[TIPC_NLA_PROP_PRIO]) in __tipc_nl_bearer_enable()
960 prio = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); in __tipc_nl_bearer_enable()
1046 struct nlattr *props[TIPC_NLA_PROP_MAX + 1]; in __tipc_nl_bearer_set() local
1049 props); in __tipc_nl_bearer_set()
1053 if (props[TIPC_NLA_PROP_TOL]) { in __tipc_nl_bearer_set()
1054 b->tolerance = nla_get_u32(props[TIPC_NLA_PROP_TOL]); in __tipc_nl_bearer_set()
1057 if (props[TIPC_NLA_PROP_PRIO]) in __tipc_nl_bearer_set()
1058 b->priority = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); in __tipc_nl_bearer_set()
1059 if (props[TIPC_NLA_PROP_WIN]) in __tipc_nl_bearer_set()
1060 b->window = nla_get_u32(props[TIPC_NLA_PROP_WIN]); in __tipc_nl_bearer_set()
1061 if (props[TIPC_NLA_PROP_MTU]) { in __tipc_nl_bearer_set()
1066 (props[TIPC_NLA_PROP_MTU]))) in __tipc_nl_bearer_set()
1068 b->mtu = nla_get_u32(props[TIPC_NLA_PROP_MTU]); in __tipc_nl_bearer_set()
1235 struct nlattr *props[TIPC_NLA_PROP_MAX + 1]; in __tipc_nl_media_set() local
1238 props); in __tipc_nl_media_set()
1242 if (props[TIPC_NLA_PROP_TOL]) in __tipc_nl_media_set()
1243 m->tolerance = nla_get_u32(props[TIPC_NLA_PROP_TOL]); in __tipc_nl_media_set()
1244 if (props[TIPC_NLA_PROP_PRIO]) in __tipc_nl_media_set()
1245 m->priority = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); in __tipc_nl_media_set()
1246 if (props[TIPC_NLA_PROP_WIN]) in __tipc_nl_media_set()
1247 m->window = nla_get_u32(props[TIPC_NLA_PROP_WIN]); in __tipc_nl_media_set()
1248 if (props[TIPC_NLA_PROP_MTU]) { in __tipc_nl_media_set()
1253 (props[TIPC_NLA_PROP_MTU]))) in __tipc_nl_media_set()
1255 m->mtu = nla_get_u32(props[TIPC_NLA_PROP_MTU]); in __tipc_nl_media_set()