• Home
  • Raw
  • Download

Lines Matching refs:props

1005 		struct nlattr *props[TIPC_NLA_PROP_MAX + 1];  in __tipc_nl_bearer_enable()  local
1008 props); in __tipc_nl_bearer_enable()
1012 if (props[TIPC_NLA_PROP_PRIO]) in __tipc_nl_bearer_enable()
1013 prio = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); in __tipc_nl_bearer_enable()
1109 struct nlattr *props[TIPC_NLA_PROP_MAX + 1]; in __tipc_nl_bearer_set() local
1112 props); in __tipc_nl_bearer_set()
1116 if (props[TIPC_NLA_PROP_TOL]) { in __tipc_nl_bearer_set()
1117 b->tolerance = nla_get_u32(props[TIPC_NLA_PROP_TOL]); in __tipc_nl_bearer_set()
1120 if (props[TIPC_NLA_PROP_PRIO]) in __tipc_nl_bearer_set()
1121 b->priority = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); in __tipc_nl_bearer_set()
1122 if (props[TIPC_NLA_PROP_WIN]) in __tipc_nl_bearer_set()
1123 b->max_win = nla_get_u32(props[TIPC_NLA_PROP_WIN]); in __tipc_nl_bearer_set()
1124 if (props[TIPC_NLA_PROP_MTU]) { in __tipc_nl_bearer_set()
1132 (props[TIPC_NLA_PROP_MTU]))) { in __tipc_nl_bearer_set()
1137 b->mtu = nla_get_u32(props[TIPC_NLA_PROP_MTU]); in __tipc_nl_bearer_set()
1306 struct nlattr *props[TIPC_NLA_PROP_MAX + 1]; in __tipc_nl_media_set() local
1309 props); in __tipc_nl_media_set()
1313 if (props[TIPC_NLA_PROP_TOL]) in __tipc_nl_media_set()
1314 m->tolerance = nla_get_u32(props[TIPC_NLA_PROP_TOL]); in __tipc_nl_media_set()
1315 if (props[TIPC_NLA_PROP_PRIO]) in __tipc_nl_media_set()
1316 m->priority = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); in __tipc_nl_media_set()
1317 if (props[TIPC_NLA_PROP_WIN]) in __tipc_nl_media_set()
1318 m->max_win = nla_get_u32(props[TIPC_NLA_PROP_WIN]); in __tipc_nl_media_set()
1319 if (props[TIPC_NLA_PROP_MTU]) { in __tipc_nl_media_set()
1327 (props[TIPC_NLA_PROP_MTU]))) { in __tipc_nl_media_set()
1332 m->mtu = nla_get_u32(props[TIPC_NLA_PROP_MTU]); in __tipc_nl_media_set()