diff options
author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2023-05-23 11:43:04 +0900 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2023-05-23 15:20:15 +0800 |
commit | f0f3ac41d527a2c7bcee26195ae9038f760913f4 (patch) | |
tree | 491fde039ca232b51f4927be592258da9c67dd58 /hw/net | |
parent | 1531fb4d8d2f62fe40b995dbb8ce16676e0af9d3 (diff) | |
download | qemu-f0f3ac41d527a2c7bcee26195ae9038f760913f4.zip qemu-f0f3ac41d527a2c7bcee26195ae9038f760913f4.tar.gz qemu-f0f3ac41d527a2c7bcee26195ae9038f760913f4.tar.bz2 |
hw/net/net_tx_pkt: Remove net_rx_pkt_get_l4_info
This function is not used.
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net')
-rw-r--r-- | hw/net/net_rx_pkt.c | 5 | ||||
-rw-r--r-- | hw/net/net_rx_pkt.h | 9 |
2 files changed, 0 insertions, 14 deletions
diff --git a/hw/net/net_rx_pkt.c b/hw/net/net_rx_pkt.c index 63be6e0..6125a06 100644 --- a/hw/net/net_rx_pkt.c +++ b/hw/net/net_rx_pkt.c @@ -236,11 +236,6 @@ eth_ip4_hdr_info *net_rx_pkt_get_ip4_info(struct NetRxPkt *pkt) return &pkt->ip4hdr_info; } -eth_l4_hdr_info *net_rx_pkt_get_l4_info(struct NetRxPkt *pkt) -{ - return &pkt->l4hdr_info; -} - static inline void _net_rx_rss_add_chunk(uint8_t *rss_input, size_t *bytes_written, void *ptr, size_t size) diff --git a/hw/net/net_rx_pkt.h b/hw/net/net_rx_pkt.h index a06f5c2..ce8dbdb 100644 --- a/hw/net/net_rx_pkt.h +++ b/hw/net/net_rx_pkt.h @@ -119,15 +119,6 @@ eth_ip6_hdr_info *net_rx_pkt_get_ip6_info(struct NetRxPkt *pkt); */ eth_ip4_hdr_info *net_rx_pkt_get_ip4_info(struct NetRxPkt *pkt); -/** - * fetches L4 header analysis results - * - * Return: pointer to analysis results structure which is stored in internal - * packet area. - * - */ -eth_l4_hdr_info *net_rx_pkt_get_l4_info(struct NetRxPkt *pkt); - typedef enum { NetPktRssIpV4, NetPktRssIpV4Tcp, |