PERFORCE change 150736 for review
Ryan French
rfrench at FreeBSD.org
Wed Oct 1 01:37:13 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=150736
Change 150736 by rfrench at rfrench_mpls on 2008/10/01 01:36:30
Added socket.h so I can add a AF_MPLS family. Added a route structure type to mpls.h. Will probably just add static routes to the initialisation as I have to start writing up a dissertation paper for this in the next 2 weeks.
Affected files ...
.. //depot/projects/soc2008/rfrench_mpls/netmpls/mpls.h#6 edit
.. //depot/projects/soc2008/rfrench_mpls/sys/socket.h#1 add
Differences ...
==== //depot/projects/soc2008/rfrench_mpls/netmpls/mpls.h#6 (text+ko) ====
@@ -99,6 +99,11 @@
//#endif
};
+struct route_mpls {
+ struct rtentry *ro_rt;
+ struct sockaddr_mpls ro_dst;
+};
+
#define MPLS_OP_POP 1
#define MPLS_OP_PUSH 2
#define MPLS_OP_SWAP 3
More information about the p4-projects
mailing list