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.h79 npt_alloc(struct nl_pstate *npt, int len) in npt_alloc() function
84 ((struct sockaddr *)(npt_alloc((_npt), (_len))))
248 tmp_hdr = npt_alloc(npt, parser->nl_hdr_off); in nl_parse_header()
H A Dktest_netlink_message_writer.c60 struct test_nlbuf_attrs *attrs = npt_alloc(ctx->npt, sizeof(*attrs)); in test_nlbuf_parser()
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()
514 char *buf = npt_alloc(npt, maxlen + 1); in nlattr_get_nested()
/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.c127 struct nlattr *nla_cookie = npt_alloc(npt, nla_len); in _nl_store_ifp_cookie()
H A Drt.c446 mp = npt_alloc(npt, (max_nhops + 2) * sizeof(struct rta_mpath_nh)); in nlattr_get_multipath()
859 struct weightened_nhop *wn = npt_alloc(npt, sizeof(*wn) * num_nhops); in create_nexthop_from_attrs()
H A Diface.c1168 sin_brd = (struct sockaddr_in *)npt_alloc(npt, sizeof(*sin_brd)); in handle_newaddr_inet()