ip_divert.c (29327) | ip_divert.c (29366) |
---|---|
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 * $Id: ip_divert.c,v 1.13 1997/08/02 14:32:50 bde Exp $ | 33 * $Id: ip_divert.c,v 1.14 1997/09/13 15:40:55 peter Exp $ |
34 */ 35 36#include <sys/param.h> 37#include <sys/malloc.h> 38#include <sys/mbuf.h> 39#include <sys/socket.h> 40#include <sys/protosw.h> 41#include <sys/socketvar.h> --- 311 unchanged lines hidden (view full) --- 353 return div_output(so, m, nam, control); 354} 355 356struct pr_usrreqs div_usrreqs = { 357 div_abort, pru_accept_notsupp, div_attach, div_bind, 358 pru_connect_notsupp, pru_connect2_notsupp, in_control, div_detach, 359 div_disconnect, pru_listen_notsupp, in_setpeeraddr, pru_rcvd_notsupp, 360 pru_rcvoob_notsupp, div_send, pru_sense_null, div_shutdown, | 34 */ 35 36#include <sys/param.h> 37#include <sys/malloc.h> 38#include <sys/mbuf.h> 39#include <sys/socket.h> 40#include <sys/protosw.h> 41#include <sys/socketvar.h> --- 311 unchanged lines hidden (view full) --- 353 return div_output(so, m, nam, control); 354} 355 356struct pr_usrreqs div_usrreqs = { 357 div_abort, pru_accept_notsupp, div_attach, div_bind, 358 pru_connect_notsupp, pru_connect2_notsupp, in_control, div_detach, 359 div_disconnect, pru_listen_notsupp, in_setpeeraddr, pru_rcvd_notsupp, 360 pru_rcvoob_notsupp, div_send, pru_sense_null, div_shutdown, |
361 in_setsockaddr, sosend, soreceive, soselect | 361 in_setsockaddr, sosend, soreceive, sopoll |
362}; | 362}; |