mirror of https://github.com/xemu-project/xemu.git
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>
This commit is contained in:
parent
1531fb4d8d
commit
f0f3ac41d5
|
@ -236,11 +236,6 @@ eth_ip4_hdr_info *net_rx_pkt_get_ip4_info(struct NetRxPkt *pkt)
|
||||||
return &pkt->ip4hdr_info;
|
return &pkt->ip4hdr_info;
|
||||||
}
|
}
|
||||||
|
|
||||||
eth_l4_hdr_info *net_rx_pkt_get_l4_info(struct NetRxPkt *pkt)
|
|
||||||
{
|
|
||||||
return &pkt->l4hdr_info;
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
_net_rx_rss_add_chunk(uint8_t *rss_input, size_t *bytes_written,
|
_net_rx_rss_add_chunk(uint8_t *rss_input, size_t *bytes_written,
|
||||||
void *ptr, size_t size)
|
void *ptr, size_t size)
|
||||||
|
|
|
@ -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);
|
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 {
|
typedef enum {
|
||||||
NetPktRssIpV4,
|
NetPktRssIpV4,
|
||||||
NetPktRssIpV4Tcp,
|
NetPktRssIpV4Tcp,
|
||||||
|
|
Loading…
Reference in New Issue