STRUCT EFX_PTP_RXFILTER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct efx_ptp_rxfilter(9) πŸ’–

okay so welcome to the Kernel API Manual, bestie. this page is serving struct efx_ptp_rxfilter(9) β€” yes, the PTP packet filter struct β€” and the vibes are immaculate. πŸ’…βœ¨

πŸ’– NAME πŸ’–

struct efx_ptp_rxfilter β€” Filter for PTP packets. that’s the whole name, and honestly it ate. πŸŽ€

✨ SYNOPSIS ✨

okay so the struct is literally this, no cap β€” keep the fields exactly as they are:

struct efx_ptp_rxfilter {
    struct list_head list;
    __be16 ether_type;
    __be16 loc_port;
    __be32 loc_host[4];
    unsigned long expiry;
    int handle;
};

πŸŽ€ Members πŸŽ€

  • list β€” Node of the list where the filter is added. literally the link in the chain, bestie. πŸ”—
  • ether_type β€” Network protocol of the filter (ETHER_P_IP / ETHER_P_IPV6). pick your protocol, periodt. 🌐
  • loc_port β€” UDP port of the filter (PTP_EVENT_PORT / PTP_GENERAL_PORT). the port is giving very specific. πŸšͺ
  • loc_host β€” IPv4/v6 address of the filter. address check, slay. πŸ“
  • expiry β€” time when the filter expires, in jiffies. not wall-clock, jiffies β€” important, iykyk. ⏳
  • handle β€” Handle ID for the MCDI filters table. that’s the ID, no cap. πŸͺͺ

🌈 SEE ALSO 🌈

bestie, go peek at the Kernel file ./drivers/net/ethernet/sfc/ptp.c plus these very iconic structs: struct efx_ptp_match(9), struct efx_ptp_event_rx(9), struct efx_ptp_timeset(9), and struct efx_ptp_data(9). iykyk πŸ¦‹πŸ’œ


source/version/date check: ./drivers/net/ethernet/sfc Β· October 2026 Β· page struct efx_ptp_rxfilter(9). byeee, love u, stay slay πŸ’…πŸ«Ά

πŸ“¦ where this page comes from