Hello

Can you explain me the purpose of using alignments in packets (i.e. Netlink packets)?

I mean these macros

#define NLMSG_ALIGNTO   4
#define NLMSG_ALIGN(len) (((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )

and others from linux/netlink.h
They are used for separating headers from payload etc. but why?

Thanks


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to