Searched refs:npt_alloc (Results 1 – 8 of 8) sorted by relevance
/freebsd/sys/netlink/ |
H A D | netlink_message_parser.h | 79 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 D | ktest_netlink_message_writer.c | 60 struct test_nlbuf_attrs *attrs = npt_alloc(ctx->npt, sizeof(*attrs)); in test_nlbuf_parser()
|
H A D | netlink_message_parser.c | 61 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 D | ktest_example.c | 86 struct test1_attrs *attrs = npt_alloc(ctx->npt, sizeof(*attrs)); in test_with_params_parser()
|
H A D | ktest.c | 213 .buf = npt_alloc(npt, KTEST_MAX_BUF), in run_test()
|
/freebsd/sys/netlink/route/ |
H A D | iface_drivers.c | 127 struct nlattr *nla_cookie = npt_alloc(npt, nla_len); in _nl_store_ifp_cookie()
|
H A D | rt.c | 446 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 D | iface.c | 1168 sin_brd = (struct sockaddr_in *)npt_alloc(npt, sizeof(*sin_brd)); in handle_newaddr_inet()
|