Lines Matching refs:npt
660 nlattr_get_nhg(struct nlattr *nla, struct nl_pstate *npt, const void *arg, void *target) in nlattr_get_nhg() argument
736 post_p_nh(void *_attrs, struct nl_pstate *npt) in post_p_nh() argument
800 struct nl_pstate *npt) in nl_set_nexthop_gw() argument
807 NLMSG_REPORT_ERR_MSG(npt, "interface not set"); in nl_set_nexthop_gw()
819 newnhop(struct nl_parsed_nhop *attrs, struct user_nhop *unhop, struct nl_pstate *npt) in newnhop() argument
827 NLMSG_REPORT_ERR_MSG(npt, "missing NHA_GATEWAY"); in newnhop()
831 NLMSG_REPORT_ERR_MSG(npt, "missing NHA_OIF"); in newnhop()
837 NLMSG_REPORT_ERR_MSG(npt, "Unable to determine default source IP"); in newnhop()
855 error = nl_set_nexthop_gw(nh, attrs->nha_gw, attrs->nha_oif, npt); in newnhop()
882 struct nl_pstate *npt) in rtnl_handle_newnhop() argument
893 error = nl_parse_nlmsg(hdr, &nhmsg_parser, npt, &attrs); in rtnl_handle_newnhop()
922 error = newnhop(&attrs, unhop, npt); in rtnl_handle_newnhop()
967 struct nl_pstate *npt) in rtnl_handle_delnhop() argument
976 error = nl_parse_nlmsg(hdr, &nhmsg_parser, npt, &attrs); in rtnl_handle_delnhop()
1006 struct nl_pstate *npt) in rtnl_handle_getnhop() argument
1013 error = nl_parse_nlmsg(hdr, &nhmsg_parser, npt, &attrs); in rtnl_handle_getnhop()
1018 .nw = npt->nw, in rtnl_handle_getnhop()