/freebsd/sys/netlink/ |
H A D | netlink_message_parser.h | 66 struct nl_pstate { struct 79 npt_alloc(struct nl_pstate *npt, int len) in npt_alloc() argument 86 typedef int parse_field_f(void *hdr, struct nl_pstate *npt, void *target); 94 int nlf_get_ifp(void *src, struct nl_pstate *npt, void *target); 95 int nlf_get_ifpz(void *src, struct nl_pstate *npt, void *target); 96 int nlf_get_u8(void *src, struct nl_pstate *npt, void *target); 97 int nlf_get_u16(void *src, struct nl_pstate *npt, void *target); 98 int nlf_get_u32(void *src, struct nl_pstate *npt, void *target); 99 int nlf_get_u8_u32(void *src, struct nl_pstate *npt, void *target); 102 typedef int parse_attr_f(struct nlattr *attr, struct nl_pstate *np [all...] |
H A D | netlink_message_parser.c | 55 nlmsg_report_err_msg(struct nl_pstate *npt, const char *fmt, ...) in nlmsg_report_err_msg() 73 nlmsg_report_err_offset(struct nl_pstate *npt, uint32_t off) in nlmsg_report_err_offset() 82 nlmsg_report_cookie(struct nl_pstate *npt, struct nlattr *nla) in nlmsg_report_cookie() 90 nlmsg_report_cookie_u32(struct nl_pstate *npt, uint32_t val) in nlmsg_report_cookie_u32() 126 const struct nlattr_parser *ps, u_int pslen, struct nl_pstate *npt, in nl_parse_attrs_raw() 207 nlattr_get_flag(struct nlattr *nla, struct nl_pstate *npt, const void *arg, in nlattr_get_flag() 221 parse_rta_ip4(void *rta_data, struct nl_pstate *npt, int *perror) in parse_rta_ip4() 238 parse_rta_ip6(void *rta_data, struct nl_pstate *npt, int *perror) in parse_rta_ip6() 255 parse_rta_ip(struct rtattr *rta, struct nl_pstate *npt, int *perror) in parse_rta_ip() 274 nlattr_get_ip(struct nlattr *nla, struct nl_pstate *np in parse_rta_via() [all...] |
H A D | netlink_var.h | 132 struct nl_pstate *npt); 155 struct nl_pstate; 172 const struct nlattr_bmask *bm, struct nl_pstate *npt); 173 void (*nl_store_ifp_cookie)(struct nl_pstate *npt, struct ifnet *ifp);
|
H A D | netlink_linux.h | 37 struct nl_pstate; 42 struct nl_pstate *npt);
|
H A D | netlink_glue.c | 171 struct nl_pstate *npt __unused) in nl_modify_ifp_generic_stub() 177 nl_store_ifp_cookie_stub(struct nl_pstate *npt __unused, struct ifnet *ifp __unused) in nl_store_ifp_cookie_stub() 274 const struct nlattr_bmask *bm , struct nl_pstate *npt) in nl_modify_ifp_generic() 280 nl_store_ifp_cookie(struct nl_pstate *npt, struct ifnet *ifp) in nl_store_ifp_cookie()
|
H A D | netlink_ctl.h | 73 struct nl_pstate; 74 typedef int (*nl_handler_f)(struct nlmsghdr *hdr, struct nl_pstate *npt);
|
H A D | netlink_io.c | 260 struct nlpcb *nlp, struct nl_pstate *npt) in nl_receive_message() 308 npt_clear(struct nl_pstate *npt) in npt_clear() 337 struct nl_pstate npt = { in nl_process_nbuf()
|
H A D | netlink_generic.c | 50 static int nlctrl_handle_getfamily(struct nlmsghdr *, struct nl_pstate *); 114 genl_handle_message(struct nlmsghdr *hdr, struct nl_pstate *npt) in genl_handle_message() 254 nlctrl_handle_getfamily(struct nlmsghdr *hdr, struct nl_pstate *npt) in nlctrl_handle_getfamily()
|
H A D | netlink_route.c | 67 rtnl_handle_message(struct nlmsghdr *hdr, struct nl_pstate *npt) in rtnl_handle_message()
|
H A D | netlink_message_writer.c | 268 struct nl_pstate *npt) in nlmsg_ack()
|
/freebsd/sys/netlink/route/ |
H A D | route_var.h | 38 struct nl_pstate; 41 struct nl_pstate *npt); 84 const struct nlattr_bmask *bm, struct nl_pstate *npt); 85 void _nl_store_ifp_cookie(struct nl_pstate *npt, struct ifnet *ifp); 89 const struct nlattr_bmask *bm, struct nl_pstate *npt) in nl_modify_ifp_generic() 95 nl_store_ifp_cookie(struct nl_pstate *npt, struct ifnet *ifp) in nl_store_ifp_cookie() 102 const struct nlattr_bmask *bm, struct nl_pstate *npt); 103 void nl_store_ifp_cookie(struct nl_pstate *npt, struct ifnet *ifp); 108 const struct nlattr_bmask *bm, struct nlpcb *nlp, struct nl_pstate *npt); 110 const struct nlattr_bmask *bm, struct nlpcb *nlp, struct nl_pstate *npt); [all …]
|
H A D | iface.c | 376 check_ifmsg(void *hdr, struct nl_pstate *npt) in check_ifmsg() 452 rtnl_handle_getlink(struct nlmsghdr *hdr, struct nlpcb *nlp, struct nl_pstate *npt) in rtnl_handle_getlink() 533 rtnl_handle_dellink(struct nlmsghdr *hdr, struct nlpcb *nlp, struct nl_pstate *npt) in rtnl_handle_dellink() 589 struct nlattr_bmask *bm, struct nlpcb *nlp, struct nl_pstate *npt) in create_link() 614 struct nlattr_bmask *bm, struct nlpcb *nlp, struct nl_pstate *npt) in modify_link() 670 rtnl_handle_newlink(struct nlmsghdr *hdr, struct nlpcb *nlp, struct nl_pstate *npt) in rtnl_handle_newlink() 702 struct nl_pstate *npt) in check_sa_family() 729 nlattr_get_cinfo(struct nlattr *nla, struct nl_pstate *npt, in nlattr_get_cinfo() 769 post_p_ifa(void *_attrs, struct nl_pstate *npt) in post_p_ifa() 1060 rtnl_handle_getaddr(struct nlmsghdr *hdr, struct nlpcb *nlp, struct nl_pstate *npt) in rtnl_handle_getaddr() [all …]
|
H A D | iface_drivers.c | 67 const struct nlattr_bmask *bm, struct nl_pstate *npt) in _nl_modify_ifp_generic() 120 _nl_store_ifp_cookie(struct nl_pstate *npt, struct ifnet *ifp) in _nl_store_ifp_cookie()
|
H A D | rt.c | 419 post_p_rtnh(void *_attrs, struct nl_pstate *npt __unused) in post_p_rtnh() 434 nlattr_get_multipath(struct nlattr *nla, struct nl_pstate *npt, in nlattr_get_multipath() 531 post_p_rtmsg(void *_attrs, struct nl_pstate *npt __unused) 623 struct nlmsghdr *hdr, struct nl_pstate *npt) in handle_rtm_getroute() 819 struct nl_pstate *npt, struct nhop_object **pnh) in create_nexthop_one() 850 struct nl_pstate *npt, int *perror) in create_nexthop_from_attrs() 938 struct nl_pstate *npt) in rtnl_handle_newroute() 1006 struct nl_pstate *npt) in rtnl_handle_delroute() 1035 rtnl_handle_getroute(struct nlmsghdr *hdr, struct nlpcb *nlp, struct nl_pstate *npt) in rtnl_handle_getroute()
|
H A D | neigh.c | 342 post_p_neigh(void *_attrs, struct nl_pstate *npt __unused) in post_p_neigh() 361 rtnl_handle_newneigh(struct nlmsghdr *hdr, struct nlpcb *nlp, struct nl_pstate *npt) in rtnl_handle_newneigh() 474 rtnl_handle_delneigh(struct nlmsghdr *hdr, struct nlpcb *nlp, struct nl_pstate *npt) in rtnl_handle_delneigh() 501 rtnl_handle_getneigh(struct nlmsghdr *hdr, struct nlpcb *nlp, struct nl_pstate *npt) in rtnl_handle_getneigh()
|
H A D | nexthop.c | 660 nlattr_get_nhg(struct nlattr *nla, struct nl_pstate *npt, const void *arg, void *target) in nlattr_get_nhg() 736 post_p_nh(void *_attrs, struct nl_pstate *npt) in post_p_nh() 800 struct nl_pstate *npt) in nl_set_nexthop_gw() 819 newnhop(struct nl_parsed_nhop *attrs, struct user_nhop *unhop, struct nl_pstate *npt) in newnhop() 882 struct nl_pstate *npt) in rtnl_handle_newnhop() 967 struct nl_pstate *npt) in rtnl_handle_delnhop() 1006 struct nl_pstate *npt) in rtnl_handle_getnhop()
|
/freebsd/sys/netpfil/pf/ |
H A D | pf_nl.c | 146 struct nl_pstate *npt) in dump_state() 241 struct nlmsghdr *hdr, struct nl_pstate *npt) in handle_dumpstates() 298 struct nlmsghdr *hdr, struct nl_pstate *npt) in handle_getstate() 314 struct nl_pstate *npt) in dump_creatorid() 337 pf_handle_getstates(struct nlmsghdr *hdr, struct nl_pstate *npt) in pf_handle_getstates() 355 pf_handle_getcreators(struct nlmsghdr *hdr, struct nl_pstate *npt) in pf_handle_getcreators() 405 pf_handle_start(struct nlmsghdr *hdr __unused, struct nl_pstate *npt __unused) in pf_handle_start() 411 pf_handle_stop(struct nlmsghdr *hdr __unused, struct nl_pstate *npt __unused) in pf_handle_stop() 512 nlattr_get_pf_rule_labels(struct nlattr *nla, struct nl_pstate *npt, in nlattr_get_pf_rule_labels() 537 nlattr_get_nested_pf_rule_labels(struct nlattr *nla, struct nl_pstate *npt, const void *arg, void *… in nlattr_get_nested_pf_rule_labels() [all …]
|
H A D | pflow.c | 1312 pflow_nl_list(struct nlmsghdr *hdr, struct nl_pstate *npt) in pflow_nl_list() 1351 pflow_nl_create(struct nlmsghdr *hdr, struct nl_pstate *npt) in pflow_nl_create() 1400 pflow_nl_del(struct nlmsghdr *hdr, struct nl_pstate *npt) in pflow_nl_del() 1455 pflow_nl_get(struct nlmsghdr *hdr, struct nl_pstate *npt) in pflow_nl_get() 1524 pflow_postparse_sockaddr(void *parsed_args, struct nl_pstate *npt __unused) in pflow_postparse_sockaddr() 1710 pflow_nl_set(struct nlmsghdr *hdr, struct nl_pstate *npt) in pflow_nl_set()
|
/freebsd/sys/tests/ |
H A D | ktest.h | 39 struct nl_pstate; 44 struct nl_pstate *npt;
|
H A D | ktest.c | 96 dump_mod_test(struct nlmsghdr *hdr, struct nl_pstate *npt, in dump_mod_test() 116 dump_mod_tests(struct nlmsghdr *hdr, struct nl_pstate *npt, in dump_mod_tests() 132 dump_tests(struct nlmsghdr *hdr, struct nl_pstate *npt) in dump_tests() 163 run_test(struct nlmsghdr *hdr, struct nl_pstate *npt) in run_test()
|
/freebsd/sys/compat/linux/ |
H A D | linux_netlink.c | 76 rtnl_neigh_from_linux(struct nlmsghdr *hdr, struct nl_pstate *npt) in rtnl_neigh_from_linux() 92 rtnl_ifaddr_from_linux(struct nlmsghdr *hdr, struct nl_pstate *npt) in rtnl_ifaddr_from_linux() 112 rtnl_route_from_linux(struct nlmsghdr *hdr, struct nl_pstate *npt) in rtnl_route_from_linux() 158 rtnl_from_linux(struct nlmsghdr *hdr, struct nl_pstate *npt) in rtnl_from_linux() 186 struct nl_pstate *npt) in nlmsg_from_linux()
|
/freebsd/sys/net/ |
H A D | if_clone.h | 58 struct nl_pstate; 63 struct nl_pstate *npt; /* (in) Netlink context */
|
H A D | if_vlan.c | 1254 struct nl_pstate *npt = ifd->npt; in vlan_clone_create_nl()
|
/freebsd/sys/rpc/ |
H A D | clnt_nl.c | 107 static int clnt_nl_reply(struct nlmsghdr *, struct nl_pstate *); 393 clnt_nl_reply(struct nlmsghdr *hdr, struct nl_pstate *npt) in clnt_nl_reply()
|
/freebsd/sys/netinet/ |
H A D | ip_carp.c | 2721 nlattr_get_carp_key(struct nlattr *nla, struct nl_pstate *npt, const void *arg, void *target) in nlattr_get_carp_key() 2732 struct nl_pstate *npt; 2740 struct nl_pstate *npt = nlsa->npt; in carp_nl_send() 2826 carp_nl_get(struct nlmsghdr *hdr, struct nl_pstate *npt) in carp_nl_get() 2872 carp_nl_set(struct nlmsghdr *hdr, struct nl_pstate *npt) in carp_nl_set()
|