Lines Matching refs:nlmsg_size
916 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()
960 nlmsg_size += nla_total_size(vxlan_addr_size(&rd->remote_ip)); in vxlan_mdb_nlmsg_remote_size()
963 nlmsg_size += nla_total_size(sizeof(u16)); in vxlan_mdb_nlmsg_remote_size()
966 nlmsg_size += nla_total_size(sizeof(u32)); in vxlan_mdb_nlmsg_remote_size()
969 nlmsg_size += nla_total_size(sizeof(u32)); in vxlan_mdb_nlmsg_remote_size()
972 nlmsg_size += nla_total_size(sizeof(u32)); in vxlan_mdb_nlmsg_remote_size()
974 return nlmsg_size; in vxlan_mdb_nlmsg_remote_size()
1505 size_t nlmsg_size; in vxlan_mdb_get_reply_alloc() local
1507 nlmsg_size = NLMSG_ALIGN(sizeof(struct br_port_msg)) + in vxlan_mdb_get_reply_alloc()
1514 nlmsg_size += vxlan_mdb_nlmsg_remote_size(vxlan, mdb_entry, in vxlan_mdb_get_reply_alloc()
1517 return nlmsg_new(nlmsg_size, GFP_KERNEL); in vxlan_mdb_get_reply_alloc()