eBPF for Windows
Macros | Functions
bpf_endian.h File Reference
#include <stdint.h>

Go to the source code of this file.

Macros

#define bpf_htons(x)   bpf_ntohs(x)
 
#define ntohs   bpf_ntohs
 
#define htons   bpf_htons
 
#define bpf_htonl(x)   bpf_ntohl(x)
 
#define ntohl   bpf_ntohl
 
#define htonl   bpf_htonl
 

Functions

 __attribute__ ((always_inline)) uint16_t bpf_ntohs(uint16_t us)
 

Macro Definition Documentation

◆ bpf_htonl

#define bpf_htonl (   x)    bpf_ntohl(x)

◆ bpf_htons

#define bpf_htons (   x)    bpf_ntohs(x)

◆ htonl

#define htonl   bpf_htonl

◆ htons

#define htons   bpf_htons

◆ ntohl

#define ntohl   bpf_ntohl

◆ ntohs

#define ntohs   bpf_ntohs

Function Documentation

◆ __attribute__()

__attribute__ ( (always_inline)  )
inline