Searched refs:nlmsg_msg_size (Results 1 – 17 of 17) sorted by relevance
553 static inline int nlmsg_msg_size(int payload) in nlmsg_msg_size() function564 return NLMSG_ALIGN(nlmsg_msg_size(payload)); in nlmsg_total_size()573 return nlmsg_total_size(payload) - nlmsg_msg_size(payload); in nlmsg_padlen()740 if (nlh->nlmsg_len < nlmsg_msg_size(hdrlen)) { in __nlmsg_parse()884 if (nlh->nlmsg_len < nlmsg_msg_size(hdrlen)) in nlmsg_validate_deprecated()
475 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ifal))) { in ip6addrlbl_valid_dump_req()543 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ifal))) { in ip6addrlbl_valid_get_req()
798 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ip6mr_destroy_unres()1040 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ip6mr_cache_resolve()
614 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(struct netconfmsg))) { in inet6_netconf_valid_get_req()740 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ncm))) { in inet6_netconf_dump_devconf()5301 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ifm))) { in inet6_valid_dump_ifaddr_req()5456 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ifm))) { in inet6_rtm_valid_getaddr_req()6055 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ifm))) { in inet6_valid_dump_ifinfo()
5957 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*rtm))) { in inet6_rtm_valid_getroute_req()
785 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*frh))) { in fib_nl_newrule()893 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*frh))) { in fib_nl_delrule()1121 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*frh))) { in fib_valid_dumprule_req()
561 size = nlmsg_msg_size(GENL_HDRLEN + net_drop_monitor_family.hdrsize); in net_dm_packet_report_size()755 size = nlmsg_msg_size(GENL_HDRLEN + net_drop_monitor_family.hdrsize); in net_dm_hw_packet_report_size()
2162 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ifm))) { in rtnl_valid_dump_ifinfo_req()3760 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ifm))) { in rtnl_valid_getlink_req()4545 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ndm))) { in valid_fdb_dump_strict()4734 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ndm))) { in valid_fdb_get_strict()5006 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ifm))) { in valid_bridge_getlink_req()5904 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ifsm))) { in rtnl_valid_stats_req()6156 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*bpm))) { in rtnl_mdb_valid_dump_req()
2482 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ndtm))) { in neightbl_valid_dump_info()2807 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ndm))) { in neigh_valid_dump_req()2913 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ndm))) { in neigh_valid_get_req()
1219 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(struct netconfmsg))) { in mpls_netconf_valid_get_req()1317 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ncm))) { in mpls_netconf_dump_devconf()2100 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*rtm))) { in mpls_valid_fib_dump_req()2292 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*rtm))) { in mpls_valid_getroute_req()
745 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ipmr_destroy_unres()1010 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ipmr_cache_resolve()2500 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*rtm))) { in ipmr_rtm_valid_getroute_req()2823 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ifm))) { in ipmr_valid_dumplink()
1766 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ifm))) { in inet_valid_dump_ifaddr_req()2183 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(struct netconfmsg))) { in inet_netconf_valid_get_req()2290 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ncm))) { in inet_netconf_dump_devconf()
921 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*rtm))) { in ip_valid_fib_dump_req()
3213 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*rtm))) { in inet_rtm_valid_getroute_req()
833 ctx->nlh->nlmsg_len < nlmsg_msg_size(ctx->hdrlen)) in genl_start()1028 if (nlh->nlmsg_len < nlmsg_msg_size(hdrlen)) in genl_family_rcv_msg()
2141 int size = nlmsg_msg_size(len); in __nlmsg_put()
2866 actual_size = nlmsg_msg_size(actual_size); in iscsi_if_get_stats()