Home
last modified time | relevance | path

Searched refs:SET_BPFFILTER (Results 1 – 2 of 2) sorted by relevance

/mOS-networking-stack/core/src/include/bpf/
H A Dsfbpf.h83 #define SET_BPFFILTER(x, y) sfbpf_compile(ETH_FRAME_LEN, DLT_EN10MB, x, y, 1, 0) macro
/mOS-networking-stack/core/src/
H A Dmos_api.c126 if (SET_BPFFILTER(&sock->monitor_listener->raw_pkt_fcode, in mtcp_bind_monitor_filter()
140 if (SET_BPFFILTER(&sock->monitor_listener->stream_syn_fcode, in mtcp_bind_monitor_filter()
152 if (SET_BPFFILTER(&sock->monitor_listener->stream_orphan_fcode, in mtcp_bind_monitor_filter()