Home
last modified time | relevance | path

Searched refs:NLMSG_LENGTH (Results 1 – 10 of 10) sorted by relevance

/linux-2.4.37.9/net/core/
Drtnetlink.c85 NLMSG_LENGTH(sizeof(struct ifinfomsg)),
86 NLMSG_LENGTH(sizeof(struct ifaddrmsg)),
87 NLMSG_LENGTH(sizeof(struct rtmsg)),
88 NLMSG_LENGTH(sizeof(struct ndmsg)),
89 NLMSG_LENGTH(sizeof(struct rtmsg)),
90 NLMSG_LENGTH(sizeof(struct tcmsg)),
91 NLMSG_LENGTH(sizeof(struct tcmsg)),
92 NLMSG_LENGTH(sizeof(struct tcmsg))
304 if (nlh->nlmsg_len < NLMSG_LENGTH(sizeof(struct rtgenmsg))) in rtnetlink_rcv_msg()
/linux-2.4.37.9/include/linux/
Dnetlink.h65 #define NLMSG_LENGTH(len) ((len)+NLMSG_ALIGN(sizeof(struct nlmsghdr))) macro
66 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len))
67 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0)))
145 int size = NLMSG_LENGTH(len); in __nlmsg_put()
/linux-2.4.37.9/net/sched/
Dcls_api.c361 if (cb->nlh->nlmsg_len < NLMSG_LENGTH(sizeof(*tcm))) in tc_dump_tfilter()
Dsch_api.c1031 if (cb->nlh->nlmsg_len < NLMSG_LENGTH(sizeof(*tcm))) in tc_dump_tclass()
/linux-2.4.37.9/net/ipv4/netfilter/
Dip_queue.c522 nlmsglen - NLMSG_LENGTH(0)); in ipq_rcv_skb()
/linux-2.4.37.9/net/ipv6/netfilter/
Dip6_queue.c526 nlmsglen - NLMSG_LENGTH(0)); in ipq_rcv_skb()
/linux-2.4.37.9/net/ipv4/
Dtcp_diag.c575 if (NLMSG_LENGTH(sizeof(struct tcpdiagreq)) > skb->len) in tcpdiag_rcv_msg()
Dipmr.c301 nlh->nlmsg_len = NLMSG_LENGTH(sizeof(struct nlmsgerr)); in ipmr_destroy_unres()
514 nlh->nlmsg_len = NLMSG_LENGTH(sizeof(struct nlmsgerr)); in ipmr_cache_resolve()
Dfib_semantics.c751 nl->nlmsg_len = NLMSG_LENGTH(sizeof(*rtm)); in fib_convert_rtentry()
/linux-2.4.37.9/net/ipv6/
Droute.c1673 if (arg->cb->nlh->nlmsg_len >= NLMSG_LENGTH(sizeof(struct rtmsg))) { in rt6_dump_route()