Home
last modified time | relevance | path

Searched refs:m_tag (Results 1 – 21 of 21) sorted by relevance

/xnu-8020.140.41/bsd/kern/
H A Duipc_mbuf2.c341 struct m_tag *
344 struct m_tag *t = NULL; in m_tag_create()
345 struct m_tag *p; in m_tag_create()
351 if (len + sizeof(struct m_tag) + sizeof(struct m_taghdr) > MLEN) { in m_tag_create()
379 t = (struct m_tag *)(void *)(m->m_data + m->m_len); in m_tag_create()
405 struct m_tag *
408 struct m_tag *t; in m_tag_alloc()
428 t = (struct m_tag *)(void *)(m->m_data + m->m_len); in m_tag_alloc()
432 } else if (len + sizeof(struct m_tag) <= MCLBYTES) { in m_tag_alloc()
433 t = (struct m_tag *)(void *)m_mclalloc(wait); in m_tag_alloc()
[all …]
H A Dkpi_mbuf.c1022 struct m_tag *tag; in mbuf_tag_allocate()
1065 struct m_tag *tag; in mbuf_tag_find()
1103 struct m_tag *tag; in mbuf_tag_free()
1137 struct m_tag *tag; in mbuf_add_drvaux()
1180 struct m_tag *tag; in mbuf_find_drvaux()
1217 struct m_tag *tag; in mbuf_del_drvaux()
/xnu-8020.140.41/bsd/sys/
H A Dmbuf.h167 struct m_tag { struct
172 SLIST_ENTRY(m_tag) m_tag_link; /* List of packet tags */ argument
179 (P2ROUNDUP(len, sizeof (u_int64_t)) + sizeof (struct m_tag))
448 SLIST_HEAD(packet_tags, m_tag) tags; /* list of external tags */
1579 __private_extern__ struct m_tag *m_tag_alloc(u_int32_t, u_int16_t, int, int);
1580 __private_extern__ struct m_tag *m_tag_create(u_int32_t, u_int16_t, int, int,
1582 __private_extern__ void m_tag_free(struct m_tag *);
1583 __private_extern__ void m_tag_prepend(struct mbuf *, struct m_tag *);
1584 __private_extern__ void m_tag_unlink(struct mbuf *, struct m_tag *);
1585 __private_extern__ void m_tag_delete(struct mbuf *, struct m_tag *);
[all …]
/xnu-8020.140.41/bsd/netinet/
H A Dkpi_ipfilter.c314 struct m_tag *mtag = 0; in ipf_inject_input()
413 struct m_tag *mtag = NULL; in ipf_injectv4_out()
502 struct m_tag *mtag = NULL; in ipf_injectv6_out()
630 struct m_tag *mtag; in ipf_get_inject_filter()
H A Dip_encap.c508 struct m_tag *tag; in encap_fillarg()
524 struct m_tag *tag; in encap_getarg()
H A Dip_dummynet.c705 struct m_tag *mtag = m_tag_first(m); in dn_tag_get()
1518 struct m_tag *mtag; in dummynet_io()
1782 struct m_tag *tag = m_tag_locate(m, KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_DUMMYNET, NULL); \
H A Dip_input.c931 struct m_tag *copy; in ip_input_first_pass()
932 struct m_tag *p; in ip_input_first_pass()
1712 struct m_tag *tag; in ip_input()
H A Draw_ip.c362 struct m_tag *cfil_tag = NULL; in rip_output()
H A Dudp_usrreq.c1494 struct m_tag *cfil_tag = NULL; in udp_output()
H A Dip_output.c313 struct m_tag *tag; in ip_output_list()
H A Dflow_divert.c3643 struct m_tag *cfil_tag = NULL; in flow_divert_data_out()
/xnu-8020.140.41/bsd/net/
H A Dcontent_filter.h556 extern struct m_tag *cfil_dgram_get_socket_state(struct mbuf *m, uint32_t *state_change_cnt,
H A Dcontent_filter.c812 struct m_tag *cfil_dgram_save_socket_state(struct cfil_info *, struct mbuf *);
6702 struct m_tag *
6705 struct m_tag *tag = NULL; in cfil_dgram_save_socket_state()
6743 struct m_tag *
6747 struct m_tag *tag = NULL; in cfil_dgram_get_socket_state()
6779 struct m_tag *tag = NULL; in cfil_dgram_peek_socket_state()
H A Dpf_norm.c1447 struct m_tag *mtag; in pf_reassemble6()
1827 struct m_tag *tag; in pf_refragment6()
1841 tag = (struct m_tag *)(void *)ftag; in pf_refragment6()
H A Dpf.c10848 struct m_tag *tag; in pf_copy_fragment_tag()
10867 struct m_tag *tag; in pf_find_fragment_tag()
/xnu-8020.140.41/bsd/netinet6/
H A Dip6_input.c787 struct m_tag *tag; in ip6_input()
2323 struct m_tag *tag; in ip6_addaux()
2345 struct m_tag *tag; in ip6_findaux()
2356 struct m_tag *tag; in ip6_delaux()
H A Dudp6_output.c175 struct m_tag *cfil_tag = NULL; in udp6_output()
H A Dipsec.c4694 #define IPSEC_TAG_SIZE (MLEN - sizeof(struct m_tag))
4703 struct m_tag *tag; in ipsec_addaux()
4731 struct m_tag *tag; in ipsec_findaux()
4742 struct m_tag *tag; in ipsec_delaux()
4758 m_tag_delete(m, ((struct m_tag*)itag) - 1); in ipsec_optaux()
H A Dudp6_usrreq.c1068 struct m_tag *cfil_tag = NULL; in udp6_send()
H A Draw_ip6.c372 struct m_tag *cfil_tag = NULL; in rip6_output()
H A Dip6_output.c296 struct m_tag *tag; in ip6_output_list()