Searched refs:mbuf (Results 51 - 75 of 244) sorted by relevance

12345678910

/xnu-2422.115.4/bsd/net/altq/
H A Daltq_fairq.c100 #include <sys/mbuf.h>
115 static int altq_fairq_enqueue(struct ifaltq *, struct mbuf *);
116 static struct mbuf *altq_fairq_dequeue(struct ifaltq *, enum altdq_op);
276 altq_fairq_enqueue(struct ifaltq *altq, struct mbuf *m)
299 static struct mbuf *
H A Daltq_priq.c67 #include <sys/mbuf.h>
82 static int altq_priq_enqueue(struct ifaltq *, struct mbuf *);
83 static struct mbuf *altq_priq_dequeue(struct ifaltq *, enum altdq_op);
238 altq_priq_enqueue(struct ifaltq *altq, struct mbuf *m)
261 static struct mbuf *
H A Daltq_qfq.c38 #include <sys/mbuf.h>
53 static int altq_qfq_enqueue(struct ifaltq *, struct mbuf *);
54 static struct mbuf *altq_qfq_dequeue(struct ifaltq *, enum altdq_op);
212 altq_qfq_enqueue(struct ifaltq *altq, struct mbuf *m)
235 static struct mbuf *
H A Dif_altq.h74 typedef int (*altq_enq_func)(struct ifaltq *, struct mbuf *);
75 typedef struct mbuf *(*altq_deq_func)(struct ifaltq *, enum altdq_op);
76 typedef struct mbuf *(*altq_deq_sc_func)(struct ifaltq *,
107 ALTDQ_REMOVE = CLASSQDQ_REMOVE, /* dequeue mbuf from the queue */
108 ALTDQ_POLL = CLASSQDQ_POLL, /* don't dequeue mbuf from the queue */
H A Daltq_cbq.c67 #include <sys/mbuf.h>
83 static int altq_cbq_enqueue(struct ifaltq *, struct mbuf *);
84 static struct mbuf *altq_cbq_dequeue(struct ifaltq *, enum altdq_op);
244 altq_cbq_enqueue(struct ifaltq *altq, struct mbuf *m)
267 static struct mbuf *
H A Daltq_hfsc.c69 #include <sys/mbuf.h>
85 static int altq_hfsc_enqueue(struct ifaltq *, struct mbuf *);
86 static struct mbuf *altq_hfsc_dequeue(struct ifaltq *, enum altdq_op);
262 altq_hfsc_enqueue(struct ifaltq *altq, struct mbuf *m)
285 static struct mbuf *
/xnu-2422.115.4/bsd/netinet/
H A Dtcp_lro.c32 #include <sys/mbuf.h>
90 static void lro_update_stats(struct mbuf*);
91 static void lro_update_flush_stats(struct mbuf *);
94 static void lro_proto_input(struct mbuf *);
96 static struct mbuf *lro_tcp_xsum_validate(struct mbuf*, struct ip *,
98 static struct mbuf *tcp_lro_process_pkt(struct mbuf*, struct ip*, struct tcphdr*,
223 tcp_lro_coalesce(int flow_id, struct mbuf *lro_mb, struct tcphdr *tcphdr,
228 struct mbuf *las
[all...]
H A Dip_mroute.c52 #include <sys/mbuf.h>
83 struct mbuf *m, struct ip_moptions *imo);
125 __unused struct mbuf *m, __unused ip_moptions *imo)
130 int (*ip_mforward)(struct ip *, struct ifnet *, struct mbuf *,
142 rsvp_input(struct mbuf *m, int iphlen) /* XXX must fixup manually */
163 void ipip_input(struct mbuf *m, int iphlen) { /* XXX must fixup manually */
218 extern void X_ipip_input(struct mbuf *m, int iphlen);
291 static int X_ip_mforward(struct ip *ip, struct ifnet *ifp, struct mbuf *m, struct ip_moptions *imo);
305 static int socket_send(struct socket *, struct mbuf *, struct sockaddr_in *);
308 static int ip_mdq(struct mbuf *, struc
[all...]
H A Dkpi_ipfilter.c33 #include <sys/mbuf.h>
214 struct mbuf *m = (struct mbuf*)data;
268 struct mbuf *m = (struct mbuf*)data;
274 /* Make the IP header contiguous in the mbuf */
342 struct mbuf *m = (struct mbuf*)data;
348 /* Make the IP header contiguous in the mbuf */
391 * Send mbuf an
[all...]
H A Dip_mroute.h264 struct mbuf *m; /* A copy of the packet */
296 struct mbuf *tbf_q; /* Packet queue */
297 struct mbuf *tbf_t; /* tail-insertion pointer */
/xnu-2422.115.4/security/
H A Dmac_framework.h103 struct mbuf;
215 int mac_ifnet_check_transmit(struct ifnet *ifp, struct mbuf *mbuf,
225 int mac_inpcb_check_deliver(struct inpcb *inp, struct mbuf *mbuf,
236 void mac_ipq_label_associate(struct mbuf *fragment, struct ipq *ipq);
237 int mac_ipq_label_compare(struct mbuf *fragment, struct ipq *ipq);
240 void mac_ipq_label_update(struct mbuf *fragment, struct ipq *ipq);
248 void mac_mbuf_label_associate_bpfdesc(struct bpf_d *bpf_d, struct mbuf *m);
249 void mac_mbuf_label_associate_ifnet(struct ifnet *ifp, struct mbuf *
[all...]
H A Dmac_socket.c237 mac_socketpeer_label_associate_mbuf(struct mbuf *mbuf, struct socket *so) argument
244 label = mac_mbuf_to_label(mbuf);
247 MAC_PERFORM(socketpeer_label_associate_mbuf, mbuf, label,
252 mac_socketpeer_label_associate_mbuf(__unused struct mbuf *mbuf, argument
539 mac_socket_check_deliver(struct socket *so, struct mbuf *mbuf) argument
547 label = mac_mbuf_to_label(mbuf);
551 (socket_t)so, so->so_label, mbuf, labe local
556 mac_socket_check_deliver(__unused struct socket *so, __unused struct mbuf *mbuf) argument
[all...]
/xnu-2422.115.4/bsd/net/classq/
H A Dclassq_blue.c97 #include <sys/mbuf.h>
139 static struct mbuf *blue_getq_flow(struct blue *, class_queue_t *,
223 blue_addq(struct blue *bp, class_queue_t *q, struct mbuf *m,
310 static struct mbuf *
315 struct mbuf *m;
330 struct mbuf *
341 struct mbuf *m;
H A Dclassq_util.c64 #include <sys/mbuf.h>
90 read_dsfield(struct mbuf *m, struct pf_mtag *t)
92 struct mbuf *m0;
99 /* verify that hdr is within the mbuf data */
140 write_dsfield(struct mbuf *m, struct pf_mtag *t, u_int8_t dsfield)
142 struct mbuf *m0;
148 /* verify that hdr is within the mbuf data */
209 mark_ecn(struct mbuf *m, struct pf_mtag *t, int flags)
211 struct mbuf *m0;
219 /* verify that hdr is within the mbuf dat
[all...]
H A Dclassq_subr.c31 #include <sys/mbuf.h>
61 u_int32_t, struct mbuf **, struct mbuf **, u_int32_t *, u_int32_t *,
63 static struct mbuf *ifclassq_poll_common(struct ifclassq *,
65 static struct mbuf *ifclassq_tbr_dequeue_common(struct ifclassq *, int,
262 ifclassq_enqueue(struct ifclassq *ifq, struct mbuf *m)
287 ifclassq_dequeue(struct ifclassq *ifq, u_int32_t limit, struct mbuf **head,
288 struct mbuf **tail, u_int32_t *cnt, u_int32_t *len)
296 u_int32_t limit, struct mbuf **head, struct mbuf **tai
[all...]
/xnu-2422.115.4/bsd/net/
H A Dif_loop.c83 #include <sys/mbuf.h>
130 struct mbuf *_n; \
152 static errno_t lo_demux(struct ifnet *, struct mbuf *, char *,
155 lo_framer(struct ifnet *, struct mbuf **, const struct sockaddr *,
160 static int lo_output(struct ifnet *, struct mbuf *);
161 static errno_t lo_pre_enqueue(struct ifnet *, struct mbuf *);
163 static errno_t lo_pre_output(struct ifnet *, protocol_family_t, struct mbuf **,
165 static errno_t lo_input(struct ifnet *, protocol_family_t, struct mbuf *);
206 lo_demux(struct ifnet *ifp, struct mbuf *m, char *frame_header,
219 lo_framer(struct ifnet *ifp, struct mbuf **
[all...]
/xnu-2422.115.4/bsd/kern/
H A Duipc_mbuf.c73 #include <sys/mbuf.h>
113 * object represents an mbuf structure. This cache preserves only
114 * the m_type field of the mbuf during its transactions.
129 * fields of the mbuf related to the external cluster are preserved
135 * fields of the mbuf related to the external cluster are preserved
146 * for all of the caches as the mbuf global lock is held most of the time.
281 * | mbuf addr | | mclaudit[i] |
327 static unsigned int mbuf_debug; /* patchable mbuf mcache flags */
334 MC_MBUF = 0, /* Regular mbuf */
338 MC_MBUF_CL, /* mbuf
[all...]
H A Duipc_socket2.c77 #include <sys/mbuf.h>
106 static inline void sbcompress(struct sockbuf *, struct mbuf *, struct mbuf *);
109 struct mbuf *, struct mbuf *);
110 static int sbappendcontrol_internal(struct sockbuf *, struct mbuf *,
111 struct mbuf *);
121 * Based on the number of mbuf clusters configured, high_sb_max and sb_max can
598 * any associated data (mbuf's must be of type MT_SONAME).
602 * should be present (mbuf'
[all...]
/xnu-2422.115.4/bsd/netinet6/
H A Din6_cksum.c124 #include <sys/mbuf.h>
188 inet6_cksum(struct mbuf *m, uint32_t nxt, uint32_t off, uint32_t len)
203 * the caller setting m_pkthdr.len correctly, if the mbuf is
207 panic("%s: mbuf %p pkt too short (%d) for IPv6 header",
H A Dah_output.c70 #include <sys/mbuf.h>
109 static struct in_addr *ah4_finaldst(struct mbuf *);
181 * The mbuf passed must start with IPv4 header.
183 * assumes that the first mbuf contains IPv4 header + option only.
188 struct mbuf *m;
240 * grow the mbuf to accomodate AH.
250 panic("ah4_output: assumption failed (first mbuf length)");
252 struct mbuf *n;
402 struct mbuf *m;
404 struct mbuf *m
[all...]
H A Desp_rijndael.c66 #include <sys/mbuf.h>
114 * the mbuf chain passed in keeping the IP and ESP header's in place,
118 * the current source mbuf and the space remaining in the current
119 * destination mbuf. The crypto code requires data to be a multiples
123 * m = mbuf chain
128 * current mbuf.
129 * scut = last mbuf that contains headers to be retained
131 * s = the current mbuf
136 * d = current mbuf
143 struct mbuf *
[all...]
H A Dipsec.c68 #include <sys/mbuf.h>
240 static int ipsec_setspidx_interface(struct secpolicyindex *, u_int, struct mbuf *,
243 struct mbuf *, int);
244 static int ipsec4_setspidx_inpcb(struct mbuf *, struct inpcb *pcb);
246 static int ipsec6_setspidx_in6pcb(struct mbuf *, struct in6pcb *pcb);
248 static int ipsec_setspidx(struct mbuf *, struct secpolicyindex *, int, int);
249 static void ipsec4_get_ulp(struct mbuf *m, struct secpolicyindex *, int);
250 static int ipsec4_setspidx_ipaddr(struct mbuf *, struct secpolicyindex *);
252 static void ipsec6_get_ulp(struct mbuf *m, struct secpolicyindex *, int);
253 static int ipsec6_setspidx_ipaddr(struct mbuf *, struc
[all...]
H A Dip6_input.c96 #include <sys/mbuf.h>
208 static int ip6_hopopts_input(u_int32_t *, u_int32_t *, struct mbuf **, int *);
210 static struct mbuf *ip6_pullexthdr(struct mbuf *, size_t, int);
232 * copy the contents of the mbuf chain into a new chain, and free the original
233 * one. Create some head room in the first mbuf of the new chain, in case
245 struct mbuf *_n; \
447 ip6_input(struct mbuf *m)
533 * mbuf statistics
568 * L2 bridge code and some other code can return mbuf chai
[all...]
H A Desp_output.c70 #include <sys/mbuf.h>
118 static int esp_output(struct mbuf *, u_char *, struct mbuf *,
215 * The mbuf (m) must start with IPv4 or IPv6 header.
216 * On failure, free the given mbuf and return NULL.
235 struct mbuf *m;
237 struct mbuf *md;
241 struct mbuf *n;
242 struct mbuf *mprev;
443 * grow the mbuf t
[all...]
/xnu-2422.115.4/bsd/netkey/
H A Dkeysock.c39 #include <sys/mbuf.h>
66 static int key_sendup0(struct rawcb *, struct mbuf *, int);
80 key_output(struct mbuf *m, struct socket *so)
83 key_output(struct mbuf *m, ...)
86 struct mbuf *m;
124 printf("key_output: can't pullup mbuf\n");
166 struct mbuf *m;
215 struct mbuf *m;
218 struct mbuf *n;
466 key_send(struct socket *so, int flags, struct mbuf *
[all...]

Completed in 87 milliseconds

12345678910