Searched refs:GENL_HDRLEN (Results 1 – 15 of 15) sorted by relevance
/external/libnl/lib/genl/ |
D | genl.c | 121 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()
|
D | mngt.c | 261 ops->co_genl->o_hdrsize = ops->co_hdrsize - GENL_HDRLEN; in genl_register()
|
/external/iproute2/genl/ |
D | ctrl.c | 56 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/ |
D | libgenl.c | 25 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/ |
D | genl.h | 18 #define GENL_HDRSIZE(hdrlen) (GENL_HDRLEN + (hdrlen))
|
/external/libnl/lib/ |
D | msg.c | 828 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/ |
D | libgenl.h | 15 .nlmsg_len = NLMSG_LENGTH(GENL_HDRLEN + (_hdrsiz)), \
|
/external/libnl/include/linux-private/linux/ |
D | genetlink.h | 18 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr)) macro
|
/external/iproute2/include/linux/ |
D | genetlink.h | 18 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr)) macro
|
/external/ltp/testcases/kernel/controllers/cgroup/ |
D | getdelays.c | 45 #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/ |
D | genetlink.h | 18 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr)) macro
|
/external/libnl/ |
D | make.log | 98 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/ |
D | tcp_metrics.c | 105 len -= NLMSG_LENGTH(GENL_HDRLEN); in process_msg() 113 parse_rtattr(attrs, TCP_METRICS_ATTR_MAX, (void *) ghdr + GENL_HDRLEN, in process_msg()
|
D | ipl2tp.c | 261 parse_rtattr(attrs, L2TP_ATTR_MAX, (void *)ghdr + GENL_HDRLEN, len); in get_response()
|
/external/dhcpcd-6.8.2/ |
D | if-linux.c | 998 head = (struct nlattr *)(void *)((char *) ghdr + GENL_HDRLEN); in gnl_parse() 999 len = nlm->nlmsg_len - GENL_HDRLEN - NLMSG_HDRLEN; in gnl_parse()
|