Home
last modified time | relevance | path

Searched refs:NLMSG_SPACE (Results 1 – 14 of 14) sorted by relevance

/linux-2.4.37.9/include/linux/
Dnetlink.h66 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len)) macro
73 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len)))
158 ({ if (skb_tailroom(skb) < (int)NLMSG_SPACE(len)) goto nlmsg_failure; \
/linux-2.4.37.9/net/ipv4/
Dtcp_diag.c257 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()
Dfib_hash.c892 int size = NLMSG_SPACE(sizeof(struct rtmsg)+256); in rtmsg_fib()
Ddevinet.c1055 int size = NLMSG_SPACE(sizeof(struct ifaddrmsg)+128); in rtmsg_ifa()
/linux-2.4.37.9/net/ipv4/netfilter/
Dip_queue.c201 size = NLMSG_SPACE(sizeof(*pmsg)); in ipq_build_packet_message()
211 size = NLMSG_SPACE(sizeof(*pmsg) + data_len); in ipq_build_packet_message()
Dipt_ULOG.c183 size = NLMSG_SPACE(sizeof(*pm) + copy_len); in ipt_ulog_target()
/linux-2.4.37.9/net/ipv6/netfilter/
Dip6_queue.c207 size = NLMSG_SPACE(sizeof(*pmsg)); in ipq_build_packet_message()
217 size = NLMSG_SPACE(sizeof(*pmsg) + data_len); in ipq_build_packet_message()
/linux-2.4.37.9/net/core/
Drtnetlink.c404 while (skb->len >= NLMSG_SPACE(0)) { in rtnetlink_rcv_skb()
Dneighbour.c1932 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()
/linux-2.4.37.9/net/netlink/
Daf_netlink.c1058 size = NLMSG_SPACE(sizeof(struct nlmsgerr)); in netlink_ack()
1060 size = NLMSG_SPACE(4 + NLMSG_ALIGN(nlh->nlmsg_len)); in netlink_ack()
/linux-2.4.37.9/net/decnet/
Ddn_table.c337 int size = NLMSG_SPACE(sizeof(struct rtmsg) + 256); in dn_rtmsg_fib()
Ddn_dev.c600 int size = NLMSG_SPACE(sizeof(struct ifaddrmsg)+128); in rtmsg_ifa()
/linux-2.4.37.9/net/ipv6/
Droute.c1852 int size = NLMSG_SPACE(sizeof(struct rtmsg)+256); in inet6_rt_notify()
Daddrconf.c1968 int size = NLMSG_SPACE(sizeof(struct ifaddrmsg)+128); in inet6_ifa_notify()