In man 3 rtnetlink, the example code includes the lines: rta = (struct rtattr *)(((char *) &req) + NLMSG_ALIGN(n->nlmsg_len)); in which the variable "n" is nowhere declared. It seems likely that NLMSG_ALIGN(req.nh.nlmsg_len) was intended, albeit I am so deeply ignorant of relevant systems that I am learning about them by reading man pages, so I may easilly be wrong ... I am also acutely aware of the bug already noted on the man page, but you clearly already know about that one ! Eddy. -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html