diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2021-03-17 14:26:28 +0800 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2021-03-22 17:34:31 +0800 |
commit | 935344bed6769d6bcb74c6d992818929a6ccb35b (patch) | |
tree | 3891a679175c09ce6986f4961e19539d684d825c /net/tap.c | |
parent | af774513f7d646badfdb5b686650254f7f08af6b (diff) |
net: Add a 'do_not_pad" to NetClientState
This adds a flag in NetClientState, so that a net client can tell
its peer that the packets do not need to be padded to the minimum
size of an Ethernet frame (60 bytes) before sending to it.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net/tap.c')
0 files changed, 0 insertions, 0 deletions