sorry, my code has a bug with regarding to byte order in
convert_ip_to_string().
On Wed, Nov 18, 2015 at 5:47 PM, Moon-Sang Lee wrote:
>
> Once receiving a packet by rte_eth_rx_burst(), I printed IP header as
> below.
> It seems that length(uint16_t) is in big endian, but ip addresses are in
>
Once receiving a packet by rte_eth_rx_burst(), I printed IP header as
below.
It seems that length(uint16_t) is in big endian, but ip addresses are in
little endian.
I'm confused and appreciate any comment.
### print_ipv4_header src = 11.0.168.192, dst = 2.173.248.143, length = 60,
ttl = 64, proto
2 matches
Mail list logo