Lines Matching defs:ifnet
89 struct ifnet;
102 int (*ifc_destroy)(struct ifnet *);
136 TAILQ_HEAD(ifnet_head, ifnet); /* the actual queue head */
138 struct ifnet { /* and the entries */
141 TAILQ_ENTRY(ifnet) if_list; /* [NK] all struct ifnets are chained */
142 TAILQ_ENTRY(ifnet) if_tmplist; /* [T] temporary list */
150 void (*if_rtrequest)(struct ifnet *, int, struct rtentry *);
194 void (*if_input)(struct ifnet *, struct mbuf *);
196 int (*if_output)(struct ifnet *, struct mbuf *, struct sockaddr *,
199 int (*if_ll_output)(struct ifnet *, struct mbuf *,
201 int (*if_enqueue)(struct ifnet *, struct mbuf *);
202 void (*if_start)(struct ifnet *); /* initiate output */
203 int (*if_ioctl)(struct ifnet *, u_long, caddr_t); /* ioctl hook */
204 void (*if_watchdog)(struct ifnet *); /* timer routine */
205 int (*if_wol)(struct ifnet *, int); /* WoL routine **/
247 struct ifnet *ifa_ifp; /* back-pointer to interface */
285 struct ifnet *ifgm_ifp; /* [I] member interface */
329 void if_start(struct ifnet *);
330 int if_enqueue(struct ifnet *, struct mbuf *);
331 int if_enqueue_ifq(struct ifnet *, struct mbuf *);
332 void if_input(struct ifnet *, struct mbuf_list *);
333 void if_vinput(struct ifnet *, struct mbuf *);
334 void if_input_process(struct ifnet *, struct mbuf_list *);
335 int if_input_local(struct ifnet *, struct mbuf *, sa_family_t);
336 int if_output_ml(struct ifnet *, struct mbuf_list *,
338 int if_output_mq(struct ifnet *, struct mbuf_queue *, unsigned int *,
340 int if_output_tso(struct ifnet *, struct mbuf **, struct sockaddr *,
342 int if_output_local(struct ifnet *, struct mbuf *, sa_family_t);
343 void if_rtrequest_dummy(struct ifnet *, int, struct rtentry *);
344 void p2p_rtrequest(struct ifnet *, int, struct rtentry *);
345 void p2p_input(struct ifnet *, struct mbuf *);
350 struct ifaddr *ifaof_ifpforaddr(const struct sockaddr *, struct ifnet *);
354 int if_isconnected(const struct ifnet *, unsigned int);
364 void ifa_add(struct ifnet *, struct ifaddr *);
365 void ifa_del(struct ifnet *, struct ifaddr *);
366 void ifa_update_broadaddr(struct ifnet *, struct ifaddr *,
369 void if_addrhook_add(struct ifnet *, struct task *);
370 void if_addrhook_del(struct ifnet *, struct task *);
371 void if_addrhooks_run(struct ifnet *);
372 void if_linkstatehook_add(struct ifnet *, struct task *);
373 void if_linkstatehook_del(struct ifnet *, struct task *);
374 void if_detachhook_add(struct ifnet *, struct task *);
375 void if_detachhook_del(struct ifnet *, struct task *);
390 void if_counters_alloc(struct ifnet *);
391 void if_counters_free(struct ifnet *);