if_iso88025subr.c (102291) | if_iso88025subr.c (105598) |
---|---|
1/* 2 * Copyright (c) 1998, Larry Lile 3 * All rights reserved. 4 * 5 * For latest sources and information on this driver, please 6 * go to http://anarchy.stdio.com. 7 * 8 * Questions, comments or suggestions should be directed to --- 16 unchanged lines hidden (view full) --- 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * | 1/* 2 * Copyright (c) 1998, Larry Lile 3 * All rights reserved. 4 * 5 * For latest sources and information on this driver, please 6 * go to http://anarchy.stdio.com. 7 * 8 * Questions, comments or suggestions should be directed to --- 16 unchanged lines hidden (view full) --- 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * |
33 * $FreeBSD: head/sys/net/if_iso88025subr.c 102291 2002-08-22 21:24:01Z archie $ | 33 * $FreeBSD: head/sys/net/if_iso88025subr.c 105598 2002-10-21 02:51:56Z brooks $ |
34 * 35 */ 36 37/* 38 * 39 * General ISO 802.5 (Token Ring) support routines 40 * 41 */ --- 288 unchanged lines hidden (view full) --- 330 (void)memcpy((caddr_t)edst, (caddr_t)sd->ether_dhost, 331 sizeof(sd->ether_dhost)); 332 (void)memcpy((caddr_t)gen_th.iso88025_shost, 333 (caddr_t)sd->ether_shost, sizeof(sd->ether_shost)); 334 rif_len = 0; 335 break; 336 } 337 default: | 34 * 35 */ 36 37/* 38 * 39 * General ISO 802.5 (Token Ring) support routines 40 * 41 */ --- 288 unchanged lines hidden (view full) --- 330 (void)memcpy((caddr_t)edst, (caddr_t)sd->ether_dhost, 331 sizeof(sd->ether_dhost)); 332 (void)memcpy((caddr_t)gen_th.iso88025_shost, 333 (caddr_t)sd->ether_shost, sizeof(sd->ether_shost)); 334 rif_len = 0; 335 break; 336 } 337 default: |
338 printf("%s%d: can't handle af%d\n", ifp->if_name, ifp->if_unit, 339 dst->sa_family); | 338 if_printf(ifp, "can't handle af%d\n", dst->sa_family); |
340 senderr(EAFNOSUPPORT); 341 break; 342 } 343 344 if (snap_type != 0) { 345 struct llc *l; 346 M_PREPEND(m, sizeof (struct llc), M_DONTWAIT); 347 if (m == 0) --- 224 unchanged lines hidden --- | 339 senderr(EAFNOSUPPORT); 340 break; 341 } 342 343 if (snap_type != 0) { 344 struct llc *l; 345 M_PREPEND(m, sizeof (struct llc), M_DONTWAIT); 346 if (m == 0) --- 224 unchanged lines hidden --- |