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

/darwin-on-arm/xnu/bsd/netinet/
H A Dip_divert.h82 divert_cookie(struct m_tag *mtag) argument
84 return ((struct divert_tag *)(mtag+1))->cookie;
89 struct m_tag *mtag = m_tag_locate(m, KERNEL_MODULE_TAG_ID, local
91 return mtag ? divert_cookie(mtag) : 0;
98 divert_info(struct m_tag *mtag) argument
100 return ((struct divert_tag *)(mtag+1))->info;
105 struct m_tag *mtag = m_tag_locate(m, KERNEL_MODULE_TAG_ID, local
107 return mtag ? divert_info(mtag)
[all...]
H A Dkpi_ipfilter.c217 struct m_tag *mtag = 0; local
249 mtag = m_tag_create(KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_IPFILT,
251 if (mtag == NULL) {
255 *(ipfilter_t*)(mtag+1) = filter_ref;
256 m_tag_prepend(m, mtag);
272 struct m_tag *mtag = NULL; local
285 mtag = m_tag_create(KERNEL_MODULE_TAG_ID,
287 if (mtag == NULL) {
291 *(ipfilter_t *)(mtag + 1) = filter_ref;
292 m_tag_prepend(m, mtag);
347 struct m_tag *mtag = NULL; local
453 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.c328 struct m_tag *mtag; local
333 mtag = m_tag_create(KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_DIVERT,
335 if (mtag == NULL) {
339 dt = (struct divert_tag *)(mtag+1);
342 m_tag_prepend(m, mtag);
H A Dip_dummynet.c696 struct m_tag *mtag = m_tag_first(m); local
698 if (!(mtag != NULL &&
699 mtag->m_tag_id == KERNEL_MODULE_TAG_ID &&
700 mtag->m_tag_type == KERNEL_TAG_TYPE_DUMMYNET))
703 return (struct dn_pkt_tag *)(mtag+1);
1530 struct m_tag *mtag; local
1620 mtag = m_tag_create(KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_DUMMYNET,
1622 if ( mtag == NULL )
1624 m_tag_prepend(m, mtag); /* attach to mbuf chain */
1626 pkt = (struct dn_pkt_tag *)(mtag
[all...]
/darwin-on-arm/xnu/security/
H A Dmac_framework.h256 void mac_mbuf_tag_copy(struct m_tag *m, struct m_tag *mtag);
257 void mac_mbuf_tag_destroy(struct m_tag *mtag);

Completed in 49 milliseconds