Searched refs:mbuf (Results 26 - 50 of 244) sorted by relevance

12345678910

/xnu-2422.115.4/security/
H A Dmac_net.c70 #include <sys/mbuf.h>
81 mac_mbuf_to_label(struct mbuf *mbuf) argument
86 if (mbuf == NULL)
89 if ((mbuf->m_flags & M_PKTHDR) == 0) {
94 tag = m_tag_locate(mbuf, KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_MACLABEL,
98 __func__, mbuf->m_flags);
238 mac_mbuf_label_copy(struct mbuf *m_from, struct mbuf *m_to)
302 mac_mbuf_label_init(struct mbuf *
327 mac_mbuf_label_associate_bpfdesc(struct bpf_d *bpf_d, struct mbuf *mbuf) argument
341 mac_mbuf_label_associate_ifnet(struct ifnet *ifp, struct mbuf *mbuf) argument
354 mac_mbuf_label_associate_linklayer(struct ifnet *ifp, struct mbuf *mbuf) argument
394 mac_mbuf_label_associate_socket(struct socket *socket, struct mbuf *mbuf) argument
409 mac_ifnet_check_transmit(struct ifnet *ifp, struct mbuf *mbuf, int family, int type) argument
[all...]
H A Dmac_inet.c70 #include <sys/mbuf.h>
187 mac_mbuf_label_associate_ipq(struct ipq *ipq, struct mbuf *m)
197 mac_netinet_fragment(struct mbuf *datagram, struct mbuf *fragment)
209 mac_ipq_label_associate(struct mbuf *fragment, struct ipq *ipq)
219 mac_mbuf_label_associate_inpcb(struct inpcb *inp, struct mbuf *m)
230 mac_ipq_label_compare(struct mbuf *fragment, struct ipq *ipq)
244 mac_netinet_icmp_reply(struct mbuf *m)
254 mac_netinet_tcp_reply(struct mbuf *m)
264 mac_ipq_label_update(struct mbuf *fragmen
[all...]
/xnu-2422.115.4/bsd/netinet6/
H A Dah.h85 extern void ah4_input(struct mbuf *, int);
86 extern int ah4_output(struct mbuf *, struct secasvar *);
87 extern int ah4_calccksum(struct mbuf *, caddr_t, size_t,
H A Dipcomp_core.c41 #include <sys/mbuf.h>
72 static int deflate_common(struct mbuf *, struct mbuf *, size_t *, int);
73 static int deflate_compress(struct mbuf *, struct mbuf *, size_t *);
74 static int deflate_decompress(struct mbuf *, struct mbuf *, size_t *);
169 struct mbuf *m;
170 struct mbuf *md;
174 struct mbuf *mpre
[all...]
H A Dpim6_var.h69 int pim6_input(struct mbuf **, int*);
H A Dtcp6_var.h110 int tcp6_input(struct mbuf **, int *, int);
H A Ddest6.c36 #include <sys/mbuf.h>
57 dest6_input(struct mbuf **mp, int *offp, int proto)
60 struct mbuf *m = *mp;
H A Dipcomp_output.c41 #include <sys/mbuf.h>
82 static int ipcomp_output(struct mbuf *, u_char *, struct mbuf *,
87 * The mbuf (m) must start with IPv4 or IPv6 header.
88 * On failure, free the given mbuf and return non-zero.
105 struct mbuf *m;
107 struct mbuf *md;
111 struct mbuf *n;
112 struct mbuf *md0;
113 struct mbuf *mcop
[all...]
H A Droute6.c60 #include <sys/mbuf.h>
77 route6_input(struct mbuf **mp, int *offp, int proto)
81 struct mbuf *m = *mp;
/xnu-2422.115.4/bsd/netinet/
H A Dkpi_ipfilter_var.h54 extern ipfilter_t ipf_get_inject_filter(struct mbuf *m);
58 extern void ip_proto_dispatch_in(struct mbuf *m, int hlen, u_int8_t proto,
H A Dtcp_lro.h38 struct mbuf *lr_mhead; /* coalesced mbuf chain head */
39 struct mbuf *lr_mtail; /* coalesced mbuf chain tail */
/xnu-2422.115.4/bsd/net/classq/
H A Dclassq.c64 #include <sys/mbuf.h>
96 _addq(class_queue_t *q, struct mbuf *m)
106 _addq_multi(class_queue_t *q, struct mbuf *m_head, struct mbuf *m_tail,
115 struct mbuf *
118 struct mbuf *m;
140 struct mbuf *
143 struct mbuf *m, *m_tmp;
172 struct mbuf *
175 struct mbuf *
[all...]
H A Dif_classq.h39 CLASSQDQ_REMOVE = 1, /* dequeue mbuf from the queue */
40 CLASSQDQ_POLL = 2, /* don't dequeue mbuf from the queue */
110 typedef int (*ifclassq_enq_func)(struct ifclassq *, struct mbuf *);
111 typedef struct mbuf *(*ifclassq_deq_func)(struct ifclassq *, enum cqdq_op);
112 typedef struct mbuf *(*ifclassq_deq_sc_func)(struct ifclassq *,
143 * possible by virtue of knowing the particular mbuf service class
359 extern errno_t ifclassq_enqueue(struct ifclassq *, struct mbuf *);
360 extern errno_t ifclassq_dequeue(struct ifclassq *, u_int32_t, struct mbuf **,
361 struct mbuf **, u_int32_t *, u_int32_t *);
363 u_int32_t, struct mbuf **, struc
[all...]
H A Dclassq_blue.h113 extern int blue_addq(struct blue *, class_queue_t *, struct mbuf *,
115 extern struct mbuf *blue_getq(struct blue *, class_queue_t *);
H A Dclassq_red.h151 extern int red_addq(red_t *, class_queue_t *, struct mbuf *, struct pf_mtag *);
152 extern struct mbuf *red_getq(red_t *, class_queue_t *);
H A Dclassq_rio.h127 extern int rio_addq(rio_t *, class_queue_t *, struct mbuf *, struct pf_mtag *);
128 extern struct mbuf *rio_getq(rio_t *, class_queue_t *);
/xnu-2422.115.4/bsd/sys/
H A Dprotosw.h82 struct mbuf;
116 (struct mbuf *, int len);
118 (struct mbuf *m, struct socket *so);
202 (struct mbuf *, int len);
204 (struct mbuf *m, struct socket *so);
319 * optval is a pointer to a mbuf-chain pointer, for value-return results.
320 * The protocol is responsible for disposal of the mbuf chain *optval
416 int (*pru_rcvoob)(struct socket *so, struct mbuf *m, int flags);
417 int (*pru_send)(struct socket *so, int flags, struct mbuf *m,
418 struct sockaddr *addr, struct mbuf *contro
[all...]
H A Dsocketvar.h88 struct mbuf;
127 struct mbuf *msgq_head; /* first mbuf in the queue */
128 struct mbuf *msgq_tail; /* last mbuf in the queue */
129 struct mbuf *msgq_lastmsg; /* last message in the queue */
141 /* mbuf flag used to indicate out of order data received */
191 struct mbuf *sb_mb; /* the mbuf chain */
192 struct mbuf *sb_mbtai
[all...]
/xnu-2422.115.4/bsd/net/
H A Dpktap.h132 extern void pktap_input(struct ifnet *, protocol_family_t, struct mbuf *, char *);
133 extern void pktap_output(struct ifnet *, protocol_family_t, struct mbuf *,
136 struct mbuf *, u_int32_t , int , struct ifnet *);
H A Dbpf_filter.c99 #include <sys/mbuf.h>
118 static u_int16_t m_xhalf(struct mbuf *m, bpf_u_int32 k, int *err);
119 static u_int32_t m_xword(struct mbuf *m, bpf_u_int32 k, int *err);
122 m_xword(struct mbuf *m, bpf_u_int32 k, int *err)
126 register struct mbuf *m0;
175 m_xhalf(struct mbuf *m, bpf_u_int32 k, int *err)
179 register struct mbuf *m0;
250 A = m_xword((struct mbuf *)(void *)p, k, &merr);
274 A = m_xhalf((struct mbuf *)(void *)p, k, &merr);
287 register struct mbuf *
[all...]
H A Draw_cb.h97 extern void raw_input(struct mbuf *, struct sockproto *, struct sockaddr *,
H A Draw_usrreq.c66 #include <sys/mbuf.h>
113 raw_input(struct mbuf *m0, struct sockproto *proto, struct sockaddr *src,
117 struct mbuf *m = m0;
149 struct mbuf *n;
154 n, (struct mbuf *)0, &error) != 0) {
166 m, (struct mbuf *)0, &error) != 0) {
288 raw_usend(struct socket *so, int flags, struct mbuf *m,
289 struct sockaddr *nam, struct mbuf *control, __unused struct proc *p)
/xnu-2422.115.4/bsd/netkey/
H A Dkey_debug.h75 struct mbuf;
80 extern void kdebug_mbufhdr(struct mbuf *);
81 extern void kdebug_mbuf(struct mbuf *);
H A Dkey.h70 extern struct mbuf *key_sp2msg(struct secpolicy *);
77 extern int key_parse(struct mbuf *, struct socket *);
79 extern void key_sa_recordxfer(struct secasvar *, struct mbuf *);
/xnu-2422.115.4/bsd/kern/
H A Duipc_mbuf2.c107 #include <sys/mbuf.h>
121 * ensure that [off, off + len) is contiguous on the mbuf chain "m".
130 struct mbuf *
131 m_pulldown(struct mbuf *m, int off, int len, int *offp)
133 struct mbuf *n, *o;
137 static struct mbuf *prev = NULL;
217 struct mbuf *t;
231 /* be sure to point non-empty mbuf */
236 return NULL; /* mbuf chain too short */
241 * if we got enough data on the mbuf "
[all...]

Completed in 77 milliseconds

12345678910