c
skb = nlmsg_new(NLMSG_ALIGN(sizeof(struct ifaddrmsg)) + ...);
if (!skb) {
    // handle allocation failure
    return;
}
