diff options
author | Ben Pfaff <blp@nicira.com> | 2011-03-29 09:27:47 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2011-04-01 15:52:19 -0700 |
commit | 7c66b273a2addd3f6c60b6c930464d6be74df71e (patch) | |
tree | d73c199967fa5bf16a0aace2babf5bd26b557818 /lib/packets.h | |
parent | 2c5f293cc88e5b003b7c2d7c6f2e941789af8fd1 (diff) |
packets: New function eth_set_vlan_tci(), from dpif-netdev.
This will soon be used in the upcoming bond library.
Diffstat (limited to 'lib/packets.h')
-rw-r--r-- | lib/packets.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/packets.h b/lib/packets.h index 42d225c2..251fc1cb 100644 --- a/lib/packets.h +++ b/lib/packets.h @@ -131,6 +131,8 @@ void compose_benign_packet(struct ofpbuf *, const char *tag, uint16_t snap_type, const uint8_t eth_src[ETH_ADDR_LEN]); +void eth_set_vlan_tci(struct ofpbuf *, ovs_be16 tci); + /* Example: * * uint8_t mac[ETH_ADDR_LEN]; |