Deleted Added
full compact
40c40
< * $FreeBSD: head/sys/netgraph/ng_ether.c 69840 2000-12-11 03:36:26Z archie $
---
> * $FreeBSD: head/sys/netgraph/ng_ether.c 69922 2000-12-12 18:52:14Z julian $
102a103
> static ng_connect_t ng_ether_connect;
190c191
< NULL,
---
> ng_ether_connect,
192d192
< ng_ether_rcvdata,
245c245
< * Handle a packet that has come in on an interface.
---
> * Handle a packet that has come in on an ethernet interface.
255d254
< meta_p meta = NULL;
263c262
< (void)ng_queue_data(priv->lower, *mp, meta);
---
> NG_SEND_DATA_ONLY(error, priv->lower, *mp);
284c283
< NG_SEND_DATA_RET(error, priv->upper, *mp, meta);
---
> NG_SEND_DATA_RET(error, priv->upper, *mp, meta, NULL);
483a483,494
> * Hooks are attached, adjust to force queueing.
> * We don't really care which hook it is.
> * they should all be queuing for outgoing data.
> */
> static int
> ng_ether_connect(hook_p hook)
> {
> hook->peer->flags |= HK_QUEUE;
> return (0);
> }
>
> /*
594c605
< struct mbuf **ret_m, meta_p *ret_meta)
---
> struct mbuf **ret_m, meta_p *ret_meta, struct ng_mesg **resp)