in6.c (77dfcdc44559d4bca03d156d87c2e214c6172c04) in6.c (dc56e98f0d95e809a1044d38f86dd9e734857fe0)
1/*-
2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
3 * 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

--- 2481 unchanged lines hidden (view full) ---

2490 */
2491#ifdef __LP64__
2492 uint32_t pad;
2493#endif
2494 struct sockaddr_dl sdl;
2495 } ndpc;
2496 int i, error;
2497
1/*-
2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
3 * 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

--- 2481 unchanged lines hidden (view full) ---

2490 */
2491#ifdef __LP64__
2492 uint32_t pad;
2493#endif
2494 struct sockaddr_dl sdl;
2495 } ndpc;
2496 int i, error;
2497
2498 IFNET_RLOCK_ASSERT();
2498 LLTABLE_LOCK_ASSERT();
2499
2500 error = 0;
2501 for (i = 0; i < LLTBL_HASHTBL_SIZE; i++) {
2502 LIST_FOREACH(lle, &llt->lle_head[i], lle_next) {
2503 struct sockaddr_dl *sdl;
2504
2505 /* skip deleted or invalid entries */
2506 if ((lle->la_flags & (LLE_DELETED|LLE_VALID)) != LLE_VALID)

--- 152 unchanged lines hidden ---
2499
2500 error = 0;
2501 for (i = 0; i < LLTBL_HASHTBL_SIZE; i++) {
2502 LIST_FOREACH(lle, &llt->lle_head[i], lle_next) {
2503 struct sockaddr_dl *sdl;
2504
2505 /* skip deleted or invalid entries */
2506 if ((lle->la_flags & (LLE_DELETED|LLE_VALID)) != LLE_VALID)

--- 152 unchanged lines hidden ---