1 /* $OpenBSD: dev_net.h,v 1.3 2023/01/10 17:10:57 miod Exp $ */ 2 /* $NetBSD: dev_net.h,v 1.6 2009/01/17 14:00:36 tsutsui Exp $ */ 3 4 int net_open(struct open_file *, ...); 5 int net_close(struct open_file *); 6 int net_ioctl(struct open_file *, u_long, void *); 7 int net_strategy(void *, int , daddr_t , size_t, void *, size_t *); 8 9 #ifdef SUPPORT_BOOTP 10 extern int try_bootp; 11 #endif 12