Searched refs:mtag (Results 1 – 4 of 4) sorted by relevance
| /xnu-8792.41.9/bsd/netinet/ |
| H A D | kpi_ipfilter.c | 314 struct m_tag *mtag = 0; in ipf_inject_input() local 390 mtag = m_tag_create(KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_IPFILT, in ipf_inject_input() 392 if (mtag == NULL) { in ipf_inject_input() 396 *(ipfilter_t *)(mtag + 1) = filter_ref; in ipf_inject_input() 397 m_tag_prepend(m, mtag); in ipf_inject_input() 413 struct m_tag *mtag = NULL; in ipf_injectv4_out() local 432 mtag = m_tag_create(KERNEL_MODULE_TAG_ID, in ipf_injectv4_out() 434 if (mtag == NULL) { in ipf_injectv4_out() 438 *(ipfilter_t *)(mtag + 1) = filter_ref; in ipf_injectv4_out() 439 m_tag_prepend(m, mtag); in ipf_injectv4_out() [all …]
|
| H A D | ip_dummynet.c | 705 struct m_tag *mtag = m_tag_first(m); in dn_tag_get() local 707 if (!(mtag != NULL && in dn_tag_get() 708 mtag->m_tag_id == KERNEL_MODULE_TAG_ID && in dn_tag_get() 709 mtag->m_tag_type == KERNEL_TAG_TYPE_DUMMYNET)) { in dn_tag_get() 714 return (struct dn_pkt_tag *)(mtag + 1); in dn_tag_get() 1518 struct m_tag *mtag; in dummynet_io() local 1600 mtag = m_tag_create(KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_DUMMYNET, in dummynet_io() 1602 if (mtag == NULL) { in dummynet_io() 1605 m_tag_prepend(m, mtag); /* attach to mbuf chain */ in dummynet_io() 1607 pkt = (struct dn_pkt_tag *)(mtag + 1); in dummynet_io()
|
| /xnu-8792.41.9/bsd/net/ |
| H A D | pf_norm.c | 1447 struct m_tag *mtag; in pf_reassemble6() local 1449 mtag = m_tag_create(KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_PF_REASS, in pf_reassemble6() 1451 if (mtag == NULL) { in pf_reassemble6() 1456 ftag = (struct pf_fragment_tag *)(mtag + 1); in pf_reassemble6() 1462 m_tag_prepend(m, mtag); in pf_reassemble6() 1826 struct pf_mtag *mtag; in pf_refragment6() local 1835 mtag = pf_find_mtag(m); in pf_refragment6() 1846 mtag->pftag_flags &= ~PF_TAG_REASSEMBLED; in pf_refragment6() 1893 mtag->pftag_flags |= PF_TAG_REFRAGMENTED; in pf_refragment6()
|
| H A D | pf.c | 11014 struct pf_mtag *mtag = pf_find_mtag_pbuf(pbuf); in pf_find_fragment_tag_pbuf() local 11016 return (mtag->pftag_flags & PF_TAG_REASSEMBLED) ? in pf_find_fragment_tag_pbuf()
|