diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2023-01-06 11:43:13 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-01-23 18:54:44 +0100 |
commit | 67afaab411001d777c4af6b016c7c045ef4d8ed5 (patch) | |
tree | 5d4294fdc9b5b455f9a107e2ecc89a5700274704 /passt.c | |
parent | f5a950115be5aca6d19ea183247bc36088c472c9 (diff) | |
download | passt-67afaab411001d777c4af6b016c7c045ef4d8ed5.tar passt-67afaab411001d777c4af6b016c7c045ef4d8ed5.tar.gz passt-67afaab411001d777c4af6b016c7c045ef4d8ed5.tar.bz2 passt-67afaab411001d777c4af6b016c7c045ef4d8ed5.tar.lz passt-67afaab411001d777c4af6b016c7c045ef4d8ed5.tar.xz passt-67afaab411001d777c4af6b016c7c045ef4d8ed5.tar.zst passt-67afaab411001d777c4af6b016c7c045ef4d8ed5.zip |
tcp, udp: Use named field initializers in iov_init functions
Both the TCP and UDP iov_init functions have some large structure literals
defined in "field order" style. These are pretty hard to read since it's
not obvious what value corresponds to what field. Use named field style
initializers instead to make this clearer.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'passt.c')
0 files changed, 0 insertions, 0 deletions