Home
last modified time | relevance | path

Searched refs:nlmsg_size (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/vxlan/
Dvxlan_mdb.c916 size_t nlmsg_size; in vxlan_mdb_nlmsg_src_list_size() local
922 nlmsg_size = nla_total_size(0); in vxlan_mdb_nlmsg_src_list_size()
926 nlmsg_size += nla_total_size(0) + in vxlan_mdb_nlmsg_src_list_size()
933 return nlmsg_size; in vxlan_mdb_nlmsg_src_list_size()
943 size_t nlmsg_size; in vxlan_mdb_nlmsg_remote_size() local
946 nlmsg_size = nla_total_size(sizeof(struct br_mdb_entry)) + in vxlan_mdb_nlmsg_remote_size()
952 nlmsg_size += nla_total_size(vxlan_addr_size(&group->dst)); in vxlan_mdb_nlmsg_remote_size()
954 nlmsg_size += nla_total_size(sizeof(u8)); in vxlan_mdb_nlmsg_remote_size()
956 nlmsg_size += vxlan_mdb_nlmsg_src_list_size(group, remote); in vxlan_mdb_nlmsg_remote_size()
958 nlmsg_size += nla_total_size(sizeof(u8)); in vxlan_mdb_nlmsg_remote_size()
[all …]
/linux-6.12.1/net/bridge/
Dbr_mdb.c456 size_t nlmsg_size, addr_size = 0; in rtnl_mdb_nlmsg_pg_size() local
459 nlmsg_size = nla_total_size(sizeof(struct br_mdb_entry)) + in rtnl_mdb_nlmsg_pg_size()
467 nlmsg_size += nla_total_size(sizeof(u8)); in rtnl_mdb_nlmsg_pg_size()
473 nlmsg_size += nla_total_size(sizeof(__be32)); in rtnl_mdb_nlmsg_pg_size()
482 nlmsg_size += nla_total_size(sizeof(struct in6_addr)); in rtnl_mdb_nlmsg_pg_size()
491 nlmsg_size += nla_total_size(sizeof(u8)); in rtnl_mdb_nlmsg_pg_size()
495 nlmsg_size += nla_total_size(0); in rtnl_mdb_nlmsg_pg_size()
501 nlmsg_size += nla_total_size(0) + in rtnl_mdb_nlmsg_pg_size()
506 return nlmsg_size; in rtnl_mdb_nlmsg_pg_size()
1586 size_t nlmsg_size; in br_mdb_get_reply_alloc() local
[all …]