PERFORCE change 105064 for review

Paolo Pisati piso at FreeBSD.org
Fri Aug 25 16:59:42 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=105064

Change 105064 by piso at piso_newluxor on 2006/08/25 16:59:33

	...and put back my protocol definition.

Affected files ...

.. //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_mod.h#19 edit

Differences ...

==== //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_mod.h#19 (text+ko) ====

@@ -38,6 +38,11 @@
 #define IN                              1 
 #define OUT                             2 
 
+/* Working protocol. */
+#define IP                              1
+#define TCP                             2
+#define UDP                             4
+
 /* 
  * Data passed to protocol handler module, it must be filled
  * right before calling find_handler() to determine which
@@ -92,8 +97,8 @@
 
 void            handler_chain_init(void);
 void            handler_chain_destroy(void);
-int             LibAliasAttachHandlers(struct proto_handler *);
-int             LibAliasDetachHandlers(struct proto_handler *);
+int             attach_handlers(struct proto_handler *);
+int             detach_handlers(struct proto_handler *);
 int             detach_handler(struct proto_handler *);
 int             find_handler(int8_t, int8_t, struct libalias *, 
 			   struct ip *, struct alias_data *);


More information about the p4-projects mailing list