Searched refs:mtag (Results 26 - 50 of 65) sorted by relevance

123

/freebsd-9.3-release/sys/netpfil/ipfw/
H A Dip_dn_io.c244 struct m_tag *mtag = m_tag_first(m); local
245 KASSERT(mtag != NULL &&
246 mtag->m_tag_cookie == MTAG_ABI_COMPAT &&
247 mtag->m_tag_id == PACKET_TAG_DUMMYNET,
249 return (struct dn_pkt_tag *)(mtag+1);
718 struct m_tag *mtag; local
720 mtag = m_tag_get(PACKET_TAG_DUMMYNET,
722 if (mtag == NULL)
724 m_tag_prepend(m, mtag); /* Attach to mbuf chain. */
725 dt = (struct dn_pkt_tag *)(mtag
[all...]
H A Dip_fw2.c1904 struct m_tag *mtag; local
1908 mtag = m_tag_locate(m, MTAG_IPFW, tag, NULL);
1911 * present. And we must remove this mtag from
1914 * Otherwise we should allocate new mtag and
1918 if (mtag != NULL)
1919 m_tag_delete(m, mtag);
1922 if (mtag == NULL) {
1923 mtag = m_tag_alloc( MTAG_IPFW,
1925 if (mtag != NULL)
1926 m_tag_prepend(m, mtag);
1983 struct m_tag *mtag; local
2185 struct m_tag *mtag; local
[all...]
/freebsd-9.3-release/sys/dev/nve/
H A Dif_nve.c379 &sc->mtag);
620 if (sc->mtag)
621 bus_dma_tag_destroy(sc->mtag);
777 error = bus_dmamap_create(sc->mtag, 0, &buf->map);
783 error = bus_dmamap_load_mbuf(sc->mtag, buf->map, buf->mbuf,
790 bus_dmamap_sync(sc->mtag, buf->map, BUS_DMASYNC_PREREAD);
805 error = bus_dmamap_create(sc->mtag, 0, &buf->map);
833 bus_dmamap_unload(sc->mtag, buf->map);
834 bus_dmamap_destroy(sc->mtag, buf->map);
845 bus_dmamap_unload(sc->mtag, bu
[all...]
H A Dif_nvereg.h146 bus_dma_tag_t mtag; member in struct:nve_softc
/freebsd-9.3-release/sys/netipsec/
H A Dxform_ah.c580 struct m_tag *mtag; local
651 for (mtag = m_tag_find(m, PACKET_TAG_IPSEC_IN_CRYPTO_DONE, NULL);
652 mtag != NULL;
653 mtag = m_tag_find(m, PACKET_TAG_IPSEC_IN_CRYPTO_DONE, mtag)) {
654 tdbi = (struct tdb_ident *) (mtag + 1);
663 if (mtag == NULL) {
680 if (mtag == NULL) {
719 tc->tc_ptr = (caddr_t) mtag; /* Save the mtag w
741 struct m_tag *mtag; local
[all...]
H A Dxform_esp.c276 struct m_tag *mtag; local
355 for (mtag = m_tag_find(m, PACKET_TAG_IPSEC_IN_CRYPTO_DONE, NULL);
356 mtag != NULL;
357 mtag = m_tag_find(m, PACKET_TAG_IPSEC_IN_CRYPTO_DONE, mtag)) {
358 tdbi = (struct tdb_ident *) (mtag + 1);
377 if (esph == NULL || mtag != NULL)
391 tc->tc_ptr = (caddr_t) mtag;
408 if (mtag == NULL)
448 if (mtag
467 struct m_tag *mtag; local
[all...]
H A Dipsec_input.c300 struct m_tag *mtag; local
433 * processed). If we've been passed an mtag, it means the packet
440 mtag = m_tag_get(PACKET_TAG_IPSEC_IN_DONE,
442 if (mtag == NULL) {
449 tdbi = (struct tdb_ident *)(mtag + 1);
457 m_tag_prepend(m, mtag);
559 struct m_tag *mtag; local
688 * processed). If we've been passed an mtag, it means the packet
695 mtag = m_tag_get(PACKET_TAG_IPSEC_IN_DONE,
697 if (mtag
[all...]
/freebsd-9.3-release/sys/netgraph/
H A Dng_iface.c358 struct m_tag *mtag; local
370 mtag = NULL;
371 while ((mtag = m_tag_locate(m, MTAG_NGIF, MTAG_NGIF_CALLED, mtag))) {
372 if (*(struct ifnet **)(mtag + 1) == ifp) {
378 mtag = m_tag_alloc(MTAG_NGIF, MTAG_NGIF_CALLED, sizeof(struct ifnet *),
380 if (mtag == NULL) {
384 *(struct ifnet **)(mtag + 1) = ifp;
385 m_tag_prepend(m, mtag);
/freebsd-9.3-release/sys/dev/firewire/
H A Dif_fwip.c586 struct m_tag *mtag; local
625 mtag = m_tag_locate(m, MTAG_FIREWIRE, MTAG_FIREWIRE_HWADDR, 0);
626 if (mtag == NULL)
629 destfw = (struct fw_hwaddr *) (mtag + 1);
761 struct m_tag *mtag; local
833 mtag = m_tag_alloc(MTAG_FIREWIRE,
836 if (mtag) {
839 uint32_t *p = (uint32_t *) (mtag + 1);
849 m_tag_prepend(m, mtag);
887 struct m_tag *mtag; local
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/asn1/
H A Dasn1_mac.h436 # define M_ASN1_I2D_len_EXP_opt(a,f,mtag,v) \
440 ret+=ASN1_object_size(1,v,mtag); \
443 # define M_ASN1_I2D_len_EXP_SET_opt(a,f,mtag,tag,v) \
447 ret+=ASN1_object_size(1,v,mtag); \
450 # define M_ASN1_I2D_len_EXP_SEQUENCE_opt(a,f,mtag,tag,v) \
455 ret+=ASN1_object_size(1,v,mtag); \
458 # define M_ASN1_I2D_len_EXP_SEQUENCE_opt_type(type,a,f,mtag,tag,v) \
464 ret+=ASN1_object_size(1,v,mtag); \
529 # define M_ASN1_I2D_put_EXP_SET_opt(a,f,mtag,tag,v) \
532 ASN1_put_object(&p,1,v,mtag,V_ASN1_CONTEXT_SPECIFI
[all...]
/freebsd-9.3-release/sys/dev/tx/
H A Dif_tx.c275 &sc->mtag);
461 if (sc->mtag)
462 bus_dma_tag_destroy(sc->mtag);
671 error = bus_dmamap_load_mbuf(sc->mtag, buf->map, m0,
694 error = bus_dmamap_load_mbuf(sc->mtag, buf->map, m,
702 bus_dmamap_sync(sc->mtag, buf->map, BUS_DMASYNC_PREWRITE);
759 bus_dmamap_sync(sc->mtag, buf->map, BUS_DMASYNC_POSTREAD);
775 error = bus_dmamap_load_mbuf(sc->mtag, sc->sparemap, buf->mbuf,
785 bus_dmamap_unload(sc->mtag, buf->map);
789 bus_dmamap_sync(sc->mtag, bu
[all...]
H A Dif_txvar.h84 bus_dma_tag_t mtag; member in struct:__anon9044
/freebsd-9.3-release/sys/netinet6/
H A Dip6_input.c1848 struct m_tag *mtag; local
1850 mtag = m_tag_find(m, PACKET_TAG_IPV6_INPUT, NULL);
1851 if (!mtag) {
1852 mtag = m_tag_get(PACKET_TAG_IPV6_INPUT, sizeof(struct ip6aux),
1854 if (mtag) {
1855 m_tag_prepend(m, mtag);
1856 bzero(mtag + 1, sizeof(struct ip6aux));
1859 return mtag ? (struct ip6aux *)(mtag + 1) : NULL;
1865 struct m_tag *mtag; local
1874 struct m_tag *mtag; local
[all...]
H A Dnd6_nbr.c399 struct m_tag *mtag; local
585 mtag = m_tag_get(PACKET_TAG_ND_OUTGOING,
587 if (mtag == NULL)
589 *(unsigned short *)(mtag + 1) = nd_ns->nd_ns_type;
590 m_tag_prepend(m, mtag);
640 struct m_tag *mtag; local
916 mtag = m_tag_get(PACKET_TAG_ND_OUTGOING,
918 if (mtag == NULL)
920 m_tag_prepend(m, mtag);
967 struct m_tag *mtag; local
[all...]
/freebsd-9.3-release/usr.sbin/bsdconfig/console/
H A Dkeymap241 f_dialog_menutag_fetch mtag
247 mtag="${mtag# }" # remove single leading-space if-present
250 [ "$msg" = "$mtag" ] && keymap_name="$name" break
/freebsd-9.3-release/sys/net/
H A Dif_enc.c347 struct m_tag *mtag; local
348 mtag = m_tag_find(m, PACKET_TAG_IPSEC_IN_DONE, NULL);
349 if (mtag != NULL) {
351 tdbi = (struct tdb_ident *) (mtag + 1);
H A Dif_gif.c376 struct m_tag *mtag; local
397 mtag = m_tag_locate(m, MTAG_GIF, MTAG_GIF_CALLED, NULL);
398 while (mtag != NULL) {
399 if (*(struct ifnet **)(mtag + 1) == ifp) {
402 (*(struct ifnet **)(mtag + 1))->if_xname);
407 mtag = m_tag_locate(m, MTAG_GIF, MTAG_GIF_CALLED, mtag);
418 mtag = m_tag_alloc(MTAG_GIF, MTAG_GIF_CALLED, sizeof(struct ifnet *),
420 if (mtag == NULL) {
425 *(struct ifnet **)(mtag
[all...]
H A Dif_gre.c251 struct m_tag *mtag; local
266 mtag = m_tag_locate(m, MTAG_COOKIE_GRE, MTAG_GRE_NESTING, NULL);
267 if (mtag != NULL) {
270 gt = (struct mtag_gre_nesting *)(mtag + 1);
299 * allocating an mtag once per passing through gre.
309 mtag = m_tag_alloc(MTAG_COOKIE_GRE, MTAG_GRE_NESTING, len,
311 if (mtag == NULL) {
316 gt = (struct mtag_gre_nesting *)(mtag + 1);
321 m_tag_prepend(m, mtag);
/freebsd-9.3-release/usr.sbin/bsdconfig/mouse/
H A Dtype133 f_dialog_menutag_fetch mtag
136 case "$mtag" in
/freebsd-9.3-release/usr.sbin/bsdconfig/security/
H A Dsecurity158 f_dialog_menutag_fetch mtag
160 case "$mtag" in
/freebsd-9.3-release/usr.sbin/bsdconfig/startup/
H A Dmisc338 f_dialog_menutag_fetch mtag
340 case "$mtag" in
346 case "$mtag" in
/freebsd-9.3-release/sys/arm/at91/
H A Dif_ate.c131 bus_dma_tag_t mtag; /* bus dma tag for mbufs */ member in struct:ate_softc
504 1, MCLBYTES, 0, busdma_lock_mutex, &sc->sc_mtx, &sc->mtag))
507 if ( bus_dmamap_create(sc->mtag, 0, &sc->tx_map[i]))
627 if (sc->mtag != NULL) {
630 bus_dmamap_sync(sc->mtag, sc->tx_map[i],
632 bus_dmamap_unload(sc->mtag, sc->tx_map[i]);
635 bus_dmamap_destroy(sc->mtag, sc->tx_map[i]);
639 bus_dma_tag_destroy(sc->mtag);
985 bus_dmamap_sync(sc->mtag, sc->tx_map[sc->txtail],
987 bus_dmamap_unload(sc->mtag, s
[all...]
/freebsd-9.3-release/sys/netgraph/netflow/
H A Dng_netflow.c587 struct m_tag *mtag; local
618 mtag = m_tag_locate(NGI_M(item), MTAG_NETFLOW,
620 while (mtag != NULL) {
622 ((ng_ID_t *)(mtag + 1))[0] == NG_NODE_ID(node)) {
626 mtag = m_tag_locate(NGI_M(item), MTAG_NETFLOW,
627 MTAG_NETFLOW_CALLED, mtag);
640 mtag = m_tag_alloc(MTAG_NETFLOW, MTAG_NETFLOW_CALLED,
642 if (mtag) {
643 ((ng_ID_t *)(mtag + 1))[0] = NG_NODE_ID(node);
644 m_tag_prepend(NGI_M(item), mtag); local
[all...]
/freebsd-9.3-release/sys/net80211/
H A Dieee80211_freebsd.c453 struct m_tag *mtag; local
456 mtag = m_tag_alloc(MTAG_ABI_NET80211, NET80211_TAG_CALLBACK,
458 if (mtag == NULL)
461 cb = (struct ieee80211_cb *)(mtag+1);
464 m_tag_prepend(m, mtag);
473 struct m_tag *mtag; local
475 mtag = m_tag_locate(m, MTAG_ABI_NET80211, NET80211_TAG_CALLBACK, NULL);
476 if (mtag != NULL) {
477 struct ieee80211_cb *cb = (struct ieee80211_cb *)(mtag+1);
/freebsd-9.3-release/sys/arm/xscale/ixp425/
H A Dif_npe.c109 bus_dma_tag_t mtag; /* bus dma tag for mbuf data */ member in struct:npedma
491 busdma_lock_mutex, &sc->sc_mtx, &dma->mtag);
544 error = bus_dmamap_create(dma->mtag, BUS_DMA_NOWAIT,
566 bus_dmamap_destroy(dma->mtag, npe->ix_map);
575 if (dma->mtag)
576 bus_dma_tag_destroy(dma->mtag);
1076 error = bus_dmamap_load_mbuf_sg(dma->mtag, npe->ix_map, m,
1090 bus_dmamap_sync(dma->mtag, npe->ix_map, BUS_DMASYNC_PREREAD);
1130 bus_dmamap_sync(dma->mtag, npe->ix_map,
1316 error = bus_dmamap_load_mbuf_sg(dma->mtag, np
[all...]

Completed in 128 milliseconds

123