projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ovs-save: Use timeout option for ovs-vsctl
[openvswitch]
/
lib
/
packets.h
diff --git
a/lib/packets.h
b/lib/packets.h
index e5be1cb99c9cc959ccaf057ef8e7e4e77dd3211f..e550be0ba9bf34bcf698ebeddb28ff8081a63083 100644
(file)
--- a/
lib/packets.h
+++ b/
lib/packets.h
@@
-177,7
+177,9
@@
void eth_addr_bitand(const uint8_t src[ETH_ADDR_LEN],
#define ETH_TYPE_IP 0x0800
#define ETH_TYPE_ARP 0x0806
#define ETH_TYPE_IP 0x0800
#define ETH_TYPE_ARP 0x0806
-#define ETH_TYPE_VLAN 0x8100
+#define ETH_TYPE_VLAN_8021Q 0x8100
+#define ETH_TYPE_VLAN ETH_TYPE_VLAN_8021Q
+#define ETH_TYPE_VLAN_8021AD 0x88a8
#define ETH_TYPE_IPV6 0x86dd
#define ETH_TYPE_LACP 0x8809
#define ETH_TYPE_RARP 0x8035
#define ETH_TYPE_IPV6 0x86dd
#define ETH_TYPE_LACP 0x8809
#define ETH_TYPE_RARP 0x8035
@@
-325,6
+327,10
@@
void ip_format_masked(ovs_be32 ip, ovs_be32 mask, struct ds *);
#endif
/* TOS fields. */
#endif
/* TOS fields. */
+#define IP_ECN_NOT_ECT 0x0
+#define IP_ECN_ECT_1 0x01
+#define IP_ECN_ECT_0 0x02
+#define IP_ECN_CE 0x03
#define IP_ECN_MASK 0x03
#define IP_DSCP_MASK 0xfc
#define IP_ECN_MASK 0x03
#define IP_DSCP_MASK 0xfc