X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fstream-provider.h;h=b39dcf01788785d7692a72175a3f65d46eeb3a61;hb=74c4b9c1c24b6579dcaa127268530af9bffa29b4;hp=9e91d61513223dac194734aa6b92c9e57d14fa6e;hpb=1b2c20d8f2c681f1259e216f1a0b1a5cc69382ef;p=openvswitch diff --git a/lib/stream-provider.h b/lib/stream-provider.h index 9e91d615..b39dcf01 100644 --- a/lib/stream-provider.h +++ b/lib/stream-provider.h @@ -190,6 +190,9 @@ struct pstream_class { /* Arranges for the poll loop to wake up when a connection is ready to be * accepted on 'pstream'. */ void (*wait)(struct pstream *pstream); + + /* Set DSCP value of the listening socket. */ + int (*set_dscp)(struct pstream *pstream, uint8_t dscp); }; /* Active and passive stream classes. */