/freebsd/sys/netlink/ |
H A D | netlink_message_writer.h | 41 struct nl_writer; 44 struct nl_writer { struct 71 bool _nlmsg_flush(struct nl_writer *nw); 77 bool _nlmsg_end(struct nl_writer *nw); 78 void _nlmsg_abort(struct nl_writer *nw); 96 nlmsg_flush(struct nl_writer *nw) in nlmsg_flush() 121 nlmsg_end(struct nl_writer *nw) in nlmsg_end() 127 nlmsg_abort(struct nl_writer *nw) in nlmsg_abort() 144 bool nlmsg_flush(struct nl_writer *nw); 150 bool nlmsg_end(struct nl_writer *nw); [all …]
|
H A D | netlink_glue.c | 113 get_stub_writer(struct nl_writer *nw) in get_stub_writer() 140 nlmsg_flush_stub(struct nl_writer *nw __unused) in nlmsg_flush_stub() 146 nlmsg_ignore_limit_stub(struct nl_writer *nw __unused) in nlmsg_ignore_limit_stub() 164 nlmsg_end_stub(struct nl_writer *nw __unused) in nlmsg_end_stub() 170 nlmsg_abort_stub(struct nl_writer *nw __unused) in nlmsg_abort_stub() 247 nlmsg_flush(struct nl_writer *nw) in nlmsg_flush() 252 void nlmsg_ignore_limit(struct nl_writer *nw) in nlmsg_ignore_limit() 258 nlmsg_refill_buffer(struct nl_writer *nw, int required_len) in nlmsg_refill_buffer() 271 nlmsg_end(struct nl_writer *nw) in nlmsg_end() 277 nlmsg_abort(struct nl_writer *nw) in nlmsg_abort() [all …]
|
H A D | netlink_var.h | 127 bool nl_send_group(struct nl_writer *); 133 bool nl_send(struct nl_writer *, struct nlpcb *); 179 bool (*nlmsg_add)(struct nl_writer *nw, uint32_t portid, uint32_t seq, uint16_t type, 181 bool (*nlmsg_refill_buffer)(struct nl_writer *nw, int required_len); 182 bool (*nlmsg_flush)(struct nl_writer *nw); 183 bool (*nlmsg_end)(struct nl_writer *nw); 184 void (*nlmsg_abort)(struct nl_writer *nw); 185 void (*nlmsg_ignore_limit)(struct nl_writer *nw); 186 bool (*nlmsg_get_unicast_writer)(struct nl_writer *nw, int size, struct nlpcb *nlp); 188 bool (*nlmsg_get_chain_writer)(struct nl_writer *nw, int size, struct mbuf **pm); [all …]
|
H A D | netlink_message_writer.c | 42 #define DEBUG_MOD_NAME nl_writer 48 nlmsg_get_buf(struct nl_writer *nw, u_int len, bool waitok) in nlmsg_get_buf() 69 nl_send_one(struct nl_writer *nw) in nl_send_one() 95 _nlmsg_ignore_limit(struct nl_writer *nw) in _nlmsg_ignore_limit() 101 _nlmsg_flush(struct nl_writer *nw) in _nlmsg_flush() 136 _nlmsg_refill_buffer(struct nl_writer *nw, u_int required_len) in _nlmsg_refill_buffer() 227 _nlmsg_end(struct nl_writer *nw) in _nlmsg_end() 249 _nlmsg_abort(struct nl_writer *nw) in _nlmsg_abort() 266 struct nl_writer *nw = npt->nw; in nlmsg_ack() 334 nlattr_save_offset(const struct nl_writer *nw) in nlattr_save_offset() [all …]
|
H A D | ktest_netlink_message_writer.h | 33 bool nlmsg_get_buf_wrapper(struct nl_writer *nw, u_int size, bool waitok); 38 nlmsg_get_buf_wrapper(struct nl_writer *nw, u_int size, bool waitok) in nlmsg_get_buf_wrapper()
|
H A D | netlink_linux.h | 38 struct nl_writer; 40 typedef bool msgs_to_linux_cb_t(struct nl_writer *nw, struct nlpcb *nlp);
|
H A D | netlink_generic.c | 51 const struct genl_family *gf, struct nl_writer *nw); 110 const struct genl_family *gf, struct nl_writer *nw) in dump_family() 259 struct nl_writer nw = {}; in nlctrl_notify()
|
H A D | ktest_netlink_message_writer.c | 72 struct nl_writer nw = {}; in test_nlbuf_writer_allocation()
|
H A D | netlink_io.c | 197 nl_send(struct nl_writer *nw, struct nlpcb *nlp) in nl_send() 325 struct nl_writer nw = {}; in nl_process_nbuf()
|
H A D | netlink_sysevent.c | 83 struct nl_writer nw = {}; in sysevent_write()
|
H A D | netlink_message_parser.h | 69 struct nl_writer *nw; /* Message writer to use */
|
H A D | netlink_domain.c | 199 nl_send_group(struct nl_writer *nw) in nl_send_group()
|
/freebsd/sys/compat/linux/ |
H A D | linux_netlink.c | 202 handle_default_out(struct nlmsghdr *hdr, struct nl_writer *nw) in handle_default_out() 216 nlmsg_copy_header(struct nlmsghdr *hdr, struct nl_writer *nw) in nlmsg_copy_header() 223 _nlmsg_copy_next_header(struct nlmsghdr *hdr, struct nl_writer *nw, int sz) in _nlmsg_copy_next_header() 234 nlmsg_copy_nla(const struct nlattr *nla_orig, struct nl_writer *nw) in nlmsg_copy_nla() 248 nlmsg_translate_ifname_nla(struct nlattr *nla, struct nl_writer *nw) in nlmsg_translate_ifname_nla() 266 struct nl_writer *nw) in nlmsg_translate_all_nla() 355 struct nl_writer *nw) in rtnl_newlink_to_linux() 390 struct nl_writer *nw) in rtnl_newaddr_to_linux() 412 struct nl_writer *nw) in rtnl_newneigh_to_linux() 433 struct nl_writer *nw) in rtnl_newroute_to_linux() [all …]
|
/freebsd/sys/net/ |
H A D | if_clone.h | 59 struct nl_writer; 74 typedef void ifc_dump_nl_f(struct ifnet *ifp, struct nl_writer *nw); 111 bool ifc_dump_ifp_nl(struct ifnet *ifp, struct nl_writer *nw);
|
H A D | if_clone.c | 260 ifc_dump_ifp_nl(struct ifnet *ifp, struct nl_writer *nw) in ifc_dump_ifp_nl() 292 ifc_dump_ifp_nl_default(struct ifnet *ifp, struct nl_writer *nw) in ifc_dump_ifp_nl_default()
|
H A D | if_vlan.c | 329 static void vlan_clone_dump_nl(struct ifnet *ifp, struct nl_writer *nw); 1363 vlan_clone_dump_nl(struct ifnet *ifp, struct nl_writer *nw) in vlan_clone_dump_nl()
|
/freebsd/sys/netpfil/pf/ |
H A D | pf_nl.c | 84 dump_addr(struct nl_writer *nw, int attr, const struct pf_addr *addr, int af) in dump_addr() 146 struct nl_writer *nw = npt->nw; in dump_state() 295 struct nl_writer *nw = npt->nw; in dump_creatorid() 797 struct nl_writer *nw = npt->nw; in pf_handle_getrules() 858 struct nl_writer *nw = npt->nw; in pf_handle_getrule() 1035 struct nl_writer *nw = npt->nw; in pf_handle_killclear_states() 1162 struct nl_writer *nw = npt->nw; in pf_handle_get_status() 1259 struct nl_writer *nw = npt->nw; in pf_handle_natlook() 1383 struct nl_writer *nw = npt->nw; in pf_handle_get_timeout() 1444 struct nl_writer *nw = npt->nw; in pf_handle_get_limit() [all …]
|
H A D | pflow.c | 1299 struct nl_writer *nw = npt->nw; in pflow_nl_list() 1336 struct nl_writer *nw = npt->nw; in pflow_nl_create() 1414 nlattr_add_sockaddr(struct nl_writer *nw, int attr, const struct sockaddr *s) in nlattr_add_sockaddr() 1449 struct nl_writer *nw = npt->nw; in pflow_nl_get()
|
/freebsd/sys/netlink/route/ |
H A D | iface.c | 62 struct nl_writer *nw; 146 get_stats(struct nl_writer *nw, if_t ifp) in get_stats() 195 get_hwaddr(struct nl_writer *nw, if_t ifp) in get_hwaddr() 213 dump_sa(struct nl_writer *nw, int attr, const struct sockaddr *sa) in dump_sa() 254 dump_iface_caps(struct nl_writer *nw, struct ifnet *ifp) in dump_iface_caps() 290 dump_iface(struct nl_writer *nw, if_t ifp, const struct nlmsghdr *hdr, in dump_iface() 920 export_cache_info6(struct nl_writer *nw, const struct in6_ifaddr *ia) in export_cache_info6() 934 export_cache_info(struct nl_writer *nw, struct ifaddr *ifa) in export_cache_info() 953 dump_iface_addr(struct nl_writer *nw, if_t ifp, struct ifaddr *ifa, in dump_iface_addr() 1364 struct nl_writer nw = {}; in rtnl_handle_ifaddr() [all …]
|
H A D | rt.c | 124 dump_rc_nhop_gw(struct nl_writer *nw, const struct nhop_object *nh) in dump_rc_nhop_gw() 162 dump_rc_nhop_mtu(struct nl_writer *nw, const struct nhop_object *nh) in dump_rc_nhop_mtu() 179 dump_rc_nhg(struct nl_writer *nw, const struct nhgrp_object *nhg, struct rtmsg *rtm) in dump_rc_nhg() 221 dump_rc_nhop(struct nl_writer *nw, const struct route_nhop_data *rnd, struct rtmsg *rtm) in dump_rc_nhop() 269 struct nl_writer *nw) in dump_px() 353 struct nl_writer nw = {}; in report_operation() 527 struct nl_writer *nw; 662 struct nlmsghdr *hdr, struct nl_writer *nw) in handle_rtm_dump() 1041 struct nl_writer nw = {}; in rtnl_handle_route_event()
|
H A D | nexthop.c | 382 struct nl_writer *nw; 394 struct nl_writer *nw) in dump_nhgrp() 437 struct nl_writer *nw) in dump_nhop() 497 struct nl_writer *nw) in dump_unhop() 556 struct nl_writer nw = {}; in delete_unhop() 950 struct nl_writer nw = {}; in rtnl_handle_newnhop()
|
H A D | neigh.c | 61 struct nl_writer *nw; 138 struct nl_writer *nw = wa->nw; in dump_lle_locked() 568 struct nl_writer nw = {}; in rtnl_lle_event()
|
H A D | route_var.h | 111 typedef int rtnl_iface_dump_f(struct ifnet *ifp, struct nl_writer *nw);
|
/freebsd/sys/tests/ |
H A D | ktest.c | 82 create_reply(struct nl_writer *nw, struct nlmsghdr *hdr, int cmd) in create_reply() 99 struct nl_writer *nw = npt->nw; in dump_mod_test() 312 struct nl_writer *nw = ctx->npt->nw; in ktest_add_msg_meta()
|
/freebsd/sys/netinet/ |
H A D | ip_carp.c | 2746 struct nl_writer *nw = npt->nw; in carp_nl_send()
|