X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fbrc_procfs.h;h=05afe409e366d3a683b0bbe9f3276731be22125d;hb=c18ea70d06e980dc768166881c5aeac0b3491561;hp=368442e299b60c52fdd67a09c0ba6916761e8e05;hpb=a14bc59fb8f27db193d74662dc9c5cb8237177ef;p=openvswitch diff --git a/datapath/brc_procfs.h b/datapath/brc_procfs.h index 368442e2..05afe409 100644 --- a/datapath/brc_procfs.h +++ b/datapath/brc_procfs.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009 Nicira Networks. + * Copyright (c) 2009, 2011 Nicira Networks. * Distributed under the terms of the GNU GPL version 2. * * Significant portions of this file may be copied from parts of the Linux @@ -12,6 +12,9 @@ struct sk_buff; struct genl_info; +/* Maximum length of BRC_GENL_A_PROC_DIR and BRC_GENL_A_PROC_NAME strings. */ +#define BRC_NAME_LEN_MAX 32 + void brc_procfs_exit(void); int brc_genl_set_proc(struct sk_buff *skb, struct genl_info *info);