Searched refs:ifnet (Results 1 - 25 of 108) sorted by relevance

12345

/haiku/src/libs/compat/freebsd_network/compat/net/
H A Dbpf.h21 #define bpfattach(ifnet, dlt, hdrlen) do { } while (0);
22 #define bpfattach2(ifnet, dlt, hdrlen, bpf_if) do { } while (0)
23 #define bpfdetach(ifnet) do { } while (0);
H A Dif_var.h109 TAILQ_HEAD(ifnethead, ifnet); /* we use TAILQs so that the order of */
114 typedef struct ifnet * if_t;
189 struct ifnet { struct
192 TAILQ_ENTRY(ifnet) if_link; /* all struct ifnets are chained */
225 (struct ifnet *, struct mbuf *, struct sockaddr *,
228 (struct ifnet *, struct mbuf *);
230 (struct ifnet *);
232 (struct ifnet *, u_long, caddr_t);
234 (struct ifnet *);
238 (struct ifnet *, struc
[all...]
H A Dethernet.h370 struct ifnet;
378 extern void ether_demux(struct ifnet *, struct mbuf *);
379 extern void ether_ifattach(struct ifnet *, const u_int8_t *);
380 extern void ether_ifdetach(struct ifnet *);
381 extern int ether_ioctl(struct ifnet *, u_long, caddr_t);
382 extern int ether_output(struct ifnet *,
384 extern int ether_output_frame(struct ifnet *, struct mbuf *);
H A Dif_vlan_var.h134 extern void (*vlan_trunk_cap_p)(struct ifnet *);
/haiku/src/libs/compat/freebsd_network/
H A Dif.c34 static void if_input_default(struct ifnet *, struct mbuf *);
35 static int if_requestencap_default(struct ifnet *, struct if_encap_req *);
43 insert_into_device_name_list(struct ifnet * ifp)
58 remove_from_device_name_list(struct ifnet * ifp)
83 struct ifnet *
86 struct ifnet *ifp;
96 struct ifnet *
99 struct ifnet *ifp;
108 ifnet_setbyindex_locked(u_short idx, struct ifnet *ifp)
115 ifnet_setbyindex(u_short idx, struct ifnet *if
[all...]
H A Dshared.h18 struct ifnet;
67 extern struct ifnet *gDevices[];
H A Ddevice_hooks.c28 struct ifnet *ifp;
84 struct ifnet *ifp = cookie;
103 struct ifnet *ifp = cookie;
118 struct ifnet *ifp = cookie;
169 struct ifnet *ifp = cookie;
205 struct ifnet *ifp = cookie;
/haiku/src/add-ons/kernel/drivers/network/wlan/aironetwifi/
H A Dglue.c24 void (*ng_ether_attach_p)(struct ifnet *ifp) = NULL;
25 void (*ng_ether_detach_p)(struct ifnet *ifp) = NULL;
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_haiku.cpp88 struct ieee80211vap *vap __unused, struct ifnet *ifp __unused)
95 struct ieee80211vap *vap __unused, struct ifnet *ifp __unused)
102 struct ieee80211vap *vap __unused, struct ifnet *ifp __unused)
109 struct ieee80211vap *vap __unused, struct ifnet *ifp __unused)
115 static struct ifnet*
183 struct ifnet* ifp = get_ifnet(device, i);
205 struct ifnet* ifp = (struct ifnet*)cookie;
220 struct ifnet* ifp = (struct ifnet*)cooki
[all...]
H A Dieee80211_monitor.c134 struct ifnet *ifp = vap->iv_ifp;
/haiku/src/add-ons/kernel/drivers/network/ether/pcnet/dev/le/
H A Dlance.c99 static void lance_start(struct ifnet *);
103 static int lance_mediachange(struct ifnet *);
104 static void lance_mediastatus(struct ifnet *, struct ifmediareq *);
105 static int lance_ioctl(struct ifnet *, u_long, caddr_t);
110 struct ifnet *ifp;
122 /* Initialize ifnet structure. */
196 struct ifnet *ifp = sc->sc_ifp;
210 struct ifnet *ifp = sc->sc_ifp;
240 lance_start(struct ifnet *ifp)
252 struct ifnet *if
[all...]
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_var.h233 struct ifnet ac_if;
479 void ieee80211_ifattach(struct ifnet *);
480 void ieee80211_ifdetach(struct ifnet *);
481 void ieee80211_channel_init(struct ifnet *);
482 void ieee80211_media_init(struct ifnet *, ifm_change_cb_t, ifm_stat_cb_t);
483 int ieee80211_media_change(struct ifnet *);
484 void ieee80211_media_status(struct ifnet *, struct ifmediareq *);
485 int ieee80211_ioctl(struct ifnet *, u_long, caddr_t);
487 void ieee80211_watchdog(struct ifnet *);
504 enum ieee80211_phymode ieee80211_next_mode(struct ifnet *);
[all...]
H A Dieee80211_proto.h60 extern void ieee80211_proto_attach(struct ifnet *);
61 extern void ieee80211_proto_detach(struct ifnet *);
70 extern void ieee80211_inputm(struct ifnet *, struct mbuf *,
73 extern void ieee80211_input(struct ifnet *, struct mbuf *,
75 extern int ieee80211_output(struct ifnet *, struct mbuf *, struct sockaddr *,
85 extern struct mbuf *ieee80211_encap(struct ifnet *, struct mbuf *,
H A Dieee80211_haiku.cpp55 static struct ifnet*
97 struct ifnet* ifp = get_ifnet(device, i);
118 struct ifnet* ifp = get_ifnet(device, i);
132 struct ifnet* ifp = (struct ifnet*)cookie;
172 struct ifnet* ifp = (struct ifnet*)cookie;
474 struct ifnet *ifp = &ic->ic_if;
H A Dieee80211_node.h607 void ieee80211_node_attach(struct ifnet *);
608 void ieee80211_node_lateattach(struct ifnet *);
609 void ieee80211_node_detach(struct ifnet *);
611 void ieee80211_begin_scan(struct ifnet *);
612 void ieee80211_next_scan(struct ifnet *);
613 void ieee80211_end_scan(struct ifnet *);
614 void ieee80211_reset_scan(struct ifnet *);
H A Dieee80211_crypto.h112 void ieee80211_crypto_attach(struct ifnet *);
113 void ieee80211_crypto_detach(struct ifnet *);
H A Dieee80211.c76 ieee80211_begin_bgscan(struct ifnet *ifp)
108 struct ifnet *ifp = arg;
114 ieee80211_channel_init(struct ifnet *ifp)
164 ieee80211_ifattach(struct ifnet *ifp)
212 ieee80211_ifdetach(struct ifnet *ifp)
269 struct ifnet *ifp = &ic->ic_if;
326 ieee80211_media_init(struct ifnet *ifp,
539 ieee80211_media_change(struct ifnet *ifp)
770 ieee80211_media_status(struct ifnet *ifp, struct ifmediareq *imr)
847 ieee80211_watchdog(struct ifnet *if
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/pcnet/dev/pcn/
H A Dif_pcn.c143 static void pcn_start(struct ifnet *);
144 static void pcn_start_locked(struct ifnet *);
145 static int pcn_ioctl(struct ifnet *, u_long, caddr_t);
151 static int pcn_ifmedia_upd(struct ifnet *);
152 static void pcn_ifmedia_sts(struct ifnet *, struct ifmediareq *);
158 static void pcn_setfilt(struct ifnet *);
354 struct ifnet *ifp;
561 struct ifnet *ifp;
702 struct ifnet *ifp;
841 struct ifnet *if
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/rdc/dev/vte/
H A Dif_vte.c105 vte_fixup_rx(struct ifnet *, struct mbuf *);
113 static int vte_ioctl(struct ifnet *, u_long, caddr_t);
114 static uint64_t vte_get_counter(struct ifnet *, ift_counter);
119 static int vte_mediachange(struct ifnet *);
120 static int vte_mediachange_locked(struct ifnet *);
121 static void vte_mediastatus(struct ifnet *, struct ifmediareq *);
129 static void vte_start(struct ifnet *);
224 struct ifnet *ifp;
277 vte_mediastatus(struct ifnet *ifp, struct ifmediareq *ifmr)
297 vte_mediachange(struct ifnet *if
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/rtl8139/dev/rl/
H A Dif_rl.c188 static int rl_ifmedia_upd(struct ifnet *);
189 static void rl_ifmedia_sts(struct ifnet *, struct ifmediareq *);
190 static int rl_ioctl(struct ifnet *, u_long, caddr_t);
198 static int rl_poll(struct ifnet *ifp, enum poll_cmd cmd, int count);
199 static int rl_poll_locked(struct ifnet *ifp, enum poll_cmd cmd, int count);
208 static void rl_start(struct ifnet *);
209 static void rl_start_locked(struct ifnet *);
483 struct ifnet *ifp;
518 struct ifnet *ifp = sc->rl_ifp;
640 struct ifnet *if
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/sis19x/dev/sge/
H A Dif_sge.c133 static void sge_start(struct ifnet *);
134 static void sge_start_locked(struct ifnet *);
135 static int sge_ioctl(struct ifnet *, u_long, caddr_t);
140 static int sge_ifmedia_upd(struct ifnet *);
141 static void sge_ifmedia_sts(struct ifnet *, struct ifmediareq *);
385 struct ifnet *ifp;
449 struct ifnet *ifp;
490 struct ifnet *ifp;
558 struct ifnet *ifp;
610 device_printf(dev, "cannot allocate ifnet structur
[all...]
/haiku/headers/posix/netinet/
H A Dip_var.h67 struct ifnet *imo_multicast_ifp; /* ifp for outgoing multicasts */
/haiku/src/add-ons/kernel/drivers/network/ether/3com/dev/xl/
H A Dif_xl.c243 static void xl_start(struct ifnet *);
244 static void xl_start_locked(struct ifnet *);
245 static void xl_start_90xB_locked(struct ifnet *);
246 static int xl_ioctl(struct ifnet *, u_long, caddr_t);
257 static int xl_poll(struct ifnet *ifp, enum poll_cmd cmd, int count);
258 static int xl_poll_locked(struct ifnet *ifp, enum poll_cmd cmd, int count);
261 static int xl_ifmedia_upd(struct ifnet *);
262 static void xl_ifmedia_sts(struct ifnet *, struct ifmediareq *);
612 struct ifnet *ifp;
658 struct ifnet *if
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/broadcom440x/dev/bfe/
H A Dif_bfe.c90 static void bfe_start (struct ifnet *);
91 static void bfe_start_locked (struct ifnet *);
92 static int bfe_ioctl (struct ifnet *, u_long, caddr_t);
109 static int bfe_ifmedia_upd (struct ifnet *);
110 static void bfe_ifmedia_sts (struct ifnet *, struct ifmediareq *);
437 struct ifnet *ifp = NULL;
484 /* Set up ifnet structure */
545 struct ifnet *ifp;
611 struct ifnet *ifp;
1086 struct ifnet *if
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/aironetwifi/dev/an/
H A Dif_an.c143 static int an_ioctl(struct ifnet *, u_long, caddr_t);
147 static void an_start(struct ifnet *);
148 static void an_start_locked(struct ifnet *);
178 static int readrids(struct ifnet*, struct aironet_ioctl*);
179 static int writerids(struct ifnet*, struct aironet_ioctl*);
180 static int flashcard(struct ifnet*, struct aironet_ioctl*);
182 static int cmdreset(struct ifnet *);
183 static int setflashmode(struct ifnet *);
184 static int flashgchar(struct ifnet *,int,int);
185 static int flashpchar(struct ifnet *,in
[all...]

Completed in 216 milliseconds

12345