rtgenmsg
if (nlmsg_len(nlh) >= sizeof(struct rtgenmsg))
return ((struct rtgenmsg *) nlmsg_data(nlh))->rtgen_family;
family = ((struct rtgenmsg *)nlmsg_data(nlh))->rtgen_family;
family = ((struct rtgenmsg *)nlmsg_data(nlh))->rtgen_family;
err = nlmsg_parse_deprecated_strict(nlh, sizeof(struct rtgenmsg), tb,
err = nlmsg_parse_deprecated(nlh, sizeof(struct rtgenmsg), tb,
return NLMSG_ALIGN(sizeof(struct rtgenmsg))
struct rtgenmsg *rth;
return nlmsg_parse_deprecated(nlh, sizeof(struct rtgenmsg),
err = nlmsg_parse_deprecated_strict(nlh, sizeof(struct rtgenmsg), tb,
sizeof(struct rtgenmsg) : sizeof(struct ifinfomsg);
sizeof(struct rtgenmsg) : sizeof(struct ifinfomsg);
if (nlmsg_len(nlh) < sizeof(struct rtgenmsg))
family = ((struct rtgenmsg *)nlmsg_data(nlh))->rtgen_family;
NLMSG_ALIGN(sizeof(struct rtgenmsg))
struct rtgenmsg *rtgenm;
sizeof(struct rtgenmsg), 0);
NLMSG_ALIGN(sizeof(struct rtgenmsg))
struct rtgenmsg *rtgenm;
sizeof(struct rtgenmsg), 0);