/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/include/linux/ |
H A D | netlink.h | 71 #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) ) macro 72 #define NLMSG_LENGTH(len) ((len)+NLMSG_ALIGN(sizeof(struct nlmsghdr))) 73 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len)) 75 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ 76 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
|
H A D | rtnetlink.h | 270 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg)))) 432 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) 470 #define NDA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ndmsg)))) 601 NLMSG_ALIGN(sizeof(struct ndtmsg)))) 744 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) 834 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg)))) 900 #define TA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcamsg))))
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/dhcp6/ |
H A D | ifaddrs.c | 186 char reqbuf[NLMSG_ALIGN (sizeof (struct nlmsghdr)) + 187 NLMSG_ALIGN (sizeof (struct rtgenmsg))]; 476 NLMSG_ALIGN (sizeof (struct ifaddrs[icnt])) 479 NLMSG_ALIGN (sizeof (char *[max_ifindex + 1])) 481 NLMSG_ALIGN (sizeof (uint16_t[max_ifindex + 1]))); 497 data += NLMSG_ALIGN (sizeof (struct ifaddrs)) * icnt; 503 NLMSG_ALIGN (sizeof (char *[max_ifindex + 1])); 574 NLMSG_PAYLOAD (nlh, nlmlen) - NLMSG_ALIGN (nlm_struct_size); 577 NLMSG_ALIGN (nlm_struct_size)); 602 sockaddr_size = NLMSG_ALIGN (sa_le [all...] |
H A D | netlink.c | 68 rtasize = NLMSG_PAYLOAD(nlm, nlm_len) - NLMSG_ALIGN(sizeof(*rtm)); 70 NLMSG_ALIGN(sizeof(*rtm))); 147 rtasize = NLMSG_PAYLOAD(nlm, nlm_len) - NLMSG_ALIGN(sizeof(*ifim)); 149 NLMSG_ALIGN(sizeof(*ifim))); RTA_OK(rta, rtasize); 216 char buf[NLMSG_ALIGN (sizeof (struct nlmsghdr)) + 217 NLMSG_ALIGN (sizeof (struct rtmsg))]; 249 char buf[NLMSG_ALIGN (sizeof (struct nlmsghdr)) + 250 NLMSG_ALIGN (sizeof (struct rtgenmsg))];
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/ |
H A D | genetlink.h | 17 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr))
|
H A D | netlink.h | 76 #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) ) macro 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))) 217 nlh = (struct nlmsghdr*)skb_put(skb, NLMSG_ALIGN(size)); 223 memset(NLMSG_DATA(nlh) + len, 0, NLMSG_ALIGN(size) - size);
|
H A D | if_addr.h | 58 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
|
H A D | netfilter_decnet.h | 57 #define NFDN_RTMSG(r) ((unsigned char *)(r) + NLMSG_ALIGN(sizeof(struct nf_dn_rtmsg)))
|
H A D | if_link.h | 87 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/ip/ |
H A D | xfrm.h | 36 #define XFRMS_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_usersa_info)))) 39 #define XFRMP_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_userpolicy_info)))) 42 #define XFRMACQ_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_user_acquire)))) 43 #define XFRMEXP_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_user_expire)))) 44 #define XFRMPEXP_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_user_polexpire))))
|
H A D | rtmon.c | 46 fwrite((void*)n1, 1, NLMSG_ALIGN(n1->nlmsg_len), fp); 55 fwrite((void*)n, 1, NLMSG_ALIGN(n->nlmsg_len), fp);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/libiproute/ |
H A D | libnetlink.c | 299 status -= NLMSG_ALIGN(len); 300 h = (struct nlmsghdr*)((char*)h + NLMSG_ALIGN(len)); 316 if (NLMSG_ALIGN(n->nlmsg_len) + len > maxlen) 318 rta = (struct rtattr*)(((char*)n) + NLMSG_ALIGN(n->nlmsg_len)); 322 n->nlmsg_len = NLMSG_ALIGN(n->nlmsg_len) + len; 331 if (NLMSG_ALIGN(n->nlmsg_len) + len > maxlen) 333 rta = (struct rtattr*)(((char*)n) + NLMSG_ALIGN(n->nlmsg_len)); 337 n->nlmsg_len = NLMSG_ALIGN(n->nlmsg_len) + len; 353 rta->rta_len = NLMSG_ALIGN(rta->rta_len) + len; 369 rta->rta_len = NLMSG_ALIGN(rt [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/lib/ |
H A D | libnetlink.c | 336 status -= NLMSG_ALIGN(len); 337 h = (struct nlmsghdr*)((char*)h + NLMSG_ALIGN(len)); 408 status -= NLMSG_ALIGN(len); 409 h = (struct nlmsghdr*)((char*)h + NLMSG_ALIGN(len)); 460 status = fread(NLMSG_DATA(h), 1, NLMSG_ALIGN(l), rtnl); 481 if (NLMSG_ALIGN(n->nlmsg_len) + len > maxlen) { 489 n->nlmsg_len = NLMSG_ALIGN(n->nlmsg_len) + len; 499 if (NLMSG_ALIGN(n->nlmsg_len) + RTA_ALIGN(len) > maxlen) { 507 n->nlmsg_len = NLMSG_ALIGN(n->nlmsg_len) + RTA_ALIGN(len); 513 if (NLMSG_ALIGN( [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/include/ |
H A D | libnetlink.h | 54 ((struct rtattr *) (((void *) (nmsg)) + NLMSG_ALIGN((nmsg)->nlmsg_len)))
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/ |
H A D | scsi_netlink.c | 61 rlen = NLMSG_ALIGN(nlh->nlmsg_len);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/tc/ |
H A D | f_basic.c | 58 tail = (struct rtattr*)(((void*)n)+NLMSG_ALIGN(n->nlmsg_len));
|
H A D | m_action.c | 532 msg_size = NLMSG_ALIGN(req.n.nlmsg_len) - NLMSG_ALIGN(sizeof(struct nlmsghdr)); 543 req.n.nlmsg_len = NLMSG_ALIGN(req.n.nlmsg_len);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/ |
H A D | genetlink.h | 216 return NLMSG_ALIGN(genlmsg_msg_size(payload));
|
H A D | netlink.h | 270 return NLMSG_ALIGN(nlmsg_msg_size(payload)); 309 return (struct nlattr *) (data + NLMSG_ALIGN(hdrlen)); 319 return nlmsg_len(nlh) - NLMSG_ALIGN(hdrlen); 344 int totlen = NLMSG_ALIGN(nlh->nlmsg_len);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/avahi-0.6.25/avahi-autoipd/ |
H A D | iface-linux.c | 45 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) 50 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/avahi-0.6.25/avahi-core/ |
H A D | iface-linux.c | 39 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) 44 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/netfilter/ |
H A D | nfnetlink.h | 85 + NLMSG_ALIGN(sizeof(struct nfgenmsg))))
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bridge/ |
H A D | br_netlink.c | 19 return NLMSG_ALIGN(sizeof(struct ifinfomsg))
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/decnet/netfilter/ |
H A D | dn_rtmsg.c | 42 size += NLMSG_ALIGN(sizeof(struct nf_dn_rtmsg));
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/zebra/ |
H A D | rt_netlink.c | 976 if (NLMSG_ALIGN(n->nlmsg_len) + len > maxlen) 979 rta = (struct rtattr*) (((char*)n) + NLMSG_ALIGN (n->nlmsg_len)); 983 n->nlmsg_len = NLMSG_ALIGN (n->nlmsg_len) + len; 1003 rta->rta_len = NLMSG_ALIGN (rta->rta_len) + len; 1018 if (NLMSG_ALIGN (n->nlmsg_len) + len > maxlen) 1021 rta = (struct rtattr*) (((char*)n) + NLMSG_ALIGN (n->nlmsg_len)); 1025 n->nlmsg_len = NLMSG_ALIGN (n->nlmsg_len) + len;
|