ng_gif.c (7e857dd14fe7f42f5b46af4904f84915215d8987) ng_gif.c (eddfbb763ded6b5f6777335142be9a0edab628bb)
1/*
2 * ng_gif.c
3 */
4
5/*-
6 * Copyright 2001 The Aerospace Corporation. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

560 ng_gif_input_p = ng_gif_input;
561 ng_gif_input_orphan_p = ng_gif_input_orphan;
562
563 /* Create nodes for any already-existing gif interfaces */
564 IFNET_RLOCK();
565 VNET_LIST_RLOCK();
566 VNET_FOREACH(vnet_iter) {
567 CURVNET_SET_QUIET(vnet_iter); /* XXX revisit quiet */
1/*
2 * ng_gif.c
3 */
4
5/*-
6 * Copyright 2001 The Aerospace Corporation. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

560 ng_gif_input_p = ng_gif_input;
561 ng_gif_input_orphan_p = ng_gif_input_orphan;
562
563 /* Create nodes for any already-existing gif interfaces */
564 IFNET_RLOCK();
565 VNET_LIST_RLOCK();
566 VNET_FOREACH(vnet_iter) {
567 CURVNET_SET_QUIET(vnet_iter); /* XXX revisit quiet */
568 INIT_VNET_NET(curvnet);
569 TAILQ_FOREACH(ifp, &V_ifnet, if_link) {
570 if (ifp->if_type == IFT_GIF)
571 ng_gif_attach(ifp);
572 }
573 CURVNET_RESTORE();
574 }
575 VNET_LIST_RUNLOCK();
576 IFNET_RUNLOCK();

--- 29 unchanged lines hidden ---
568 TAILQ_FOREACH(ifp, &V_ifnet, if_link) {
569 if (ifp->if_type == IFT_GIF)
570 ng_gif_attach(ifp);
571 }
572 CURVNET_RESTORE();
573 }
574 VNET_LIST_RUNLOCK();
575 IFNET_RUNLOCK();

--- 29 unchanged lines hidden ---