X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fpackets.h;h=251fc1cb3c13ade13129f6ef36bcc895664032bd;hb=b1b5cd8e2162ad859d2453815c9c056aa97ad44b;hp=42d225c2378c5807be515ca02d26bc5baad49db6;hpb=5de1bb5cc9eb5b52c095a02d8afe68bc34ae0523;p=openvswitch 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];