Home
last modified time | relevance | path

Searched refs:GENL_HDRLEN (Results 1 – 15 of 15) sorted by relevance

/external/libnl/lib/genl/
Dgenl.c121 if (!nlmsg_valid_hdr(nlh, GENL_HDRLEN)) in genlmsg_valid_hdr()
229 return (nlh->nlmsg_len - GENL_HDRLEN - NLMSG_HDRLEN); in genlmsg_len()
357 nlh = nlmsg_put(msg, port, seq, family, GENL_HDRLEN + hdrlen, flags); in genlmsg_put()
365 return nlmsg_data(nlh) + GENL_HDRLEN; in genlmsg_put()
387 return ((unsigned char *) gnlh + GENL_HDRLEN); in genlmsg_data()
Dmngt.c261 ops->co_genl->o_hdrsize = ops->co_hdrsize - GENL_HDRLEN; in genl_register()
/external/iproute2/genl/
Dctrl.c56 nlh->nlmsg_len = NLMSG_LENGTH(GENL_HDRLEN); in genl_ctrl_resolve_family()
92 len -= NLMSG_LENGTH(GENL_HDRLEN); in genl_ctrl_resolve_family()
99 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN); in genl_ctrl_resolve_family()
206 len -= NLMSG_LENGTH(GENL_HDRLEN); in print_ctrl()
213 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN); in print_ctrl()
306 nlh->nlmsg_len = NLMSG_LENGTH(GENL_HDRLEN); in ctrl_list()
/external/iproute2/lib/
Dlibgenl.c25 len -= NLMSG_LENGTH(GENL_HDRLEN); in genl_parse_getfamily()
37 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN); in genl_parse_getfamily()
/external/libnl/include/netlink-private/
Dgenl.h18 #define GENL_HDRSIZE(hdrlen) (GENL_HDRLEN + (hdrlen))
/external/libnl/lib/
Dmsg.c828 fprintf(ofd, " [GENERIC NETLINK HEADER] %zu octets\n", GENL_HDRLEN); in print_genl_hdr()
839 if (*payloadlen < GENL_HDRLEN) in print_genl_msg()
844 *payloadlen -= GENL_HDRLEN; in print_genl_msg()
845 data += GENL_HDRLEN; in print_genl_msg()
848 int hdrsize = ops->co_hdrsize - GENL_HDRLEN; in print_genl_msg()
/external/iproute2/include/
Dlibgenl.h15 .nlmsg_len = NLMSG_LENGTH(GENL_HDRLEN + (_hdrsiz)), \
/external/libnl/include/linux-private/linux/
Dgenetlink.h18 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr)) macro
/external/iproute2/include/linux/
Dgenetlink.h18 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr)) macro
/external/ltp/testcases/kernel/controllers/cgroup/
Dgetdelays.c45 #define GENLMSG_DATA(glh) ((void *)(NLMSG_DATA(glh) + GENL_HDRLEN))
46 #define GENLMSG_PAYLOAD(glh) (NLMSG_PAYLOAD(glh, 0) - GENL_HDRLEN)
136 msg.n.nlmsg_len = NLMSG_LENGTH(GENL_HDRLEN); in send_cmd()
/external/kernel-headers/original/uapi/linux/
Dgenetlink.h18 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr)) macro
/external/libnl/
Dmake.log98 data += GENL_HDRLEN;
104 if (*payloadlen < GENL_HDRLEN)
169 return nlmsg_data(nlh) + GENL_HDRLEN;
245 data += GENL_HDRLEN;
251 if (*payloadlen < GENL_HDRLEN)
326 return nlmsg_data(nlh) + GENL_HDRLEN;
/external/iproute2/ip/
Dtcp_metrics.c105 len -= NLMSG_LENGTH(GENL_HDRLEN); in process_msg()
113 parse_rtattr(attrs, TCP_METRICS_ATTR_MAX, (void *) ghdr + GENL_HDRLEN, in process_msg()
Dipl2tp.c261 parse_rtattr(attrs, L2TP_ATTR_MAX, (void *)ghdr + GENL_HDRLEN, len); in get_response()
/external/dhcpcd-6.8.2/
Dif-linux.c998 head = (struct nlattr *)(void *)((char *) ghdr + GENL_HDRLEN); in gnl_parse()
999 len = nlm->nlmsg_len - GENL_HDRLEN - NLMSG_HDRLEN; in gnl_parse()