ip_fw_log.c (248552) | ip_fw_log.c (249925) |
---|---|
1/*- 2 * Copyright (c) 2002-2009 Luigi Rizzo, Universita` di Pisa 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 10 unchanged lines hidden (view full) --- 19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23 * SUCH DAMAGE. 24 */ 25 26#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2002-2009 Luigi Rizzo, Universita` di Pisa 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 10 unchanged lines hidden (view full) --- 19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23 * SUCH DAMAGE. 24 */ 25 26#include <sys/cdefs.h> |
27__FBSDID("$FreeBSD: head/sys/netpfil/ipfw/ip_fw_log.c 248552 2013-03-20 10:35:33Z melifaro $"); | 27__FBSDID("$FreeBSD: head/sys/netpfil/ipfw/ip_fw_log.c 249925 2013-04-26 12:50:32Z glebius $"); |
28 29/* 30 * Logging support for ipfw 31 */ 32 33#include "opt_ipfw.h" 34#include "opt_inet.h" 35#ifndef INET --- 72 unchanged lines hidden (view full) --- 108static int 109log_dummy(struct ifnet *ifp, u_long cmd, caddr_t addr) 110{ 111 return EINVAL; 112} 113 114static int 115ipfw_log_output(struct ifnet *ifp, struct mbuf *m, | 28 29/* 30 * Logging support for ipfw 31 */ 32 33#include "opt_ipfw.h" 34#include "opt_inet.h" 35#ifndef INET --- 72 unchanged lines hidden (view full) --- 108static int 109log_dummy(struct ifnet *ifp, u_long cmd, caddr_t addr) 110{ 111 return EINVAL; 112} 113 114static int 115ipfw_log_output(struct ifnet *ifp, struct mbuf *m, |
116 struct sockaddr *dst, struct route *ro) | 116 const struct sockaddr *dst, struct route *ro) |
117{ 118 if (m != NULL) 119 FREE_PKT(m); 120 return EINVAL; 121} 122 123static void 124ipfw_log_start(struct ifnet* ifp) --- 427 unchanged lines hidden --- | 117{ 118 if (m != NULL) 119 FREE_PKT(m); 120 return EINVAL; 121} 122 123static void 124ipfw_log_start(struct ifnet* ifp) --- 427 unchanged lines hidden --- |