Searched refs:mtag (Results 1 - 6 of 6) sorted by relevance

/macosx-10.9.5/xnu-2422.115.4/bsd/netinet/
H A Dip_divert.h83 divert_cookie(struct m_tag *mtag) argument
85 return ((struct divert_tag *)(mtag+1))->cookie;
90 struct m_tag *mtag = m_tag_locate(m, KERNEL_MODULE_TAG_ID, local
92 return mtag ? divert_cookie(mtag) : 0;
99 divert_info(struct m_tag *mtag) argument
101 return ((struct divert_tag *)(mtag+1))->info;
106 struct m_tag *mtag = m_tag_locate(m, KERNEL_MODULE_TAG_ID, local
108 return mtag ? divert_info(mtag)
[all...]
H A Dkpi_ipfilter.c215 struct m_tag *mtag = 0; local
247 mtag = m_tag_create(KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_IPFILT,
249 if (mtag == NULL) {
253 *(ipfilter_t*)(mtag+1) = filter_ref;
254 m_tag_prepend(m, mtag);
270 struct m_tag *mtag = NULL; local
283 mtag = m_tag_create(KERNEL_MODULE_TAG_ID,
285 if (mtag == NULL) {
289 *(ipfilter_t *)(mtag + 1) = filter_ref;
290 m_tag_prepend(m, mtag);
344 struct m_tag *mtag = NULL; local
449 struct m_tag *mtag; local
[all...]
H A Dip_dummynet.h690 struct m_tag *mtag = m_tag_locate(m, KERNEL_MODULE_TAG_ID, local
692 if (mtag != NULL) {
693 mtag->m_tag_type = KERNEL_TAG_TYPE_NONE;
694 return (((struct dn_pkt_tag *)(mtag+1))->dn_ipfw_rule);
H A Dip_divert.c340 struct m_tag *mtag; local
345 mtag = m_tag_create(KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_DIVERT,
347 if (mtag == NULL) {
351 dt = (struct divert_tag *)(mtag+1);
354 m_tag_prepend(m, mtag);
H A Dip_dummynet.c697 struct m_tag *mtag = m_tag_first(m); local
699 if (!(mtag != NULL &&
700 mtag->m_tag_id == KERNEL_MODULE_TAG_ID &&
701 mtag->m_tag_type == KERNEL_TAG_TYPE_DUMMYNET))
705 return (struct dn_pkt_tag *)(mtag+1);
1528 struct m_tag *mtag; local
1618 mtag = m_tag_create(KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_DUMMYNET,
1620 if ( mtag == NULL )
1622 m_tag_prepend(m, mtag); /* attach to mbuf chain */
1624 pkt = (struct dn_pkt_tag *)(mtag
[all...]
/macosx-10.9.5/xnu-2422.115.4/security/
H A Dmac_framework.h261 void mac_mbuf_tag_copy(struct m_tag *m, struct m_tag *mtag);
262 void mac_mbuf_tag_destroy(struct m_tag *mtag);

Completed in 384 milliseconds