CNDP  22.08.0
cnet_rarp.h File Reference
#include <stdint.h>
#include <net/cne_ether.h>
#include <net/ethernet.h>
#include <net/cne_arp.h>
#include <mempool.h>
#include <pktmbuf.h>

Go to the source code of this file.

Functions

static pktmbuf_tcne_net_make_rarp_packet (pktmbuf_info_t *pi, const struct ether_addr *mac)
 

Detailed Description

RARP-related defines

Definition in file cnet_rarp.h.

Function Documentation

◆ cne_net_make_rarp_packet()

static pktmbuf_t* cne_net_make_rarp_packet ( pktmbuf_info_t pi,
const struct ether_addr mac 
)
inlinestatic

Make a RARP packet based on MAC addr.

Parameters
piPointer to the pktmbuf information structure.
macPointer to the MAC addr
Returns
  • RARP packet pointer on success, or NULL on error

Definition at line 41 of file cnet_rarp.h.