Home
last modified time | relevance | path

Searched refs:NLMBUFSIZE (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/sys/netlink/
H A Dnetlink_message_writer.c109 if (__predict_false(size > NLMBUFSIZE)) in nl_get_mbuf_flags()
142 int sz = len > NLMBUFSIZE ? NLMBUFSIZE: len; in nl_get_mbuf_chain()
166 nlmsg_zone = uma_zcreate("netlink", NLMBUFSIZE, nl_setup_mbuf_storage, in nl_init_msg_zone()
523 if (__predict_true(size <= NLMBUFSIZE)) in nlmsg_get_buf()
616 if (completed_len > 0 && required_len < NLMBUFSIZE) { in _nlmsg_refill_buffer()
618 new_len = max(nw->alloc_len, NLMBUFSIZE); in _nlmsg_refill_buffer()
620 if (nw->alloc_len < NLMBUFSIZE) in _nlmsg_refill_buffer()
621 new_len = NLMBUFSIZE; in _nlmsg_refill_buffer()
H A Dnetlink_var.h42 #define NLMBUFSIZE 2048 /* External storage size for Netlink mbufs */ macro