Changeset View
Changeset View
Standalone View
Standalone View
sys/net/ifdi_if.m
Show First 20 Lines • Show All 127 Lines • ▼ Show 20 Lines | CODE { | ||||
} | } | ||||
static int | static int | ||||
null_priv_ioctl(if_ctx_t _ctx __unused, u_long command, caddr_t *data __unused) | null_priv_ioctl(if_ctx_t _ctx __unused, u_long command, caddr_t *data __unused) | ||||
{ | { | ||||
return (ENOTSUP); | return (ENOTSUP); | ||||
} | } | ||||
static int | |||||
null_vfstat_ioctl(if_ctx_t _ctx __unused, struct ifvfstatus *_ifvfs __unused) | |||||
{ | |||||
return (ENOTSUP); | |||||
} | |||||
static void | static void | ||||
null_media_status(if_ctx_t ctx __unused, struct ifmediareq *ifmr) | null_media_status(if_ctx_t ctx __unused, struct ifmediareq *ifmr) | ||||
{ | { | ||||
ifmr->ifm_status = IFM_AVALID | IFM_ACTIVE; | ifmr->ifm_status = IFM_AVALID | IFM_ACTIVE; | ||||
ifmr->ifm_active = IFM_ETHER | IFM_25G_ACC | IFM_FDX; | ifmr->ifm_active = IFM_ETHER | IFM_25G_ACC | IFM_FDX; | ||||
} | } | ||||
static int | static int | ||||
▲ Show 20 Lines • Show All 303 Lines • ▼ Show 20 Lines | METHOD void vlan_unregister { | ||||
if_ctx_t _ctx; | if_ctx_t _ctx; | ||||
uint16_t _vtag; | uint16_t _vtag; | ||||
} DEFAULT null_vlan_register_op; | } DEFAULT null_vlan_register_op; | ||||
METHOD int sysctl_int_delay { | METHOD int sysctl_int_delay { | ||||
if_ctx_t _sctx; | if_ctx_t _sctx; | ||||
if_int_delay_info_t _iidi; | if_int_delay_info_t _iidi; | ||||
} DEFAULT null_sysctl_int_delay; | } DEFAULT null_sysctl_int_delay; | ||||
METHOD int vfstat_ioctl { | |||||
if_ctx_t _ctx; | |||||
struct ifvfstatus *_ifvfs; | |||||
} DEFAULT null_vfstat_ioctl; | |||||
METHOD void debug { | METHOD void debug { | ||||
if_ctx_t _ctx; | if_ctx_t _ctx; | ||||
} DEFAULT null_void_op; | } DEFAULT null_void_op; |