Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2006 16:59:41 GMT
From:      Paolo Pisati <piso@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 105064 for review
Message-ID:  <200608251659.k7PGxfZF008044@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=105064

Change 105064 by piso@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 *);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608251659.k7PGxfZF008044>