in.c (196481) | in.c (196535) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * Copyright (C) 2001 WIDE Project. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 17 unchanged lines hidden (view full) --- 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * 30 * @(#)in.c 8.4 (Berkeley) 1/9/95 31 */ 32 33#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1982, 1986, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * Copyright (C) 2001 WIDE Project. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 17 unchanged lines hidden (view full) --- 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * 30 * @(#)in.c 8.4 (Berkeley) 1/9/95 31 */ 32 33#include <sys/cdefs.h> |
34__FBSDID("$FreeBSD: head/sys/netinet/in.c 196481 2009-08-23 20:40:19Z rwatson $"); | 34__FBSDID("$FreeBSD: head/sys/netinet/in.c 196535 2009-08-25 09:52:38Z rwatson $"); |
35 36#include "opt_carp.h" 37 38#include <sys/param.h> 39#include <sys/systm.h> 40#include <sys/sockio.h> 41#include <sys/malloc.h> 42#include <sys/priv.h> --- 1359 unchanged lines hidden (view full) --- 1402 /* XXX stack use */ 1403 struct { 1404 struct rt_msghdr rtm; 1405 struct sockaddr_inarp sin; 1406 struct sockaddr_dl sdl; 1407 } arpc; 1408 int error, i; 1409 | 35 36#include "opt_carp.h" 37 38#include <sys/param.h> 39#include <sys/systm.h> 40#include <sys/sockio.h> 41#include <sys/malloc.h> 42#include <sys/priv.h> --- 1359 unchanged lines hidden (view full) --- 1402 /* XXX stack use */ 1403 struct { 1404 struct rt_msghdr rtm; 1405 struct sockaddr_inarp sin; 1406 struct sockaddr_dl sdl; 1407 } arpc; 1408 int error, i; 1409 |
1410 IFNET_RLOCK_ASSERT(); | 1410 LLTABLE_LOCK_ASSERT(); |
1411 1412 error = 0; 1413 for (i = 0; i < LLTBL_HASHTBL_SIZE; i++) { 1414 LIST_FOREACH(lle, &llt->lle_head[i], lle_next) { 1415 struct sockaddr_dl *sdl; 1416 1417 /* skip deleted entries */ 1418 if ((lle->la_flags & (LLE_DELETED|LLE_VALID)) != LLE_VALID) --- 84 unchanged lines hidden --- | 1411 1412 error = 0; 1413 for (i = 0; i < LLTBL_HASHTBL_SIZE; i++) { 1414 LIST_FOREACH(lle, &llt->lle_head[i], lle_next) { 1415 struct sockaddr_dl *sdl; 1416 1417 /* skip deleted entries */ 1418 if ((lle->la_flags & (LLE_DELETED|LLE_VALID)) != LLE_VALID) --- 84 unchanged lines hidden --- |