Home
last modified time | relevance | path

Searched refs:npt_alloc (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/sys/netlink/
H A Dnetlink_message_parser.h79 npt_alloc(struct nl_pstate *npt, int len) in npt_alloc() function
83 #define npt_alloc_sockaddr(_npt, _len) ((struct sockaddr *)(npt_alloc(_npt, _len)))
229 void *tmp_hdr = npt_alloc(npt, parser->nl_hdr_off); in nl_parse_header()
H A Dnetlink_message_parser.c61 char *buf = npt_alloc(npt, NL_MAX_ERROR_BUF); in nlmsg_report_err_msg()
92 struct nlattr *nla = npt_alloc(npt, sizeof(*nla) + sizeof(uint32_t)); in nlmsg_report_cookie_u32()
451 char *buf = npt_alloc(npt, maxlen + 1); in nlattr_get_stringn()
H A Dktest_netlink_message_writer.c64 struct test_mbuf_attrs *attrs = npt_alloc(ctx->npt, sizeof(*attrs)); in test_mbuf_parser()
/freebsd-14.2/sys/tests/
H A Dktest_example.c86 struct test1_attrs *attrs = npt_alloc(ctx->npt, sizeof(*attrs)); in test_with_params_parser()
H A Dktest.c213 .buf = npt_alloc(npt, KTEST_MAX_BUF), in run_test()
/freebsd-14.2/sys/netlink/route/
H A Diface_drivers.c127 struct nlattr *nla_cookie = npt_alloc(npt, nla_len); in _nl_store_ifp_cookie()
H A Drt.c440 struct rta_mpath *mp = npt_alloc(npt, (max_nhops + 2) * sizeof(struct rta_mpath_nh)); in nlattr_get_multipath()
848 struct weightened_nhop *wn = npt_alloc(npt, sizeof(*wn) * num_nhops); in create_nexthop_from_attrs()
H A Diface.c1166 sin_brd = (struct sockaddr_in *)npt_alloc(npt, sizeof(*sin_brd)); in handle_newaddr_inet()