Home
last modified time | relevance | path

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

/external/libnl/lib/genl/
Dgenl.c150 if (!nlmsg_valid_hdr(nlh, GENL_HDRLEN)) in genlmsg_valid_hdr()
192 return ((unsigned char *) gnlh + GENL_HDRLEN); in genlmsg_data()
203 return (nlh->nlmsg_len - GENL_HDRLEN - NLMSG_HDRLEN); in genlmsg_len()
255 nlh = nlmsg_put(msg, pid, seq, family, GENL_HDRLEN + hdrlen, flags); in genlmsg_put()
263 return nlmsg_data(nlh) + GENL_HDRLEN; in genlmsg_put()
/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()
205 len -= NLMSG_LENGTH(GENL_HDRLEN); in print_ctrl()
212 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN); in print_ctrl()
299 nlh->nlmsg_len = NLMSG_LENGTH(GENL_HDRLEN); in ctrl_list()
/external/iproute2/ip/
Dipl2tp.c104 req.n.nlmsg_len = NLMSG_LENGTH(GENL_HDRLEN); in create_tunnel()
137 req.n.nlmsg_len = NLMSG_LENGTH(GENL_HDRLEN); in delete_tunnel()
160 req.n.nlmsg_len = NLMSG_LENGTH(GENL_HDRLEN); in create_session()
202 req.n.nlmsg_len = NLMSG_LENGTH(GENL_HDRLEN); in delete_session()
285 parse_rtattr(attrs, L2TP_ATTR_MAX, (void *)ghdr + GENL_HDRLEN, len); in get_response()
377 req.n.nlmsg_len = NLMSG_LENGTH(GENL_HDRLEN); in get_session()
420 req.n.nlmsg_len = NLMSG_LENGTH(GENL_HDRLEN); in get_tunnel()
737 len -= NLMSG_LENGTH(GENL_HDRLEN); in genl_parse_getfamily()
744 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN); in genl_parse_getfamily()
764 req.n.nlmsg_len = NLMSG_LENGTH(GENL_HDRLEN); in genl_ctrl_resolve_family()
/external/libnl/include/
Dnetlink-generic.h18 #define GENL_HDRSIZE(hdrlen) (GENL_HDRLEN + (hdrlen))
/external/iproute2/include/linux/
Dgenetlink.h18 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr)) macro
/external/libnl/include/linux/
Dgenetlink.h17 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr)) macro
/external/kernel-headers/original/uapi/linux/
Dgenetlink.h18 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr)) macro