X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fnetdev-provider.h;h=d5a30c809a01daf3f48d93b01c218e4b03b1aec6;hb=73dbf4abd17b6b87fdb5bf22aec7bb3d381dce05;hp=81e6c3917130d1931c225519654b6f705e5bd68b;hpb=52e2fbfbabaa5606b833d4fa0fc9fb62f49b063c;p=openvswitch diff --git a/lib/netdev-provider.h b/lib/netdev-provider.h index 81e6c391..d5a30c80 100644 --- a/lib/netdev-provider.h +++ b/lib/netdev-provider.h @@ -172,6 +172,9 @@ struct netdev_class { * packet, otherwise a negative errno value. Returns -EAGAIN immediately * if no packet is ready to be received. * + * Returns -EMSGSIZE, and discards the packet, if the received packet is + * longer than 'size' bytes. + * * This function can only be expected to return a packet if ->listen() has * been called successfully. *