OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:NLMSG_ALIGN
(Results
1 - 7
of
7
) sorted by relevancy
/src/external/bsd/wpa/dist/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)))
netlink.c
31
(u8 *) NLMSG_DATA(h) +
NLMSG_ALIGN
(sizeof(struct ifinfomsg)),
199
((char *) &req +
NLMSG_ALIGN
(req.hdr.nlmsg_len)),
208
((char *) &req +
NLMSG_ALIGN
(req.hdr.nlmsg_len)),
/src/crypto/external/bsd/heimdal/dist/lib/roken/
getifaddrs.c
279
char reqbuf[
NLMSG_ALIGN
(sizeof(struct nlmsghdr)) +
280
NLMSG_ALIGN
(sizeof(struct rtgenmsg))];
560
NLMSG_ALIGN
(sizeof(struct ifaddrs[icnt]))
564
NLMSG_ALIGN
(sizeof(char *[max_ifindex+1]))
565
+
NLMSG_ALIGN
(sizeof(uint16_t [max_ifindex+1])));
579
data +=
NLMSG_ALIGN
(sizeof(struct ifaddrs)) * icnt;
583
ifflist = (uint16_t *)(((char *)iflist) +
NLMSG_ALIGN
(sizeof(char *[max_ifindex+1])));
646
rtasize = NLMSG_PAYLOAD(nlh, nlmlen) -
NLMSG_ALIGN
(nlm_struct_size);
647
for (rta = (struct rtattr *)(((char *)NLMSG_DATA(nlh)) +
NLMSG_ALIGN
(nlm_struct_size));
666
sockaddr_size =
NLMSG_ALIGN
(sa_len)
[
all
...]
/src/external/bsd/libpcap/dist/
pcap-netfilter-linux.c
74
#define HDR_LENGTH (NLMSG_LENGTH(
NLMSG_ALIGN
(sizeof(struct nfgenmsg))))
222
int attr_len = nlh->nlmsg_len -
NLMSG_ALIGN
(HDR_LENGTH);
257
pkth.caplen = pkth.len = nlh->nlmsg_len-
NLMSG_ALIGN
(sizeof(struct nlmsghdr));
282
msg_len =
NLMSG_ALIGN
(nlh->nlmsg_len);
373
struct nfattr *nfa = (struct nfattr *) (buf +
NLMSG_ALIGN
(nlh->nlmsg_len));
378
nlh->nlmsg_len =
NLMSG_ALIGN
(nlh->nlmsg_len) + NFA_ALIGN(nfa->nfa_len);
418
if (nlh->nlmsg_len <
NLMSG_ALIGN
(sizeof(struct nlmsgerr))) {
/src/crypto/dist/ipsec-tools/src/racoon/
grabmyaddr.c
325
((struct rtattr *) (((void *) (nmsg)) +
NLMSG_ALIGN
((nmsg)->nlmsg_len)))
345
if (
NLMSG_ALIGN
(n->nlmsg_len) + RTA_ALIGN(len) > maxlen)
352
n->nlmsg_len =
NLMSG_ALIGN
(n->nlmsg_len) + RTA_ALIGN(len);
/src/external/bsd/libfido2/dist/src/
netlink.c
38
#define NLA_HDRLEN
NLMSG_ALIGN
(sizeof(struct nlattr))
138
(skip =
NLMSG_ALIGN
(nlalen)) > *len ||
196
(skip =
NLMSG_ALIGN
(msglen)) > *len ||
277
if ((skip =
NLMSG_ALIGN
(len)) > UINT16_MAX - sizeof(a.u) ||
/src/external/bsd/wpa/dist/src/ap/
vlan_full.c
648
nlmsg_len =
NLMSG_ALIGN
(sizeof(struct ifinfomsg));
Completed in 32 milliseconds
Indexes created Sat Jun 20 00:25:23 UTC 2026