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

1234567891011>>

/darwin-on-arm/xnu/bsd/net/classq/
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 *);
H A Dclassq_blue.c97 #include <sys/mbuf.h>
137 static struct mbuf *blue_getq_flow(struct blue *, class_queue_t *,
213 blue_addq(struct blue *bp, class_queue_t *q, struct mbuf *m,
294 static struct mbuf *
299 struct mbuf *m;
314 struct mbuf *
325 struct mbuf *m;
H A Dclassq_util.c64 #include <sys/mbuf.h>
89 read_dsfield(struct mbuf *m, struct pf_mtag *t)
91 struct mbuf *m0;
98 /* verify that hdr is within the mbuf data */
139 write_dsfield(struct mbuf *m, struct pf_mtag *t, u_int8_t dsfield)
141 struct mbuf *m0;
147 /* verify that hdr is within the mbuf data */
208 mark_ecn(struct mbuf *m, struct pf_mtag *t, int flags)
210 struct mbuf *m0;
218 /* 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,
248 ifclassq_enqueue(struct ifclassq *ifq, struct mbuf *m)
273 ifclassq_dequeue(struct ifclassq *ifq, u_int32_t limit, struct mbuf **head,
274 struct mbuf **tail, u_int32_t *cnt, u_int32_t *len)
282 u_int32_t limit, struct mbuf **head, struct mbuf **tai
[all...]
/darwin-on-arm/xnu/bsd/net/
H A Draw_usrreq.c66 #include <sys/mbuf.h>
107 raw_input(struct mbuf *m0, struct sockproto *proto, struct sockaddr *src,
111 struct mbuf *m = m0;
143 struct mbuf *n;
148 n, (struct mbuf *)0, &error) != 0) {
160 m, (struct mbuf *)0, &error) != 0) {
282 raw_usend(struct socket *so, int flags, struct mbuf *m,
283 struct sockaddr *nam, struct mbuf *control, __unused struct proc *p)
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 static errno_t lo_framer(struct ifnet *, struct mbuf **,
160 lo_framer(struct ifnet *, struct mbuf **, const struct sockaddr *,
166 static int lo_output(struct ifnet *, struct mbuf *);
167 static errno_t lo_pre_enqueue(struct ifnet *, struct mbuf *);
169 static errno_t lo_pre_output(struct ifnet *, protocol_family_t, struct mbuf **,
171 static errno_t lo_input(struct ifnet *, protocol_family_t, struct mbuf *);
212 lo_demux(struct ifnet *ifp, struct mbuf *
[all...]
H A Dnet_osdep.c60 #include <sys/mbuf.h>
H A Dkext_net.c40 #include <sys/mbuf.h>
226 static int sym_fix_sbappend(struct sockbuf *, struct mbuf *, struct kextcb *);
231 static int sym_fix_sosend(struct socket *, struct sockaddr **, struct uio **, struct mbuf **,
232 struct mbuf **, int *, struct kextcb *);
286 static int sym_fix_sbappend(struct sockbuf *p1, struct mbuf *p2, struct kextcb *p3)
326 static int sym_fix_sosend(struct socket *p1, struct sockaddr **p2, struct uio **p3, struct mbuf **p4,
327 struct mbuf **p5, int *p6, struct kextcb *p7)
H A Dppp_deflate.c66 #include <sys/mbuf.h>
70 #define PACKETPTR struct mbuf *
107 static int z_compress(void *state, struct mbuf **mret,
108 struct mbuf *mp, int slen, int maxolen);
109 static void z_incomp(void *state, struct mbuf *dmsg);
110 static int z_decompress(void *state, struct mbuf *cmp, struct mbuf **dmpp);
263 struct mbuf **mret; /* compressed packet (out) */
264 struct mbuf *mp; /* uncompressed packet (in) */
270 struct mbuf *
[all...]
/darwin-on-arm/xnu/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);
272 altq_fairq_enqueue(struct ifaltq *altq, struct mbuf *m)
295 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);
208 altq_qfq_enqueue(struct ifaltq *altq, struct mbuf *m)
231 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 */
/darwin-on-arm/xnu/bsd/netinet6/
H A Droute6.c63 #include <sys/mbuf.h>
80 static int ip6_rthdr0(struct mbuf *, struct ip6_hdr *,
85 route6_input(struct mbuf **mp, int *offp, int proto)
89 struct mbuf *m = *mp;
139 * max mbuf m_pulldown can handle: MCLBYTES == usually 2048
179 struct mbuf *m;
/darwin-on-arm/xnu/bsd/kern/
H A Duipc_socket2.c78 #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 *);
119 /* Based on the number of mbuf clusters configured, high_sb_max and sb_max can get
627 * any associated data (mbuf's must be of type MT_SONAME).
631 * should be present (mbuf'
[all...]
H A Duipc_mbuf.c73 #include <sys/mbuf.h>
110 * object represents an mbuf structure. This cache preserves only
111 * the m_type field of the mbuf during its transactions.
126 * fields of the mbuf related to the external cluster are preserved
132 * fields of the mbuf related to the external cluster are preserved
143 * for all of the caches as the mbuf global lock is held most of the time.
278 * | mbuf addr | | mclaudit[i] |
324 static unsigned int mbuf_debug; /* patchable mbuf mcache flags */
331 MC_MBUF = 0, /* Regular mbuf */
335 MC_MBUF_CL, /* mbuf
[all...]
/darwin-on-arm/xnu/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 ipovly *,
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 Dkpi_ipfilter.c33 #include <sys/mbuf.h>
216 struct mbuf *m = (struct mbuf*)data;
270 struct mbuf *m = (struct mbuf*)data;
276 /* Make the IP header contiguous in the mbuf */
345 struct mbuf *m = (struct mbuf*)data;
351 /* Make the IP header contiguous in the mbuf */
394 * Send mbuf an
[all...]
H A Din_cksum.c64 #include <sys/mbuf.h>
113 u_int16_t inet_cksum_simple(struct mbuf *, int);
116 inet_cksum_simple(struct mbuf *m, int len)
146 extern int cpu_in_cksum(struct mbuf *m, int len, int off, uint32_t initial_sum);
149 inet_cksum(struct mbuf *m, unsigned int nxt, unsigned int skip,
156 panic("inet_cksum: mbuf len (%d) < off+len (%d+%d)\n",
165 panic("inet_cksum: bad mbuf chain");
178 inet_cksum(struct mbuf *m, unsigned int nxt, unsigned int skip,
192 panic("inet_cksum: mbuf len (%d) < off+len (%d+%d)\n",
201 panic("inet_cksum: bad mbuf chai
[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...]
/darwin-on-arm/xnu/security/
H A Dmac_framework.h101 struct mbuf;
210 int mac_ifnet_check_transmit(struct ifnet *ifp, struct mbuf *mbuf,
220 int mac_inpcb_check_deliver(struct inpcb *inp, struct mbuf *mbuf,
231 void mac_ipq_label_associate(struct mbuf *fragment, struct ipq *ipq);
232 int mac_ipq_label_compare(struct mbuf *fragment, struct ipq *ipq);
235 void mac_ipq_label_update(struct mbuf *fragment, struct ipq *ipq);
243 void mac_mbuf_label_associate_bpfdesc(struct bpf_d *bpf_d, struct mbuf *m);
244 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
537 mac_socket_check_deliver(struct socket *so, struct mbuf *mbuf) argument
545 label = mac_mbuf_to_label(mbuf);
549 (socket_t)so, so->so_label, mbuf, labe local
554 mac_socket_check_deliver(__unused struct socket *so, __unused struct mbuf *mbuf) argument
[all...]
/darwin-on-arm/xnu/bsd/netat/
H A Dadsp_InitGlobals.c44 #include <sys/mbuf.h>
H A Daurp_gdata.c48 #include <sys/mbuf.h>
/darwin-on-arm/xnu/bsd/netkey/
H A Dkeysock.c39 #include <sys/mbuf.h>
64 static int key_sendup0(struct rawcb *, struct mbuf *, int);
77 key_output(struct mbuf *m, struct socket *so)
80 key_output(struct mbuf *m, ...)
83 struct mbuf *m;
121 printf("key_output: can't pullup mbuf\n");
163 struct mbuf *m;
212 struct mbuf *m;
215 struct mbuf *n;
463 key_send(struct socket *so, int flags, struct mbuf *
[all...]

Completed in 176 milliseconds

1234567891011>>