Home
last modified time | relevance | path

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

/freebsd/sys/netlink/
H A Dnetlink_message_parser.c76 tmp = npt_alloc(npt, len); in nl_alloc_compat_hdr()
92 char *buf = npt_alloc(npt, NL_MAX_ERROR_BUF); in nlmsg_report_err_msg()
123 struct nlattr *nla = npt_alloc(npt, sizeof(*nla) + sizeof(uint32_t)); in nlmsg_report_cookie_u32()
547 char *buf = npt_alloc(npt, maxlen + 1); in nlattr_get_stringn()
H A Dktest_netlink_message_writer.c58 struct test_nlbuf_attrs *attrs = npt_alloc(ctx->npt, sizeof(*attrs)); in test_nlbuf_parser()
H A Dnetlink_message_parser.h79 npt_alloc(struct nl_pstate *npt, int len) in npt_alloc() function
84 ((struct sockaddr *)(npt_alloc((_npt), (_len))))
/freebsd/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/sys/netlink/route/
H A Diface_drivers.c162 struct nlattr *nla_cookie = npt_alloc(npt, nla_len); in _nl_store_ifp_cookie()
H A Drt.c509 mp = npt_alloc(npt, (max_nhops + 2) * sizeof(struct rta_mpath_nh)); in nlattr_get_multipath()
938 struct weightened_nhop *wn = npt_alloc(npt, sizeof(*wn) * num_nhops); in create_nexthop_from_attrs()
H A Diface.c1784 sin_brd = (struct sockaddr_in *)npt_alloc(npt, sizeof(*sin_brd)); in handle_newaddr_inet()