Skip to content

Commit

Permalink
[Documentation] Fix comment typo
Browse files Browse the repository at this point in the history
Fixes typos in onvm_pkt_helper.h

Commit log:
* Fix comment typo
  • Loading branch information
JackKuo-tw authored Nov 10, 2020
1 parent 0bb692d commit dda73e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions onvm/onvm_nflib/onvm_pkt_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -200,19 +200,19 @@ int
onvm_pkt_swap_ether_hdr(struct rte_ether_hdr* ether_hdr);

/**
* Generates a UDP packet with the provided values
* Swap the IP header values
*/
int
onvm_pkt_swap_ip_hdr(struct rte_ipv4_hdr* ip_hdr);

/**
* Generates a TCP packet with the provided values
* Swap the TCP header values
*/
int
onvm_pkt_swap_tcp_hdr(struct rte_tcp_hdr* tcp_hdr);

/**
* Generates a UDP packet with the provided values
* Generates a TCP packet with the provided values
*/
struct rte_mbuf*
onvm_pkt_generate_tcp(struct rte_mempool* pktmbuf_pool, struct rte_tcp_hdr* tcp_hdr, struct rte_ipv4_hdr* iph,
Expand Down

0 comments on commit dda73e4

Please sign in to comment.