diff options
| author | Christian S.J. Peron <csjp@FreeBSD.org> | 2007-03-04 03:38:08 +0000 |
|---|---|---|
| committer | Christian S.J. Peron <csjp@FreeBSD.org> | 2007-03-04 03:38:08 +0000 |
| commit | 59a0d28bacbcc668a45c393f836f97cd8b536f8a (patch) | |
| tree | 1601222866235bd2ad7ddd38e1756c289fe6c2e6 /sys/dev | |
| parent | 2c434b2cc37b0e2861133dc15769dcdec6485a0f (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/bce/if_bce.c | 2 | ||||
| -rw-r--r-- | sys/dev/ixgb/if_ixgb.c | 2 | ||||
| -rw-r--r-- | sys/dev/msk/if_msk.c | 2 | ||||
| -rw-r--r-- | sys/dev/nfe/if_nfe.c | 2 | ||||
| -rw-r--r-- | sys/dev/nge/if_nge.c | 2 | ||||
| -rw-r--r-- | sys/dev/re/if_re.c | 2 | ||||
| -rw-r--r-- | sys/dev/stge/if_stge.c | 2 | ||||
| -rw-r--r-- | sys/dev/ti/if_ti.c | 2 | ||||
| -rw-r--r-- | sys/dev/txp/if_txp.c | 2 | ||||
| -rw-r--r-- | sys/dev/vge/if_vge.c | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/sys/dev/bce/if_bce.c b/sys/dev/bce/if_bce.c index fc634c021f82..020d302dcaee 100644 --- a/sys/dev/bce/if_bce.c +++ b/sys/dev/bce/if_bce.c @@ -4726,7 +4726,7 @@ bce_start_locked(struct ifnet *ifp) count++; /* Send a copy of the frame to any BPF listeners. */ - BPF_MTAP(ifp, m_head); + ETHER_BPF_MTAP(ifp, m_head); } if (count == 0) { diff --git a/sys/dev/ixgb/if_ixgb.c b/sys/dev/ixgb/if_ixgb.c index 9b05c95b3c3c..c1d68582479a 100644 --- a/sys/dev/ixgb/if_ixgb.c +++ b/sys/dev/ixgb/if_ixgb.c @@ -475,7 +475,7 @@ ixgb_start_locked(struct ifnet * ifp) if (ifp->if_bpf) bpf_mtap(ifp, m_head); #else - BPF_MTAP(ifp, m_head); + ETHER_BPF_MTAP(ifp, m_head); #endif /* Set timeout in case hardware has problems transmitting */ ifp->if_timer = IXGB_TX_TIMEOUT; diff --git a/sys/dev/msk/if_msk.c b/sys/dev/msk/if_msk.c index d93a69f5ee34..b830cf334032 100644 --- a/sys/dev/msk/if_msk.c +++ b/sys/dev/msk/if_msk.c @@ -2870,7 +2870,7 @@ msk_start(struct ifnet *ifp) * If there's a BPF listener, bounce a copy of this frame * to him. */ - BPF_MTAP(ifp, m_head); + ETHER_BPF_MTAP(ifp, m_head); } if (enq > 0) { diff --git a/sys/dev/nfe/if_nfe.c b/sys/dev/nfe/if_nfe.c index baeb090a45e9..0c548270fc85 100644 --- a/sys/dev/nfe/if_nfe.c +++ b/sys/dev/nfe/if_nfe.c @@ -1700,7 +1700,7 @@ nfe_start_locked(struct ifnet *ifp) /* packet put in h/w queue, remove from s/w queue */ IFQ_DEQUEUE(&ifp->if_snd, m0); - BPF_MTAP(ifp, m0); + ETHER_BPF_MTAP(ifp, m0); } if (sc->txq.cur == old) { /* nothing sent */ return; diff --git a/sys/dev/nge/if_nge.c b/sys/dev/nge/if_nge.c index 79a8169df288..f728f88c1d3e 100644 --- a/sys/dev/nge/if_nge.c +++ b/sys/dev/nge/if_nge.c @@ -1613,7 +1613,7 @@ nge_start_locked(ifp) * If there's a BPF listener, bounce a copy of this frame * to him. */ - BPF_MTAP(ifp, m_head); + ETHER_BPF_MTAP(ifp, m_head); } diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c index de9b273d05f5..869164a458b9 100644 --- a/sys/dev/re/if_re.c +++ b/sys/dev/re/if_re.c @@ -2214,7 +2214,7 @@ re_start(ifp) * If there's a BPF listener, bounce a copy of this frame * to him. */ - BPF_MTAP(ifp, m_head); + ETHER_BPF_MTAP(ifp, m_head); queued++; } diff --git a/sys/dev/stge/if_stge.c b/sys/dev/stge/if_stge.c index 451ee12d973b..caca23822bb0 100644 --- a/sys/dev/stge/if_stge.c +++ b/sys/dev/stge/if_stge.c @@ -1346,7 +1346,7 @@ stge_start_locked(struct ifnet *ifp) * If there's a BPF listener, bounce a copy of this frame * to him. */ - BPF_MTAP(ifp, m_head); + ETHER_BPF_MTAP(ifp, m_head); } if (enq > 0) { diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c index 634e611b9de4..91d571b56704 100644 --- a/sys/dev/ti/if_ti.c +++ b/sys/dev/ti/if_ti.c @@ -3120,7 +3120,7 @@ ti_start_locked(ifp) * If there's a BPF listener, bounce a copy of this frame * to him. */ - BPF_MTAP(ifp, m_head); + ETHER_BPF_MTAP(ifp, m_head); } if (enq > 0) { diff --git a/sys/dev/txp/if_txp.c b/sys/dev/txp/if_txp.c index dfa261f07343..521a49c30fe5 100644 --- a/sys/dev/txp/if_txp.c +++ b/sys/dev/txp/if_txp.c @@ -1350,7 +1350,7 @@ txp_start_locked(ifp) ifp->if_timer = 5; - BPF_MTAP(ifp, m); + ETHER_BPF_MTAP(ifp, m); WRITE_REG(sc, r->r_reg, TXP_IDX2OFFSET(prod)); } diff --git a/sys/dev/vge/if_vge.c b/sys/dev/vge/if_vge.c index ab94094d4740..466e4fc3e1b4 100644 --- a/sys/dev/vge/if_vge.c +++ b/sys/dev/vge/if_vge.c @@ -1847,7 +1847,7 @@ vge_start(ifp) * If there's a BPF listener, bounce a copy of this frame * to him. */ - BPF_MTAP(ifp, m_head); + ETHER_BPF_MTAP(ifp, m_head); } if (idx == sc->vge_ldata.vge_tx_prodidx) { |
