X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fbrc_procfs.h;h=05afe409e366d3a683b0bbe9f3276731be22125d;hb=f7cd0081f525dd1d45fafc68397b5393196e978d;hp=368442e299b60c52fdd67a09c0ba6916761e8e05;hpb=34e63086edddcae06d7c1a4fa84fec0861e50758;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);