OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:NLMSG_ALIGN
(Results
1 - 25
of
118
) sorted by null
1
2
3
4
5
/external/wpa_supplicant_8/src/drivers/
priv_netlink.h
49
#define
NLMSG_ALIGN
(len) (((len) + NLMSG_ALIGNTO - 1) & ~(NLMSG_ALIGNTO - 1))
50
#define NLMSG_HDRLEN ((int)
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
51
#define NLMSG_LENGTH(len) ((len) +
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
52
#define NLMSG_SPACE(len)
NLMSG_ALIGN
(NLMSG_LENGTH(len))
54
#define NLMSG_NEXT(nlh,len) ((len) -=
NLMSG_ALIGN
((nlh)->nlmsg_len), \
56
(((char *)(nlh)) +
NLMSG_ALIGN
((nlh)->nlmsg_len)))
/external/libnl/include/linux-private/linux/
netlink.h
76
#define
NLMSG_ALIGN
(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )
77
#define NLMSG_HDRLEN ((int)
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
78
#define NLMSG_LENGTH(len) ((len)+
NLMSG_ALIGN
(NLMSG_HDRLEN))
79
#define NLMSG_SPACE(len)
NLMSG_ALIGN
(NLMSG_LENGTH(len))
81
#define NLMSG_NEXT(nlh,len) ((len) -=
NLMSG_ALIGN
((nlh)->nlmsg_len), \
82
(struct nlmsghdr*)(((char*)(nlh)) +
NLMSG_ALIGN
((nlh)->nlmsg_len)))
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
netlink.h
77
#define
NLMSG_ALIGN
(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )
78
#define NLMSG_HDRLEN ((int)
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
79
#define NLMSG_LENGTH(len) ((len)+
NLMSG_ALIGN
(NLMSG_HDRLEN))
80
#define NLMSG_SPACE(len)
NLMSG_ALIGN
(NLMSG_LENGTH(len))
82
#define NLMSG_NEXT(nlh,len) ((len) -=
NLMSG_ALIGN
((nlh)->nlmsg_len), \
83
(struct nlmsghdr*)(((char*)(nlh)) +
NLMSG_ALIGN
((nlh)->nlmsg_len)))
/external/strace/
netlink.h
47
#define NLMSG_HDRLEN ((unsigned int)
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
rtnl_nsid.c
53
const size_t offset =
NLMSG_ALIGN
(sizeof(rtgenmsg));
rtnl_dcb.c
65
offset =
NLMSG_ALIGN
(sizeof(dcb));
rtnl_netconf.c
60
const size_t offset =
NLMSG_ALIGN
(sizeof(ncm));
rtnl_tc_action.c
56
const size_t offset =
NLMSG_ALIGN
(sizeof(tca));
/hardware/qcom/msm8994/kernel-headers/linux/
netlink.h
87
#define
NLMSG_ALIGN
(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )
89
#define NLMSG_HDRLEN ((int)
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
91
#define NLMSG_SPACE(len)
NLMSG_ALIGN
(NLMSG_LENGTH(len))
94
#define NLMSG_NEXT(nlh,len) ((len) -=
NLMSG_ALIGN
((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) +
NLMSG_ALIGN
((nlh)->nlmsg_len)))
/hardware/qcom/msm8994/original-kernel-headers/linux/
netlink.h
79
#define
NLMSG_ALIGN
(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )
80
#define NLMSG_HDRLEN ((int)
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
82
#define NLMSG_SPACE(len)
NLMSG_ALIGN
(NLMSG_LENGTH(len))
84
#define NLMSG_NEXT(nlh,len) ((len) -=
NLMSG_ALIGN
((nlh)->nlmsg_len), \
85
(struct nlmsghdr*)(((char*)(nlh)) +
NLMSG_ALIGN
((nlh)->nlmsg_len)))
/hardware/qcom/msm8996/kernel-headers/linux/
netlink.h
87
#define
NLMSG_ALIGN
(len) (((len) + NLMSG_ALIGNTO - 1) & ~(NLMSG_ALIGNTO - 1))
89
#define NLMSG_HDRLEN ((int)
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
91
#define NLMSG_SPACE(len)
NLMSG_ALIGN
(NLMSG_LENGTH(len))
94
#define NLMSG_NEXT(nlh,len) ((len) -=
NLMSG_ALIGN
((nlh)->nlmsg_len), (struct nlmsghdr *) (((char *) (nlh)) +
NLMSG_ALIGN
((nlh)->nlmsg_len)))
/hardware/qcom/msm8996/original-kernel-headers/linux/
netlink.h
79
#define
NLMSG_ALIGN
(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )
80
#define NLMSG_HDRLEN ((int)
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
82
#define NLMSG_SPACE(len)
NLMSG_ALIGN
(NLMSG_LENGTH(len))
84
#define NLMSG_NEXT(nlh,len) ((len) -=
NLMSG_ALIGN
((nlh)->nlmsg_len), \
85
(struct nlmsghdr*)(((char*)(nlh)) +
NLMSG_ALIGN
((nlh)->nlmsg_len)))
/external/strace/tests/
nlattr_mdba_router_port.c
108
char buf[
NLMSG_ALIGN
(ifindex) + NLA_HDRLEN + sizeof(type)];
110
memcpy(buf +
NLMSG_ALIGN
(ifindex), &nla, sizeof(nla));
111
memcpy(buf +
NLMSG_ALIGN
(ifindex) + NLA_HDRLEN, &type, sizeof(type));
/external/strace/tests-m32/
nlattr_mdba_router_port.c
108
char buf[
NLMSG_ALIGN
(ifindex) + NLA_HDRLEN + sizeof(type)];
110
memcpy(buf +
NLMSG_ALIGN
(ifindex), &nla, sizeof(nla));
111
memcpy(buf +
NLMSG_ALIGN
(ifindex) + NLA_HDRLEN, &type, sizeof(type));
/external/strace/tests-mx32/
nlattr_mdba_router_port.c
108
char buf[
NLMSG_ALIGN
(ifindex) + NLA_HDRLEN + sizeof(type)];
110
memcpy(buf +
NLMSG_ALIGN
(ifindex), &nla, sizeof(nla));
111
memcpy(buf +
NLMSG_ALIGN
(ifindex) + NLA_HDRLEN, &type, sizeof(type));
/external/iproute2/include/
libgenl.h
10
char buf[
NLMSG_ALIGN
(_hdrsiz) + (_bufsiz)]; \
/external/iproute2/ip/
xfrm.h
37
#define XFRMS_RTA(x) ((struct rtattr*)(((char*)(x)) +
NLMSG_ALIGN
(sizeof(struct xfrm_usersa_info))))
40
#define XFRMP_RTA(x) ((struct rtattr*)(((char*)(x)) +
NLMSG_ALIGN
(sizeof(struct xfrm_userpolicy_info))))
43
#define XFRMSID_RTA(x) ((struct rtattr*)(((char*)(x)) +
NLMSG_ALIGN
(sizeof(struct xfrm_usersa_id))))
46
#define XFRMPID_RTA(x) ((struct rtattr*)(((char*)(x)) +
NLMSG_ALIGN
(sizeof(struct xfrm_userpolicy_id))))
49
#define XFRMACQ_RTA(x) ((struct rtattr*)(((char*)(x)) +
NLMSG_ALIGN
(sizeof(struct xfrm_user_acquire))))
50
#define XFRMEXP_RTA(x) ((struct rtattr*)(((char*)(x)) +
NLMSG_ALIGN
(sizeof(struct xfrm_user_expire))))
51
#define XFRMPEXP_RTA(x) ((struct rtattr*)(((char*)(x)) +
NLMSG_ALIGN
(sizeof(struct xfrm_user_polexpire))))
53
#define XFRMREP_RTA(x) ((struct rtattr*)(((char*)(x)) +
NLMSG_ALIGN
(sizeof(struct xfrm_user_report))))
55
#define XFRMSAPD_RTA(x) ((struct rtattr*)(((char*)(x)) +
NLMSG_ALIGN
(sizeof(__u32))))
/external/libnl/include/netlink/netfilter/
nfnl.h
23
#define NFNL_HDRLEN
NLMSG_ALIGN
(sizeof(struct nfgenmsg))
/external/libnl/lib/genl/
genl.c
125
if (genlmsg_len(ghdr) <
NLMSG_ALIGN
(hdrlen))
261
return genlmsg_user_hdr(gnlh) +
NLMSG_ALIGN
(hdrlen);
275
return genlmsg_len(gnlh) -
NLMSG_ALIGN
(hdrlen);
304
return genlmsg_len(gnlh) -
NLMSG_ALIGN
(hdrlen);
/external/libnl/include/netlink/
netlink-kernel.h
206
#define
NLMSG_ALIGN
(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )
213
#define NLMSG_HDRLEN ((int)
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
/bionic/libc/kernel/uapi/linux/
netlink.h
79
#define
NLMSG_ALIGN
(len) (((len) + NLMSG_ALIGNTO - 1) & ~(NLMSG_ALIGNTO - 1))
80
#define NLMSG_HDRLEN ((int)
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
82
#define NLMSG_SPACE(len)
NLMSG_ALIGN
(NLMSG_LENGTH(len))
84
#define NLMSG_NEXT(nlh,len) ((len) -=
NLMSG_ALIGN
((nlh)->nlmsg_len), (struct nlmsghdr *) (((char *) (nlh)) +
NLMSG_ALIGN
((nlh)->nlmsg_len)))
genetlink.h
31
#define GENL_HDRLEN
NLMSG_ALIGN
(sizeof(struct genlmsghdr))
/external/iproute2/include/uapi/linux/
netlink.h
90
#define
NLMSG_ALIGN
(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )
91
#define NLMSG_HDRLEN ((int)
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
93
#define NLMSG_SPACE(len)
NLMSG_ALIGN
(NLMSG_LENGTH(len))
95
#define NLMSG_NEXT(nlh,len) ((len) -=
NLMSG_ALIGN
((nlh)->nlmsg_len), \
96
(struct nlmsghdr*)(((char*)(nlh)) +
NLMSG_ALIGN
((nlh)->nlmsg_len)))
115
* message length is aligned with
NLMSG_ALIGN
()
/external/kernel-headers/original/uapi/linux/
netlink.h
90
#define
NLMSG_ALIGN
(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )
91
#define NLMSG_HDRLEN ((int)
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
93
#define NLMSG_SPACE(len)
NLMSG_ALIGN
(NLMSG_LENGTH(len))
95
#define NLMSG_NEXT(nlh,len) ((len) -=
NLMSG_ALIGN
((nlh)->nlmsg_len), \
96
(struct nlmsghdr*)(((char*)(nlh)) +
NLMSG_ALIGN
((nlh)->nlmsg_len)))
115
* message length is aligned with
NLMSG_ALIGN
()
/external/iputils/ninfod/
ni_ifaddrs.c
115
char reqbuf[
NLMSG_ALIGN
(sizeof(struct nlmsghdr)) +
NLMSG_ALIGN
(sizeof(struct rtgenmsg))];
361
ifa = data = calloc(1,
NLMSG_ALIGN
(sizeof(struct ni_ifaddrs[icnt]))
376
data +=
NLMSG_ALIGN
(sizeof(struct ni_ifaddrs)) * icnt;
432
rtasize = NLMSG_PAYLOAD(nlh, nlmlen) -
NLMSG_ALIGN
(nlm_struct_size);
434
NLMSG_ALIGN
(nlm_struct_size));
465
dlen +=
NLMSG_ALIGN
(rtapayload);
469
data +=
NLMSG_ALIGN
(rtapayload);
475
xlen +=
NLMSG_ALIGN
(rtapayload);
479
xdata +=
NLMSG_ALIGN
(rtapayload)
[
all
...]
Completed in 1398 milliseconds
1
2
3
4
5