Home
last modified time | relevance | path

Searched refs:dlt (Results 1 – 8 of 8) sorted by relevance

/f-stack/freebsd/netgraph/
H A Dng_nat.c297 uint8_t dlt; /* DLT_XXX from bpf.h */ member
323 priv->dlt = DLT_RAW; in ng_nat_constructor()
724 priv->dlt = *(uint8_t *) msg->data; in ng_nat_rcvmsg()
742 *((uint8_t *) resp->data) = priv->dlt; in ng_nat_rcvmsg()
783 switch (priv->dlt) { in ng_nat_rcvdata()
806 panic("Corrupted priv->dlt: %u", priv->dlt); in ng_nat_rcvdata()
H A Dng_checksum.c64 uint8_t dlt; /* DLT_XXX from bpf.h */ member
167 priv->dlt = DLT_RAW; in ng_checksum_constructor()
211 *((uint8_t *) resp->data) = priv->dlt; in ng_checksum_rcvmsg()
223 priv->dlt = *(uint8_t *) msg->data; in ng_checksum_rcvmsg()
583 switch (priv->dlt) in ng_checksum_rcvdata()
H A Dng_patch.c54 uint8_t dlt; /* DLT_XXX from bpf.h */ member
185 privdata->dlt = DLT_RAW; in ng_patch_constructor()
321 *((uint8_t *) resp->data) = privp->dlt; in ng_patch_rcvmsg()
333 privp->dlt = *(uint8_t *) msg->data; in ng_patch_rcvmsg()
590 switch (priv->dlt) in ng_patch_rcvdata()
/f-stack/freebsd/net/
H A Dbpf.c2670 bpfattach(struct ifnet *ifp, u_int dlt, u_int hdrlen) in bpfattach() argument
2673 bpfattach2(ifp, dlt, hdrlen, &ifp->if_bpf); in bpfattach()
2683 bpfattach2(struct ifnet *ifp, u_int dlt, u_int hdrlen, in bpfattach2() argument
2696 bp->bif_dlt = dlt; in bpfattach2()
2821 bpf_setdlt(struct bpf_d *d, u_int dlt) in bpf_setdlt() argument
2834 if (d->bd_bif->bif_dlt == dlt) in bpf_setdlt()
2839 if (bp->bif_ifp == ifp && bp->bif_dlt == dlt) in bpf_setdlt()
3028 bpfattach(struct ifnet *ifp, u_int dlt, u_int hdrlen) in bpfattach() argument
3031 bpfattach2(ifp, dlt, hdrlen, &ifp->if_bpf); in bpfattach()
3035 bpfattach2(struct ifnet *ifp, u_int dlt, u_int hdrlen, struct bpf_if **driverp) in bpfattach2() argument
/f-stack/freebsd/netgraph/netflow/
H A Dng_netflow.h126 uint8_t dlt; /* DLT_XXX from bpf.h */ member
H A Dng_netflow.c438 switch (set->dlt) { in ng_netflow_rcvmsg()
/f-stack/tools/compat/include/netgraph/netflow/
H A Dng_netflow.h126 uint8_t dlt; /* DLT_XXX from bpf.h */ member
/f-stack/freebsd/net80211/
H A Dieee80211_freebsd.c1045 bpf_track(void *arg, struct ifnet *ifp, int dlt, int attach) in bpf_track() argument
1048 if (dlt == DLT_IEEE802_11_RADIO && in bpf_track()