Searched refs:npt_alloc (Results 1 – 4 of 4) sorted by relevance
| /freebsd-13-stable/sys/netlink/ |
| HD | netlink_message_parser.h | 79 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))) 223 void *tmp_hdr = npt_alloc(npt, parser->nl_hdr_off); in nl_parse_header()
|
| HD | netlink_message_parser.c | 60 char *buf = npt_alloc(npt, NL_MAX_ERROR_BUF); in nlmsg_report_err_msg() 91 struct nlattr *nla = npt_alloc(npt, sizeof(*nla) + sizeof(uint32_t)); in nlmsg_report_cookie_u32() 414 char *buf = npt_alloc(npt, maxlen + 1); in nlattr_get_stringn()
|
| /freebsd-13-stable/sys/netlink/route/ |
| HD | iface_drivers.c | 127 struct nlattr *nla_cookie = npt_alloc(npt, nla_len); in store_cookie()
|
| HD | rt.c | 419 struct rta_mpath *mp = npt_alloc(npt, (max_nhops + 2) * sizeof(struct rta_mpath_nh)); in nlattr_get_multipath() 779 struct weightened_nhop *wn = npt_alloc(npt, sizeof(*wn) * num_nhops); in create_nexthop_from_attrs()
|