if_nge.c (b2561871107aa838b4fc9c70e55c58721adc2f86) if_nge.c (437e48e9310f288d03ec87721977a0467d809f96)
1/*
2 * Copyright (c) 2001 Wind River Systems
3 * Copyright (c) 1997, 1998, 1999, 2000, 2001
4 * Bill Paul <wpaul@bsdi.com>. 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:

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

1332 m->m_pkthdr.csum_data = 0xffff;
1333 }
1334
1335 /*
1336 * If we received a packet with a vlan tag, pass it
1337 * to vlan_input() instead of ether_input().
1338 */
1339 if (extsts & NGE_RXEXTSTS_VLANPKT) {
1/*
2 * Copyright (c) 2001 Wind River Systems
3 * Copyright (c) 1997, 1998, 1999, 2000, 2001
4 * Bill Paul <wpaul@bsdi.com>. 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:

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

1332 m->m_pkthdr.csum_data = 0xffff;
1333 }
1334
1335 /*
1336 * If we received a packet with a vlan tag, pass it
1337 * to vlan_input() instead of ether_input().
1338 */
1339 if (extsts & NGE_RXEXTSTS_VLANPKT) {
1340 VLAN_INPUT_TAG(ifp, eh, m, extsts & NGE_RXEXTSTS_VTCI);
1340 VLAN_INPUT_TAG(eh, m, extsts & NGE_RXEXTSTS_VTCI);
1341 continue;
1342 }
1343
1344 ether_input(ifp, eh, m);
1345 }
1346
1347 sc->nge_cdata.nge_rx_prod = i;
1348

--- 701 unchanged lines hidden ---
1341 continue;
1342 }
1343
1344 ether_input(ifp, eh, m);
1345 }
1346
1347 sc->nge_cdata.nge_rx_prod = i;
1348

--- 701 unchanged lines hidden ---