Lines Matching defs:nlp
452 rtnl_handle_getlink(struct nlmsghdr *hdr, struct nlpcb *nlp, struct nl_pstate *npt)
464 .so = nlp,
475 NLP_LOG(LOG_DEBUG3, nlp, "fast track -> searching index %u",
481 NLP_LOG(LOG_DEBUG3, nlp, "fast track -> searching name %s",
533 rtnl_handle_dellink(struct nlmsghdr *hdr, struct nlpcb *nlp, struct nl_pstate *npt)
548 NLP_LOG(LOG_DEBUG, nlp, "unable to find interface %u", attrs.ifi_index);
551 NLP_LOG(LOG_DEBUG3, nlp, "mapped ifindex %u to %s", attrs.ifi_index, if_name(ifp));
557 NLP_LOG(LOG_DEBUG2, nlp, "deleting interface %s returned %d", if_name(ifp), error);
589 struct nlattr_bmask *bm, struct nlpcb *nlp, struct nl_pstate *npt)
614 struct nlattr_bmask *bm, struct nlpcb *nlp, struct nl_pstate *npt)
670 rtnl_handle_newlink(struct nlmsghdr *hdr, struct nlpcb *nlp, struct nl_pstate *npt)
682 return (create_link(hdr, &attrs, &bm, nlp, npt));
684 return (modify_link(hdr, &attrs, &bm, nlp, npt));
1060 rtnl_handle_getaddr(struct nlmsghdr *hdr, struct nlpcb *nlp, struct nl_pstate *npt)
1071 .so = nlp,
1073 .cred = nlp_get_cred(nlp),
1113 if_t ifp, struct nlpcb *nlp, struct nl_pstate *npt)
1192 return (in_control_ioctl(SIOCAIFADDR, &req, ifp, nlp_get_cred(nlp)));
1197 if_t ifp, struct nlpcb *nlp, struct nl_pstate *npt)
1211 return (in_control_ioctl(SIOCDIFADDR, &req, ifp, nlp_get_cred(nlp)));
1218 if_t ifp, struct nlpcb *nlp, struct nl_pstate *npt)
1276 return (in6_control_ioctl(SIOCAIFADDR_IN6, &req, ifp, nlp_get_cred(nlp)));
1281 if_t ifp, struct nlpcb *nlp, struct nl_pstate *npt)
1295 return (in6_control_ioctl(SIOCDIFADDR_IN6, &req, ifp, nlp_get_cred(nlp)));
1301 rtnl_handle_addr(struct nlmsghdr *hdr, struct nlpcb *nlp, struct nl_pstate *npt)
1336 error = handle_newaddr_inet(hdr, &attrs, ifp, nlp, npt);
1338 error = handle_deladdr_inet(hdr, &attrs, ifp, nlp, npt);
1344 error = handle_newaddr_inet6(hdr, &attrs, ifp, nlp, npt);
1346 error = handle_deladdr_inet6(hdr, &attrs, ifp, nlp, npt);