if_ti.c (53de2fb09f4c9e4a87e2a7564ef14f7e0d7b6203) | if_ti.c (437e48e9310f288d03ec87721977a0467d809f96) |
---|---|
1/* 2 * Copyright (c) 1997, 1998, 1999 3 * Bill Paul <wpaul@ctr.columbia.edu>. 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 --- 1794 unchanged lines hidden (view full) --- 1803 m->m_pkthdr.csum_data = cur_rx->ti_tcp_udp_cksum; 1804 } 1805 1806 /* 1807 * If we received a packet with a vlan tag, pass it 1808 * to vlan_input() instead of ether_input(). 1809 */ 1810 if (have_tag) { | 1/* 2 * Copyright (c) 1997, 1998, 1999 3 * Bill Paul <wpaul@ctr.columbia.edu>. 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 --- 1794 unchanged lines hidden (view full) --- 1803 m->m_pkthdr.csum_data = cur_rx->ti_tcp_udp_cksum; 1804 } 1805 1806 /* 1807 * If we received a packet with a vlan tag, pass it 1808 * to vlan_input() instead of ether_input(). 1809 */ 1810 if (have_tag) { |
1811 VLAN_INPUT_TAG(ifp, eh, m, vlan_tag); | 1811 VLAN_INPUT_TAG(eh, m, vlan_tag); |
1812 have_tag = vlan_tag = 0; 1813 continue; 1814 } 1815 ether_input(ifp, eh, m); 1816 } 1817 1818 /* Only necessary on the Tigon 1. */ 1819 if (sc->ti_hwrev == TI_HWREV_TIGON) --- 681 unchanged lines hidden --- | 1812 have_tag = vlan_tag = 0; 1813 continue; 1814 } 1815 ether_input(ifp, eh, m); 1816 } 1817 1818 /* Only necessary on the Tigon 1. */ 1819 if (sc->ti_hwrev == TI_HWREV_TIGON) --- 681 unchanged lines hidden --- |