[Method]alloc_and_fill_notify_pkt

Depending on the ethertype, by using rte_pktmbuf_append, the following component will be packed into the packet accordingly.

 

static inline char *rte_pktmbuf_append(struct rte_mbuf *m, uint16_t len)
It takes the memory buffer and the its length. It returns the pointer to tail after the insertion of data.

 

notify_pkt is composed by:

  1. link layer header
  2. ipv4/ipv6 header
  3. udp header
  4. ggu_common header