Searched refs:nlmsg_msg_size (Results 1 – 18 of 18) sorted by relevance
541 static inline int nlmsg_msg_size(int payload) in nlmsg_msg_size() function552 return NLMSG_ALIGN(nlmsg_msg_size(payload)); in nlmsg_total_size()561 return nlmsg_total_size(payload) - nlmsg_msg_size(payload); in nlmsg_padlen()728 if (nlh->nlmsg_len < nlmsg_msg_size(hdrlen)) { in __nlmsg_parse()870 if (nlh->nlmsg_len < nlmsg_msg_size(hdrlen)) in nlmsg_validate_deprecated()
474 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ifal))) { in ip6addrlbl_valid_dump_req()542 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ifal))) { in ip6addrlbl_valid_get_req()
781 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ip6mr_destroy_unres()1022 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ip6mr_cache_resolve()
616 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(struct netconfmsg))) { in inet6_netconf_valid_get_req()726 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ncm))) { in inet6_netconf_dump_devconf()5178 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ifm))) { in inet6_valid_dump_ifaddr_req()5333 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ifm))) { in inet6_rtm_valid_getaddr_req()5929 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ifm))) { in inet6_valid_dump_ifinfo()
5965 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*rtm))) { in inet6_rtm_valid_getroute_req()
764 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*frh))) { in fib_nl_newrule()872 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*frh))) { in fib_nl_delrule()1100 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*frh))) { in fib_valid_dumprule_req()
556 size = nlmsg_msg_size(GENL_HDRLEN + net_drop_monitor_family.hdrsize); in net_dm_packet_report_size()726 size = nlmsg_msg_size(GENL_HDRLEN + net_drop_monitor_family.hdrsize); in net_dm_hw_packet_report_size()
2031 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ifm))) { in rtnl_valid_dump_ifinfo_req()3519 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ifm))) { in rtnl_valid_getlink_req()4251 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ndm))) { in valid_fdb_dump_strict()4440 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ndm))) { in valid_fdb_get_strict()4712 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ifm))) { in valid_bridge_getlink_req()5330 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ifsm))) { in rtnl_valid_stats_req()
2421 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ndtm))) { in neightbl_valid_dump_info()2746 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ndm))) { in neigh_valid_dump_req()2851 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ndm))) { in neigh_valid_get_req()
1218 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(struct netconfmsg))) { in mpls_netconf_valid_get_req()1315 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ncm))) { in mpls_netconf_dump_devconf()2111 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*rtm))) { in mpls_valid_fib_dump_req()2303 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*rtm))) { in mpls_valid_getroute_req()
573 if (ctx->nlh->nlmsg_len < nlmsg_msg_size(ctx->hdrlen)) in genl_start()757 if (nlh->nlmsg_len < nlmsg_msg_size(hdrlen)) in genl_family_rcv_msg()
2172 int size = nlmsg_msg_size(len); in __nlmsg_put()
731 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ipmr_destroy_unres()992 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ipmr_cache_resolve()2468 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*rtm))) { in ipmr_rtm_valid_getroute_req()2788 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ifm))) { in ipmr_valid_dumplink()
1727 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ifm))) { in inet_valid_dump_ifaddr_req()2130 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(struct netconfmsg))) { in inet_netconf_valid_get_req()2237 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ncm))) { in inet_netconf_dump_devconf()
904 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*rtm))) { in ip_valid_fib_dump_req()
3196 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*rtm))) { in inet_rtm_valid_getroute_req()
386 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*bpm))) { in br_mdb_valid_dump_req()
2760 actual_size = nlmsg_msg_size(actual_size); in iscsi_if_get_stats()
Completed in 106 milliseconds