rtsock.c (260488) | rtsock.c (260508) |
---|---|
1/*- 2 * Copyright (c) 1988, 1991, 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 --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)rtsock.c 8.7 (Berkeley) 10/12/95 | 1/*- 2 * Copyright (c) 1988, 1991, 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 --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)rtsock.c 8.7 (Berkeley) 10/12/95 |
30 * $FreeBSD: head/sys/net/rtsock.c 260488 2014-01-09 18:13:25Z melifaro $ | 30 * $FreeBSD: head/sys/net/rtsock.c 260508 2014-01-10 12:13:55Z melifaro $ |
31 */ 32#include "opt_compat.h" 33#include "opt_mpath.h" 34#include "opt_inet.h" 35#include "opt_inet6.h" 36 37#include <sys/param.h> 38#include <sys/jail.h> --- 1371 unchanged lines hidden (view full) --- 1410 m->m_flags |= RTS_FILTER_FIB; 1411 } 1412 1413 rt_dispatch(m, sa ? sa->sa_family : AF_UNSPEC); 1414 1415 return (0); 1416} 1417 | 31 */ 32#include "opt_compat.h" 33#include "opt_mpath.h" 34#include "opt_inet.h" 35#include "opt_inet6.h" 36 37#include <sys/param.h> 38#include <sys/jail.h> --- 1371 unchanged lines hidden (view full) --- 1410 m->m_flags |= RTS_FILTER_FIB; 1411 } 1412 1413 rt_dispatch(m, sa ? sa->sa_family : AF_UNSPEC); 1414 1415 return (0); 1416} 1417 |
1418 | |
1419/* 1420 * This is the analogue to the rt_newaddrmsg which performs the same 1421 * function but for multicast group memberhips. This is easier since 1422 * there is no route state to worry about. 1423 */ 1424void 1425rt_newmaddrmsg(int cmd, struct ifmultiaddr *ifma) 1426{ --- 600 unchanged lines hidden --- | 1418/* 1419 * This is the analogue to the rt_newaddrmsg which performs the same 1420 * function but for multicast group memberhips. This is easier since 1421 * there is no route state to worry about. 1422 */ 1423void 1424rt_newmaddrmsg(int cmd, struct ifmultiaddr *ifma) 1425{ --- 600 unchanged lines hidden --- |