Lines Matching refs:nlattr
632 struct nlattr *nest; in nla_put_nh_group_res()
661 struct nlattr *nla; in nla_put_nh_group()
923 struct nlattr *nest; in nh_fill_res_bucket()
1045 struct nlattr *tb[], size_t tb_size, in nh_check_attr_group()
2435 struct nlattr *grps_attr = cfg->nh_grp; in nexthop_create_group()
2703 static int rtm_nh_get_timer(struct nlattr *attr, unsigned long fallback, in rtm_nh_get_timer()
2728 static int rtm_to_nh_config_grp_res(struct nlattr *res, struct nh_config *cfg, in rtm_to_nh_config_grp_res()
2731 struct nlattr *tb[ARRAY_SIZE(rtm_nh_res_policy_new)] = {}; in rtm_to_nh_config_grp_res()
2772 struct nlattr *tb[ARRAY_SIZE(rtm_nh_policy_new)]; in rtm_to_nh_config()
2896 struct nlattr *gwa = tb[NHA_GATEWAY]; in rtm_to_nh_config()
2971 struct nlattr **tb, u32 *id, in __nh_valid_get_del_req()
2998 struct nlattr *tb[ARRAY_SIZE(rtm_nh_policy_get)]; in nh_valid_get_del_req()
3122 static int __nh_valid_dump_req(const struct nlmsghdr *nlh, struct nlattr **tb, in __nh_valid_dump_req()
3161 struct nlattr *tb[ARRAY_SIZE(rtm_nh_policy_dump)]; in nh_valid_dump_req()
3280 static int nh_valid_dump_nhid(struct nlattr *attr, u32 *nh_id_p, in nh_valid_dump_nhid()
3303 struct nlattr *res_tb[ARRAY_SIZE(rtm_nh_res_bucket_policy_dump)]; in nh_valid_dump_bucket_req()
3304 struct nlattr *tb[ARRAY_SIZE(rtm_nh_policy_dump_bucket)]; in nh_valid_dump_bucket_req()
3453 static int nh_valid_get_bucket_req_res_bucket(struct nlattr *res, in nh_valid_get_bucket_req_res_bucket()
3457 struct nlattr *tb[ARRAY_SIZE(rtm_nh_res_bucket_policy_get)]; in nh_valid_get_bucket_req_res_bucket()
3478 struct nlattr *tb[ARRAY_SIZE(rtm_nh_policy_get_bucket)]; in nh_valid_get_bucket_req()