diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2015-08-03 13:15:56 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2015-09-02 13:24:13 +0100 |
commit | 1bf11332c4770e2750247733c713a4e771047282 (patch) | |
tree | 79653d611813539a6081c7276b7b6e6979d4c2ed /hw/ppc | |
parent | 5d61721a621ef28d2f43fb5008afd38376be552b (diff) | |
download | qemu-1bf11332c4770e2750247733c713a4e771047282.zip qemu-1bf11332c4770e2750247733c713a4e771047282.tar.gz qemu-1bf11332c4770e2750247733c713a4e771047282.tar.bz2 |
rtl8139: use net/eth.h macros instead of custom macros
Eliminate the following "custom" macros since they are just duplicates
of net/eth.h macros under a different name:
ETHER_ADDR_LEN -> ETH_ALEN
ETH_P_8021Q -> ETH_P_VLAN
IP_HEADER_LENGTH -> IP_HDR_GET_LEN
TCP_FLAG_FIN -> TH_FIN
TCP_FLAG_PUSH -> TH_PUSH
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
Message-id: 1438604157-29664-3-git-send-email-stefanha@redhat.com
Diffstat (limited to 'hw/ppc')
0 files changed, 0 insertions, 0 deletions