if_atm.h (112193) | if_atm.h (114201) |
---|---|
1/* $NetBSD: if_atm.h,v 1.7 1996/11/09 23:02:27 chuck Exp $ */ | 1/* $NetBSD: if_atm.h,v 1.7 1996/11/09 23:02:27 chuck Exp $ */ |
2/* $FreeBSD: head/sys/net/if_atm.h 112193 2003-03-13 12:44:06Z harti $ */ | 2/* $FreeBSD: head/sys/net/if_atm.h 114201 2003-04-29 08:07:44Z harti $ */ |
3 4/* 5 * 6 * Copyright (c) 1996 Charles D. Cranor and Washington University. 7 * All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions --- 83 unchanged lines hidden (view full) --- 94#define ATM_LLC_TYPE(X) (((X)->type[0] << 8) | ((X)->type[1])) 95#define ATM_LLC_SETTYPE(X,V) { \ 96 (X)->type[0] = ((V) >> 8) & 0xff; \ 97 (X)->type[1] = ((V) & 0xff); \ 98} 99 100#ifdef _KERNEL 101void atm_ifattach(struct ifnet *); | 3 4/* 5 * 6 * Copyright (c) 1996 Charles D. Cranor and Washington University. 7 * All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions --- 83 unchanged lines hidden (view full) --- 94#define ATM_LLC_TYPE(X) (((X)->type[0] << 8) | ((X)->type[1])) 95#define ATM_LLC_SETTYPE(X,V) { \ 96 (X)->type[0] = ((V) >> 8) & 0xff; \ 97 (X)->type[1] = ((V) & 0xff); \ 98} 99 100#ifdef _KERNEL 101void atm_ifattach(struct ifnet *); |
102void atm_ifdetach(struct ifnet *); |
|
102void atm_input(struct ifnet *, struct atm_pseudohdr *, 103 struct mbuf *, void *); 104int atm_output(struct ifnet *, struct mbuf *, struct sockaddr *, 105 struct rtentry *); 106#endif 107 | 103void atm_input(struct ifnet *, struct atm_pseudohdr *, 104 struct mbuf *, void *); 105int atm_output(struct ifnet *, struct mbuf *, struct sockaddr *, 106 struct rtentry *); 107#endif 108 |