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

1234567891011

/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Duipc_socket2.c78 #include <sys/mbuf.h>
103 static inline void sbcompress(struct sockbuf *, struct mbuf *, struct mbuf *);
106 struct mbuf *, struct mbuf *);
107 static int sbappendcontrol_internal(struct sockbuf *, struct mbuf *,
108 struct mbuf *);
547 * any associated data (mbuf's must be of type MT_SONAME).
551 * should be present (mbuf's must be of type MT_RIGHTS).
608 * Free mbufs held by a socket, and reserved mbuf spac
[all...]
H A Duipc_mbuf.c73 #include <sys/mbuf.h>
108 * object represents an mbuf structure. This cache preserves only
109 * the m_type field of the mbuf during its transactions.
124 * fields of the mbuf related to the external cluster are preserved
130 * fields of the mbuf related to the external cluster are preserved
141 * for all of the caches as the mbuf global lock is held most of the time.
275 * | mbuf addr | | mclaudit[i] |
319 static unsigned int mbuf_debug; /* patchable mbuf mcache flags */
323 MC_MBUF = 0, /* Regular mbuf */
327 MC_MBUF_CL, /* mbuf
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Dnd6.h49 struct mbuf *ln_hold; /* last packet until resolved/timeout */
378 struct mbuf *, struct sockaddr *, u_char *);
383 int nd6_output(struct ifnet *, struct ifnet *, struct mbuf *,
385 int nd6_storelladdr(struct ifnet *, struct rtentry *, struct mbuf *,
390 void nd6_na_input(struct mbuf *, int, int);
393 void nd6_ns_input(struct mbuf *, int, int);
402 void nd6_rs_input(struct mbuf *, int, int);
403 void nd6_ra_input(struct mbuf *, int, int);
411 struct mbuf *);
H A Dah_output.c42 #include <sys/mbuf.h>
81 static struct in_addr *ah4_finaldst(struct mbuf *);
153 * The mbuf passed must start with IPv4 header.
155 * assumes that the first mbuf contains IPv4 header + option only.
160 struct mbuf *m;
212 * grow the mbuf to accomodate AH.
222 panic("ah4_output: assumption failed (first mbuf length)");
224 struct mbuf *n;
374 struct mbuf *m;
376 struct mbuf *m
[all...]
H A Desp_rijndael.c38 #include <sys/mbuf.h>
84 * the mbuf chain passed in keeping the IP and ESP header's in place,
88 * the current source mbuf and the space remaining in the current
89 * destination mbuf. The crypto code requires data to be a multiples
93 * m = mbuf chain
98 * current mbuf.
99 * scut = last mbuf that contains headers to be retained
101 * s = the current mbuf
106 * d = current mbuf
113 struct mbuf *
[all...]
H A Dip6_input.c99 #include <sys/mbuf.h>
190 static struct ip6aux *ip6_setdstifaddr(struct mbuf *, struct in6_ifaddr *);
192 static int ip6_hopopts_input(u_int32_t *, u_int32_t *, struct mbuf **, int *);
194 static struct mbuf *ip6_pullexthdr(struct mbuf *, size_t, int);
356 struct mbuf *m;
398 * mbuf statistics
424 * L2 bridge code and some other code can return mbuf chain
429 struct mbuf *n;
814 /* ip6_hopopts_input() ensures that mbuf i
[all...]
H A Desp_output.c42 #include <sys/mbuf.h>
90 static int esp_output(struct mbuf *, u_char *, struct mbuf *,
187 * The mbuf (m) must start with IPv4 or IPv6 header.
188 * On failure, free the given mbuf and return NULL.
207 struct mbuf *m;
209 struct mbuf *md;
213 struct mbuf *n;
214 struct mbuf *mprev;
415 * grow the mbuf t
[all...]
H A Dipsec.c40 #include <sys/mbuf.h>
212 struct mbuf *, int);
213 static int ipsec4_setspidx_inpcb(struct mbuf *, struct inpcb *pcb);
215 static int ipsec6_setspidx_in6pcb(struct mbuf *, struct in6pcb *pcb);
217 static int ipsec_setspidx(struct mbuf *, struct secpolicyindex *, int);
218 static void ipsec4_get_ulp(struct mbuf *m, struct secpolicyindex *, int);
219 static int ipsec4_setspidx_ipaddr(struct mbuf *, struct secpolicyindex *);
221 static void ipsec6_get_ulp(struct mbuf *m, struct secpolicyindex *, int);
222 static int ipsec6_setspidx_ipaddr(struct mbuf *, struct secpolicyindex *);
229 static int ipsec_get_policy(struct secpolicy *pcb_sp, struct mbuf **m
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dif_disc.c72 #include <sys/mbuf.h>
90 static int discoutput(struct ifnet *, struct mbuf *, struct sockaddr *,
141 register struct mbuf *m;
H A Dnet_osdep.c60 #include <sys/mbuf.h>
H A Draw_cb.c161 #include <sys/mbuf.h>
164 raw_bind(struct socket *so, struct mbuf *nam)
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...]
H A Dif_dummy.c78 #include <sys/mbuf.h>
113 int dummyoutput(struct ifnet *, register struct mbuf *, struct sockaddr *,
170 register struct mbuf *m;
H A Dbridge.h120 /* bdg_forward frees the mbuf if necessary, returning null */
121 struct mbuf *bdg_forward(struct mbuf *m0, struct ether_header *eh, struct ifnet *dst);
/macosx-10.5.8/xnu-1228.15.4/security/
H A Dmac_socket.c243 mac_socketpeer_label_associate_mbuf(struct mbuf *mbuf, struct socket *so) argument
250 label = mac_mbuf_to_label(mbuf);
253 MAC_PERFORM(socketpeer_label_associate_mbuf, mbuf, label,
258 mac_socketpeer_label_associate_mbuf(__unused struct mbuf *mbuf, argument
543 mac_socket_check_deliver(struct socket *so, struct mbuf *mbuf) argument
551 label = mac_mbuf_to_label(mbuf);
555 (socket_t)so, so->so_label, mbuf, labe local
560 mac_socket_check_deliver(__unused struct socket *so, __unused struct mbuf *mbuf) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/
H A Dadsp_InitGlobals.c44 #include <sys/mbuf.h>
H A Daurp_gdata.c48 #include <sys/mbuf.h>
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_dummynet.h145 * Packets processed by dummynet have an mbuf tag associated with
243 struct mbuf *head, *tail ; /* queue of packets */
356 struct mbuf *head, *tail ; /* packets in delay line */
386 typedef int ip_dn_io_t(struct mbuf *m, int pipe_nr, int dir,
398 ip_dn_claim_rule(struct mbuf *m)
H A Dip_mroute.c52 #include <sys/mbuf.h>
93 struct mbuf *m, struct ip_moptions *imo);
135 __unused struct mbuf *m, __unused ip_moptions *imo)
140 int (*ip_mforward)(struct ip *, struct ifnet *, struct mbuf *,
152 rsvp_input(struct mbuf *m, int iphlen) /* XXX must fixup manually */
173 void ipip_input(struct mbuf *m, int iphlen) { /* XXX must fixup manually */
228 extern void X_ipip_input(struct mbuf *m, int iphlen);
301 static int X_ip_mforward(struct ip *ip, struct ifnet *ifp, struct mbuf *m, struct ip_moptions *imo);
315 static int socket_send(struct socket *, struct mbuf *, struct sockaddr_in *);
318 static int ip_mdq(struct mbuf *, struc
[all...]
H A Dkpi_ipfilter.c33 #include <sys/mbuf.h>
209 struct mbuf *m = (struct mbuf*)data;
267 struct mbuf *m = (struct mbuf*)data;
272 /* Make the IP header contiguous in the mbuf */
337 struct mbuf *m = (struct mbuf*)data;
342 /* Make the IP header contiguous in the mbuf */
410 struct mbuf *
[all...]
H A Din_cksum.c64 #include <sys/mbuf.h>
112 u_int16_t inet_cksum_simple(struct mbuf *, int);
115 inet_cksum_simple(struct mbuf *m, int len)
148 inet_cksum(struct mbuf *m, unsigned int nxt, unsigned int skip,
160 panic("inet_cksum: mbuf len (%d) < off+len (%d+%d)\n",
169 panic("inet_cksum: bad mbuf chain");
238 inet_cksum(struct mbuf *m, unsigned int nxt, unsigned int skip,
252 panic("inet_cksum: mbuf len (%d) < off+len (%d+%d)\n",
261 panic("inet_cksum: bad mbuf chain");
286 * The first byte of this mbuf i
[all...]
H A Din_var.h308 void ip_input(struct mbuf *);
311 int ipflow_fastforward(struct mbuf *);
312 void ipflow_create(const struct route *, struct mbuf *);
H A Dip_mroute.h258 struct mbuf *m; /* A copy of the packet */
290 struct mbuf *tbf_q; /* Packet queue */
291 struct mbuf *tbf_t; /* tail-insertion pointer */
/macosx-10.5.8/xnu-1228.15.4/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 115 milliseconds

1234567891011