ip_divert.c (122828) | ip_divert.c (122875) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1988, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * | 1/* 2 * Copyright (c) 1982, 1986, 1988, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * |
33 * $FreeBSD: head/sys/netinet/ip_divert.c 122828 2003-11-17 03:17:49Z green $ | 33 * $FreeBSD: head/sys/netinet/ip_divert.c 122875 2003-11-18 00:39:07Z rwatson $ |
34 */ 35 36#include "opt_inet.h" 37#include "opt_ipfw.h" 38#include "opt_ipdivert.h" 39#include "opt_ipsec.h" 40#include "opt_mac.h" 41 --- 605 unchanged lines hidden (view full) --- 647SYSCTL_PROC(_net_inet_divert, OID_AUTO, pcblist, CTLFLAG_RD, 0, 0, 648 div_pcblist, "S,xinpcb", "List of active divert sockets"); 649 650struct pr_usrreqs div_usrreqs = { 651 div_abort, pru_accept_notsupp, div_attach, div_bind, 652 pru_connect_notsupp, pru_connect2_notsupp, in_control, div_detach, 653 div_disconnect, pru_listen_notsupp, div_peeraddr, pru_rcvd_notsupp, 654 pru_rcvoob_notsupp, div_send, pru_sense_null, div_shutdown, | 34 */ 35 36#include "opt_inet.h" 37#include "opt_ipfw.h" 38#include "opt_ipdivert.h" 39#include "opt_ipsec.h" 40#include "opt_mac.h" 41 --- 605 unchanged lines hidden (view full) --- 647SYSCTL_PROC(_net_inet_divert, OID_AUTO, pcblist, CTLFLAG_RD, 0, 0, 648 div_pcblist, "S,xinpcb", "List of active divert sockets"); 649 650struct pr_usrreqs div_usrreqs = { 651 div_abort, pru_accept_notsupp, div_attach, div_bind, 652 pru_connect_notsupp, pru_connect2_notsupp, in_control, div_detach, 653 div_disconnect, pru_listen_notsupp, div_peeraddr, pru_rcvd_notsupp, 654 pru_rcvoob_notsupp, div_send, pru_sense_null, div_shutdown, |
655 div_sockaddr, sosend, soreceive, sopoll | 655 div_sockaddr, sosend, soreceive, sopoll, in_pcbsosetlabel |
656}; | 656}; |