From owner-p4-projects@FreeBSD.ORG Fri Aug 25 16:59:42 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 3EF4B16A4E0; Fri, 25 Aug 2006 16:59:42 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0292C16A4DA for ; Fri, 25 Aug 2006 16:59:42 +0000 (UTC) (envelope-from piso@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C593D43D45 for ; Fri, 25 Aug 2006 16:59:41 +0000 (GMT) (envelope-from piso@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k7PGxfR2008047 for ; Fri, 25 Aug 2006 16:59:41 GMT (envelope-from piso@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k7PGxfZF008044 for perforce@freebsd.org; Fri, 25 Aug 2006 16:59:41 GMT (envelope-from piso@freebsd.org) Date: Fri, 25 Aug 2006 16:59:41 GMT Message-Id: <200608251659.k7PGxfZF008044@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to piso@freebsd.org using -f From: Paolo Pisati To: Perforce Change Reviews Cc: Subject: PERFORCE change 105064 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Aug 2006 16:59:42 -0000 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 *);