Home
last modified time | relevance | path

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

/linux/include/net/
A Dnetlink.h541 static inline int nlmsg_msg_size(int payload) in nlmsg_msg_size() function
552 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()
/linux/net/ipv6/
A Daddrlabel.c474 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()
A Dip6mr.c781 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()
A Daddrconf.c616 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()
A Droute.c5965 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*rtm))) { in inet6_rtm_valid_getroute_req()
/linux/net/core/
A Dfib_rules.c764 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()
A Ddrop_monitor.c556 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()
A Drtnetlink.c2031 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()
A Dneighbour.c2421 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()
/linux/net/mpls/
A Daf_mpls.c1218 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()
/linux/net/netlink/
A Dgenetlink.c573 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()
A Daf_netlink.c2172 int size = nlmsg_msg_size(len); in __nlmsg_put()
/linux/net/ipv4/
A Dipmr.c731 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()
A Ddevinet.c1727 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()
A Dfib_frontend.c904 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*rtm))) { in ip_valid_fib_dump_req()
A Droute.c3196 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*rtm))) { in inet_rtm_valid_getroute_req()
/linux/net/bridge/
A Dbr_mdb.c386 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*bpm))) { in br_mdb_valid_dump_req()
/linux/drivers/scsi/
A Dscsi_transport_iscsi.c2760 actual_size = nlmsg_msg_size(actual_size); in iscsi_if_get_stats()

Completed in 106 milliseconds