Home
last modified time | relevance | path

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

12

/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.c51 .n.nlmsg_len = NLMSG_LENGTH(GENL_HDRLEN), in genl_ctrl_resolve_family()
87 len -= NLMSG_LENGTH(GENL_HDRLEN); in genl_ctrl_resolve_family()
94 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN); in genl_ctrl_resolve_family()
201 len -= NLMSG_LENGTH(GENL_HDRLEN); in print_ctrl()
208 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN); in print_ctrl()
296 .n.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/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/libnl/include/netlink-private/
Dgenl.h18 #define GENL_HDRSIZE(hdrlen) (GENL_HDRLEN + (hdrlen))
/external/iproute2/ip/
Dipila.c105 len -= NLMSG_LENGTH(GENL_HDRLEN); in print_ila_mapping()
110 parse_rtattr(tb, ILA_ATTR_MAX, (void *) ghdr + GENL_HDRLEN, len); in print_ila_mapping()
Dipseg6.c69 len -= NLMSG_LENGTH(GENL_HDRLEN); in process_msg()
75 parse_rtattr(attrs, SEG6_ATTR_MAX, (void *)ghdr + GENL_HDRLEN, len); in process_msg()
Dtcp_metrics.c104 len -= NLMSG_LENGTH(GENL_HDRLEN); in process_msg()
112 parse_rtattr(attrs, TCP_METRICS_ATTR_MAX, (void *) ghdr + GENL_HDRLEN, in process_msg()
Dipmacsec.c890 len -= NLMSG_LENGTH(GENL_HDRLEN); in process()
898 parse_rtattr(attrs, MACSEC_ATTR_MAX, (void *) ghdr + GENL_HDRLEN, len); in process()
Dipl2tp.c311 parse_rtattr(attrs, L2TP_ATTR_MAX, (void *)ghdr + GENL_HDRLEN, len); in get_response()
/external/ltp/testcases/kernel/controllers/cgroup/
Dcgroup_regression_getdelays.c42 #define GENLMSG_DATA(glh) ((void *)(NLMSG_DATA(glh) + GENL_HDRLEN))
43 #define GENLMSG_PAYLOAD(glh) (NLMSG_PAYLOAD(glh, 0) - GENL_HDRLEN)
133 msg.n.nlmsg_len = NLMSG_LENGTH(GENL_HDRLEN); in send_cmd()
/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/kernel-headers/original/uapi/linux/
Dgenetlink.h19 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr)) macro
/external/iproute2/include/uapi/linux/
Dgenetlink.h19 #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/syzkaller/vendor/golang.org/x/sys/unix/
Dzerrors_linux_mipsle.go565 GENL_HDRLEN = 0x4 const
Dzerrors_linux_s390x.go565 GENL_HDRLEN = 0x4 const
Dzerrors_linux_arm.go565 GENL_HDRLEN = 0x4 const
Dzerrors_linux_ppc64le.go565 GENL_HDRLEN = 0x4 const
Dzerrors_linux_mips64.go565 GENL_HDRLEN = 0x4 const
Dzerrors_linux_ppc64.go565 GENL_HDRLEN = 0x4 const
Dzerrors_linux_amd64.go566 GENL_HDRLEN = 0x4 const
Dzerrors_linux_mips64le.go565 GENL_HDRLEN = 0x4 const

12