Searched refs:mnl_attr_put_u16_check (Results 1 – 3 of 3) sorted by relevance
/dports/net/wireguard-tools/wireguard-tools-1.0.20210914/src/ |
H A D | ipc-linux.h | 202 …if (!mnl_attr_put_u16_check(nlh, SOCKET_BUFFER_SIZE, WGPEER_A_PERSISTENT_KEEPALIVE_INTERVAL, peer-… in kernel_set_device() 220 if (!mnl_attr_put_u16_check(nlh, SOCKET_BUFFER_SIZE, WGALLOWEDIP_A_FAMILY, allowedip->family)) in kernel_set_device()
|
H A D | netlink.h | 360 static bool mnl_attr_put_u16_check(struct nlmsghdr *nlh, size_t buflen, in mnl_attr_put_u16_check() function
|
/dports/net/wireguard-tools/wireguard-tools-1.0.20210914/contrib/embeddable-wg-library/ |
H A D | wireguard.c | 421 static bool mnl_attr_put_u16_check(struct nlmsghdr *nlh, size_t buflen, in mnl_attr_put_u16_check() function 1124 …if (!mnl_attr_put_u16_check(nlh, mnl_ideal_socket_buffer_size(), WGPEER_A_PERSISTENT_KEEPALIVE_INT… in wg_set_device() 1142 …if (!mnl_attr_put_u16_check(nlh, mnl_ideal_socket_buffer_size(), WGALLOWEDIP_A_FAMILY, allowedip->… in wg_set_device()
|