Lines Matching refs:bpf_ops
442 struct bpf_ops { struct
463 extern struct bpf_ops *bpf_ops; argument
468 bpf_ops->bpf_attach(_ifp, _dlt, _hdrlen, &_ifp->if_bpf); in bpf_attach()
474 bpf_ops->bpf_attach(_ifp, _dlt, _hdrlen, _dp); in bpf_attach2()
484 bpf_ops->bpf_mtap(_ifp->if_bpf, _m, _direction); in bpf_mtap()
493 bpf_ops->bpf_mtap2(_bpf, _data, _dlen, _m, _direction); in bpf_mtap2()
500 bpf_ops->bpf_mtap(_bpf, _m, _direction); in bpf_mtap3()
508 bpf_ops->bpf_mtap_af(_ifp->if_bpf, _af, _m, _direction); in bpf_mtap_af()
514 bpf_ops->bpf_change_type(_ifp, _dlt, _hdrlen); in bpf_change_type()
530 bpf_ops->bpf_detach(_ifp); in bpf_detach()
536 bpf_ops->bpf_mtap_sl_in(_ifp->if_bpf, _hdr, _m); in bpf_mtap_sl_in()
543 bpf_ops->bpf_mtap_sl_out(_ifp->if_bpf, _hdr, _m); in bpf_mtap_sl_out()
550 bpf_ops->bpf_mtap_softint_init(_ifp); in bpf_mtap_softint_init()
558 bpf_ops->bpf_mtap_softint(_ifp, _m); in bpf_mtap_softint()
565 if (bpf_ops->bpf_register_track_event == NULL) in bpf_register_track_event()
567 return bpf_ops->bpf_register_track_event(_dp, _fun); in bpf_register_track_event()
574 if (bpf_ops->bpf_deregister_track_event == NULL) in bpf_deregister_track_event()
576 return bpf_ops->bpf_deregister_track_event(_dp, _fun); in bpf_deregister_track_event()
581 void bpf_ops_handover_enter(struct bpf_ops *);