Struct swbus_sub

Struct Documentation

struct swbus_sub

SWB subscription (maps a PID to an RXQ).

Every time a task/thread subscribes to a packet ID, they get an subscription entry, which is inserted into the sorted subscriber array for the swb instance.

Public Members

uint32_t pid

ID of subscribed packet.

struct pcqueue *subscriber

The pcqueue (RXQ) subscriber.