Home
last modified time | relevance | path

Searched refs:nlmsg_msg_size (Results 1 – 9 of 9) sorted by relevance

/linux/include/net/
H A Dnetlink.h581 static inline int nlmsg_msg_size(int payload) in nlmsg_msg_size() function
592 return NLMSG_ALIGN(nlmsg_msg_size(payload)); in nlmsg_total_size()
601 return nlmsg_total_size(payload) - nlmsg_msg_size(payload); in nlmsg_padlen()
632 if (nlh->nlmsg_len < nlmsg_msg_size(len)) in nlmsg_payload()
784 if (nlh->nlmsg_len < nlmsg_msg_size(hdrlen)) { in __nlmsg_parse()
928 if (nlh->nlmsg_len < nlmsg_msg_size(hdrlen)) in nlmsg_validate_deprecated()
/linux/net/core/
H A Ddrop_monitor.c564 size = nlmsg_msg_size(GENL_HDRLEN + net_drop_monitor_family.hdrsize); in net_dm_packet_report_size()
758 size = nlmsg_msg_size(GENL_HDRLEN + net_drop_monitor_family.hdrsize); in net_dm_hw_packet_report_size()
H A Drtnetlink.c4323 if (nlh->nlmsg_len < nlmsg_msg_size(hdrlen)) in rtnl_calcit()
/linux/net/netlink/
H A Dgenetlink.c977 ctx->nlh->nlmsg_len < nlmsg_msg_size(ctx->hdrlen)) in genl_start()
1172 if (nlh->nlmsg_len < nlmsg_msg_size(hdrlen)) in genl_family_rcv_msg()
/linux/net/mpls/
H A Daf_mpls.c1234 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(struct netconfmsg))) { in mpls_netconf_valid_get_req()
1348 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ncm))) {
/linux/net/ipv6/
H A Dip6mr.c802 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ip6mr_destroy_unres()
1044 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ip6mr_cache_resolve()
H A Daddrconf.c625 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(struct netconfmsg))) { in inet6_netconf_valid_get_req()
752 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ncm))) { in inet6_netconf_dump_devconf()
/linux/net/ipv4/
H A Ddevinet.c2242 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(struct netconfmsg))) { in inet_netconf_valid_get_req()
2353 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ncm))) { in inet_netconf_dump_devconf()
/linux/drivers/scsi/
H A Dscsi_transport_iscsi.c2842 actual_size = nlmsg_msg_size(actual_size); in iscsi_if_get_stats()