X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fbrc_procfs.h;h=05afe409e366d3a683b0bbe9f3276731be22125d;hb=a4a2643672e4d2f68f8246e406749009a3f3211b;hp=93e21cfb02a45e9e5c316f85aebca6c27b17b2fc;hpb=064af42167bf4fc9aaea2702d80ce08074b889c0;p=openvswitch diff --git a/datapath/brc_procfs.h b/datapath/brc_procfs.h index 93e21cfb..05afe409 100644 --- a/datapath/brc_procfs.h +++ b/datapath/brc_procfs.h @@ -1,9 +1,20 @@ +/* + * 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 + * kernel, by Linus Torvalds and others. + */ + #ifndef BRC_PROCFS_H #define BRC_PROCFS_H 1 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);