/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | in6_cksum.c | 69 #include <sys/mbuf.h> 95 inet6_cksum(struct mbuf *m, unsigned int nxt, unsigned int off, 122 panic("inet6_cksum: mbuf len (%d) < off+len (%d+%d)\n", 155 * Secondly calculate a summary of the first mbuf excluding offset. 228 * The first byte of this mbuf is the continuation 229 * of a word spanning between this mbuf and the 230 * last mbuf. 233 * mbuf. 295 /* The last mbuf has odd # of bytes. Follow the
|
H A D | frag6.c | 36 #include <sys/mbuf.h> 138 struct mbuf **mp; 141 struct mbuf *m = *mp, *t; 321 struct mbuf *merr = IP6_REASS_MBUF(af6); 578 struct mbuf *m = IP6_REASS_MBUF(af6);
|
H A D | ah_input.c | 40 #include <sys/mbuf.h> 100 ah4_input(struct mbuf *m, int off) 467 * the packet is placed in a single external mbuf. 488 struct mbuf *n; 559 struct mbuf **mp; 562 struct mbuf *m = *mp; 870 * the packet is placed in a single mbuf. 891 struct mbuf *n; 947 struct mbuf *m;
|
H A D | esp_input.c | 40 #include <sys/mbuf.h> 113 struct mbuf *m; 559 struct mbuf **mp; 562 struct mbuf *m = *mp; 877 struct mbuf *n; 893 * mbuf. We need to make that sure. 898 struct mbuf *n = NULL; 914 printf("esp6_input: mbuf allocation failed\n"); 979 struct mbuf *m;
|
H A D | ip6_forward.c | 37 #include <sys/mbuf.h> 90 ip6_forward(struct mbuf *m, struct route_in6 *ip6forward_rt, 97 struct mbuf *mcopy = NULL; 169 * processing may modify the mbuf. 275 /* mbuf is already reclaimed in ipsec6_output_tunnel. */
|
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | bridge.c | 100 #include <sys/mbuf.h> 635 struct mbuf * 636 bdg_forward(struct mbuf *m0, struct ether_header *const eh, struct ifnet *dst) 641 int shared = bdg_copy ; /* someone else is using the mbuf */ 649 * XXX eh is usually a pointer within the mbuf (some ethernet drivers 650 * do that), so we better copy it before doing anything with the mbuf, 661 shared = 0 ; /* For sure this is our own mbuf. */ 709 * the packet (shared==1) also better be in the first mbuf. 738 * If we get here, the firewall has passed the pkt, but the mbuf 753 * case of eh pointing already into the original mbuf [all...] |
H A D | if_fddisubr.c | 71 #include <sys/mbuf.h> 129 struct mbuf *m0; 136 register struct mbuf *m = m0; 327 * Add local net header. If no space in first mbuf, 352 struct mbuf *n = m_copy(m, 0, (int)M_COPYALL); 391 * the packet is in the mbuf chain m without 398 struct mbuf *m;
|
H A D | bpf.c | 88 #include <sys/mbuf.h> 195 struct mbuf **, struct sockaddr *, int *); 210 static int bpf_tap_callback(struct ifnet *ifp, struct mbuf *m); 246 bpf_movein(struct uio *uio, int linktype, struct mbuf **mp, struct sockaddr *sockp, int *datlen) 248 struct mbuf *m; 327 * Also, we are careful to leave room at the front of the mbuf 828 struct mbuf *m = NULL; 891 * The driver frees the mbuf. 1480 * Copy data from an mbuf chain into a buffer. This code is derived 1486 struct mbuf * [all...] |
H A D | ether_if_module.c | 68 #include <sys/mbuf.h> 510 struct mbuf **m, 533 struct mbuf *n = m_copy(*m, 0, (int)M_COPYALL); 547 * Add local net header. If no space in first mbuf,
|
H A D | ether_inet_pr_module.c | 73 #include <sys/mbuf.h> 124 struct mbuf *m) 172 * the packet is in the mbuf chain m without 227 register struct mbuf *m = *m0; 420 /* Move the data pointer in the mbuf to the end, aligned to 4 bytes */ 429 * callee frees the original mbuf when allocation fails.
|
H A D | if_ethersubr.c | 68 #include <sys/mbuf.h>
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | uipc_socket.c | 80 #include <sys/mbuf.h> 230 static int sodelayed_copy(struct socket *, struct uio *, struct mbuf **, int *); 1420 * otherwise by the mbuf chain "top" (which must be null 1421 * if uio is not). Data provided in mbuf chain must be small 1428 * MSG_HOLD: go thru most of sosend(), but just enqueue the mbuf 1430 * point at the mbuf chain being constructed and go from there. 1473 struct mbuf *top, struct mbuf *control, int flags) 1475 struct mbuf **mp; 1476 register struct mbuf * [all...] |
H A D | uipc_usrreq.c | 78 #include <sys/mbuf.h> 136 static void unp_scan(struct mbuf *, void (*)(struct fileglob *)); 140 static int unp_internalize(struct mbuf *, proc_t); 354 uipc_send(struct socket *so, int flags, struct mbuf *m, struct sockaddr *nam, 355 struct mbuf *control, proc_t p) 1229 unp_externalize(struct mbuf *rights) 1331 unp_internalize(struct mbuf *control, proc_t p) 1609 unp_dispose(struct mbuf *m) 1631 unp_scan(struct mbuf *m0, void (*op)(struct fileglob *)) 1633 struct mbuf * [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/ |
H A D | sys_glue.c | 45 #include <sys/mbuf.h> 493 first mbuf contains ioc command */ 496 gbuf_wset(m, sizeof(ioc_t)); /* mbuf->m_len */ 497 gbuf_set_type(m, MSG_IOCTL); /* mbuf->m_type */ 500 second mbuf contains the actual ASP command */ 509 gbuf_wset(gbuf_cont(m), user_ioccmd.ic_len); /* mbuf->m_len */ 1002 Used to allocate an mbuf when there is the possibility that it may 1006 struct mbuf *m_lgbuf_alloc(size, wait) 1009 struct mbuf *m; 1024 standard mbuf allocatio [all...] |
H A D | adsp_RxAttn.c | 44 #include <sys/mbuf.h>
|
H A D | adsp_Timer.c | 50 #include <sys/mbuf.h>
|
H A D | adsp_Write.c | 48 #include <sys/mbuf.h> 84 /* The 1st mbuf in the pb->mp chain (mb) is the adspcmd structure. 85 The 2nd mbuf (nmb) will be the beginning of the data. */
|
H A D | adsp_reset.c | 49 #include <sys/mbuf.h>
|
H A D | atp_alloc.c | 46 #include <sys/mbuf.h> 168 gbuf_freem(rcbp->rc_xmt); /* *** bad free is the second mbuf in this chain *** */
|
H A D | aurp_misc.c | 48 #include <sys/mbuf.h>
|
H A D | aurp_rx.c | 48 #include <sys/mbuf.h>
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | raw_ip.c | 73 #include <sys/mbuf.h> 189 * mbuf chain. 193 struct mbuf *m; 199 struct mbuf *opts = 0; 218 struct mbuf *n = m_copy(m, 0, (int)M_COPYALL); 316 register struct mbuf *m; 332 * Otherwise, allocate an mbuf for a header and fill it in. 767 rip_send(struct socket *so, __unused int flags, struct mbuf *m, struct sockaddr *nam, 768 __unused struct mbuf *control, __unused struct proc *p)
|
H A D | ip_dummynet.c | 85 #include <sys/mbuf.h> 421 * Return the mbuf tag holding the dummynet state. As an optimization 426 dn_tag_get(struct mbuf *m) 458 struct mbuf *m ; 494 * contiguous in the first mbuf header. Insure this is true. 550 move_pkt(struct mbuf *pkt, struct dn_flow_queue *q, 579 struct mbuf *pkt; 669 struct mbuf *pkt = q->head; 1144 * m the mbuf with the packet 1155 dummynet_io(struct mbuf * [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/fifofs/ |
H A D | fifo_vnops.c | 333 error = soreceive(rso, (struct sockaddr **)0, uio, (struct mbuf **)0, 334 (struct mbuf **)0, &rflags); 365 (struct mbuf *)0, (ap->a_ioflag & IO_NDELAY) ? MSG_NBIO : 0);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ |
H A D | unix_startup.c | 43 #include <sys/mbuf.h> 214 /* 512 MB hard limit on size of the mbuf pool */
|