|
Lines 96-122
Link Here
|
| 96 |
}; |
96 |
}; |
| 97 |
|
97 |
|
| 98 |
struct iso88025_sockaddr_data { |
|
|
| 99 |
u_char ether_dhost[ISO88025_ADDR_LEN]; |
| 100 |
u_char ether_shost[ISO88025_ADDR_LEN]; |
| 101 |
u_char ac; |
| 102 |
u_char fc; |
| 103 |
}; |
| 104 |
|
| 105 |
/* |
| 106 |
* Structure of a 48-bit iso 802.5 address. |
| 107 |
* ( We could also add the 16 bit addresses as a union) |
| 108 |
*/ |
| 109 |
struct iso88025_addr { |
| 110 |
u_char octet[ISO88025_ADDR_LEN]; |
| 111 |
}; |
| 112 |
|
| 113 |
#define ISO88025_MAX_MTU 18000 |
| 114 |
#define ISO88025_DEFAULT_MTU 1500 |
| 115 |
#define senderr(e) { error = (e); goto bad;} |
| 116 |
|
| 117 |
void iso88025_ifattach __P((struct ifnet *)); |
| 118 |
int iso88025_ioctl __P((struct ifnet *, int , caddr_t )); |
| 119 |
int iso88025_output __P((struct ifnet *, struct mbuf *, struct sockaddr *, struct rtentry *)); |
| 120 |
void iso88025_input __P((struct ifnet *, struct iso88025_header *, struct mbuf *)); |
| 121 |
|
| 122 |
#endif |
98 |
#endif |