Home
last modified time | relevance | path

Searched refs:gnlh (Results 1 – 4 of 4) sorted by relevance

/linux/Documentation/networking/
A Dl2tp.rst274 struct genlmsghdr *gnlh;
281 gnlh = mnl_nlmsg_put_extra_header(nlh, sizeof(*gnlh));
284 gnlh->reserved = 0;
295 struct genlmsghdr *gnlh;
302 gnlh = mnl_nlmsg_put_extra_header(nlh, sizeof(*gnlh));
305 gnlh->reserved = 0;
319 struct genlmsghdr *gnlh;
326 gnlh = mnl_nlmsg_put_extra_header(nlh, sizeof(*gnlh));
329 gnlh->reserved = 0;
344 gnlh = mnl_nlmsg_put_extra_header(nlh, sizeof(*gnlh));
[all …]
/linux/include/net/
A Dgenetlink.h368 static inline void *genlmsg_data(const struct genlmsghdr *gnlh) in genlmsg_data() argument
370 return ((unsigned char *) gnlh + GENL_HDRLEN); in genlmsg_data()
377 static inline int genlmsg_len(const struct genlmsghdr *gnlh) in genlmsg_len() argument
379 struct nlmsghdr *nlh = (struct nlmsghdr *)((unsigned char *)gnlh - in genlmsg_len()
/linux/net/core/
A Ddrop_monitor.c177 struct genlmsghdr *gnlh = (struct genlmsghdr *)nlmsg_data(nlh); in reset_per_cpu_data() local
179 genlmsg_end(skb, genlmsg_data(gnlh)); in reset_per_cpu_data()
/linux/drivers/net/wireless/
A Dmac80211_hwsim.c4385 struct genlmsghdr *gnlh; in hwsim_virtio_handle_cmd() local
4391 gnlh = nlmsg_data(nlh); in hwsim_virtio_handle_cmd()
4401 switch (gnlh->cmd) { in hwsim_virtio_handle_cmd()
4409 pr_err_ratelimited("hwsim: invalid cmd: %d\n", gnlh->cmd); in hwsim_virtio_handle_cmd()

Completed in 25 milliseconds