summaryrefslogtreecommitdiffstats
path: root/sys/net/iso88025.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/iso88025.h')
-rw-r--r--sys/net/iso88025.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/net/iso88025.h b/sys/net/iso88025.h
index e30193e..aad8d54 100644
--- a/sys/net/iso88025.h
+++ b/sys/net/iso88025.h
@@ -109,6 +109,15 @@ struct iso88025_sockaddr_data {
u_char fc;
};
+struct iso88025_sockaddr_dl_data {
+ u_short trld_rcf;
+ u_short *trld_route[RIF_MAX_LEN];
+};
+
+#define SDL_ISO88025(s) ((struct iso88025_sockaddr_dl_data *) \
+ ((s)->sdl_data + min((s)->sdl_nlen + \
+ (s)->sdl_alen + (s)->sdl_slen, 12)))
+
/*
* Structure of a 48-bit iso 802.5 address.
* ( We could also add the 16 bit addresses as a union)
OpenPOWER on IntegriCloud