Searched refs:NLMSG_SPACE (Results 1 – 14 of 14) sorted by relevance
66 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len)) macro73 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len)))158 ({ if (skb_tailroom(skb) < (int)NLMSG_SPACE(len)) goto nlmsg_failure; \
257 rep = alloc_skb(NLMSG_SPACE(sizeof(struct tcpdiagmsg)+ in tcpdiag_get_exact()454 if (cb->nlh->nlmsg_len > 4+NLMSG_SPACE(sizeof(struct tcpdiagreq))) in tcpdiag_dump()579 if (nlh->nlmsg_len > 4 + NLMSG_SPACE(sizeof(struct tcpdiagreq))) { in tcpdiag_rcv_msg()583 rta->rta_len > nlh->nlmsg_len - NLMSG_SPACE(sizeof(struct tcpdiagreq))) in tcpdiag_rcv_msg()605 if (skb->len >= NLMSG_SPACE(0)) { in tcpdiag_rcv_skb()
892 int size = NLMSG_SPACE(sizeof(struct rtmsg)+256); in rtmsg_fib()
1055 int size = NLMSG_SPACE(sizeof(struct ifaddrmsg)+128); in rtmsg_ifa()
201 size = NLMSG_SPACE(sizeof(*pmsg)); in ipq_build_packet_message()211 size = NLMSG_SPACE(sizeof(*pmsg) + data_len); in ipq_build_packet_message()
183 size = NLMSG_SPACE(sizeof(*pm) + copy_len); in ipt_ulog_target()
207 size = NLMSG_SPACE(sizeof(*pmsg)); in ipq_build_packet_message()217 size = NLMSG_SPACE(sizeof(*pmsg) + data_len); in ipq_build_packet_message()
404 while (skb->len >= NLMSG_SPACE(0)) { in rtnetlink_rcv_skb()
1932 int size = NLMSG_SPACE(sizeof(struct ndmsg)+256); in neigh_app_ns()1952 int size = NLMSG_SPACE(sizeof(struct ndmsg)+256); in neigh_app_notify()
1058 size = NLMSG_SPACE(sizeof(struct nlmsgerr)); in netlink_ack()1060 size = NLMSG_SPACE(4 + NLMSG_ALIGN(nlh->nlmsg_len)); in netlink_ack()
337 int size = NLMSG_SPACE(sizeof(struct rtmsg) + 256); in dn_rtmsg_fib()
600 int size = NLMSG_SPACE(sizeof(struct ifaddrmsg)+128); in rtmsg_ifa()
1852 int size = NLMSG_SPACE(sizeof(struct rtmsg)+256); in inet6_rt_notify()
1968 int size = NLMSG_SPACE(sizeof(struct ifaddrmsg)+128); in inet6_ifa_notify()