Searched refs:mbuf (Results 1 - 25 of 125) sorted by relevance

12345

/external/chromium_org/third_party/usrsctp/usrsctplib/netinet6/
H A Dsctp6_var.h50 int sctp6_usrreq(struct socket *, int, struct mbuf *, struct mbuf *, struct mbuf *);
54 int sctp6_input(struct mbuf **, int *);
55 int sctp6_input_with_port(struct mbuf **, int *, uint16_t);
59 int sctp6_input __P((struct mbuf **, int *, int));
60 int sctp6_input_with_port __P((struct mbuf **, int *, uint16_t));
62 int sctp6_input(struct mbuf **, int *, int);
63 int sctp6_input_with_port(struct mbuf **, int *, uint16_t);
67 __P((struct sctp_inpcb *, struct mbuf *, struc
[all...]
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
H A Dsctp_crc32.h43 uint32_t sctp_calculate_cksum(struct mbuf *, uint32_t);
46 void sctp_delayed_cksum(struct mbuf *, uint32_t offset);
51 uint32_t sctp_calculate_cksum(struct mbuf *, uint32_t);
H A Dsctp_output.h46 struct mbuf *
50 struct mbuf *m_at,
86 sctp_send_initiate_ack(struct sctp_inpcb *, struct sctp_tcb *, struct mbuf *,
95 struct mbuf *
96 sctp_arethere_unrecognized_parameters(struct mbuf *, int, int *,
98 void sctp_queue_op_err(struct sctp_tcb *, struct mbuf *);
101 sctp_send_cookie_echo(struct mbuf *, int, struct sctp_tcb *,
107 sctp_send_heartbeat_ack(struct sctp_tcb *, struct mbuf *, int, int,
145 sctp_output(struct sctp_inpcb *, struct mbuf *, struct sockaddr *,
146 struct mbuf *, struc
[all...]
H A Dsctputil.h51 struct mbuf *sctp_m_free(struct mbuf *m);
52 void sctp_m_freem(struct mbuf *m);
123 struct mbuf *m,
141 uint32_t sctp_calculate_len(struct mbuf *);
143 caddr_t sctp_m_getptr(struct mbuf *, int, int, uint8_t *);
146 sctp_get_next_param(struct mbuf *, int,
149 int sctp_add_pad_tombuf(struct mbuf *, int);
151 int sctp_pad_lastmbuf(struct mbuf *, int, struct mbuf *);
[all...]
H A Dsctp_asconf.h48 extern struct mbuf *sctp_compose_asconf(struct sctp_tcb *, int *, int);
51 sctp_handle_asconf(struct mbuf *, unsigned int, struct sockaddr *,
55 sctp_handle_asconf_ack(struct mbuf *, int, struct sctp_asconf_ack_chunk *,
79 sctp_check_address_list(struct sctp_tcb *, struct mbuf *, int, int,
H A Dsctp_bsd_addr.h57 void sctp_packet_log(struct mbuf *m);
/external/qemu/slirp/
H A Dmbuf.h29 * @(#)mbuf.h 8.3 (Berkeley) 1/21/94
30 * mbuf.h,v 1.9 1994/11/14 13:54:20 bde Exp
39 #define MINCSIZE 4096 /* Amount to increase mbuf if too small */
43 * mtod(m,t) - convert mbuf pointer to data pointer of correct type
44 * dtom(x) - convert data pointer within mbuf to mbuf pointer (XXX)
47 /* #define dtom(x) ((struct mbuf *)((int)(x) & ~(M_SIZE-1))) */
50 * Only one mbuf is ever used in a chain, for each "cell" of data.
58 /* header at beginning of each mbuf: */
60 struct mbuf *mh_nex
87 struct mbuf { struct
[all...]
H A Dif.h37 extern struct mbuf if_fastq; /* fast queue (for interactive data) */
38 extern struct mbuf if_batchq; /* queue for non-interactive data */
39 extern struct mbuf *next_m;
H A Dmbuf.c9 * mbuf's in SLiRP are much simpler than the real mbufs in
12 * chained together. If there's more data than the mbuf
21 struct mbuf m_freelist, m_usedlist;
39 * Get an mbuf from the free list, if there are none
46 struct mbuf *
49 register struct mbuf *m;
55 m = (struct mbuf *)malloc(SLIRP_MSIZE);
83 m_free(struct mbuf *m)
112 * Copy data from one mbuf to the end of
113 * the other.. if result is too big for one mbuf, mallo
[all...]
H A Dtftp.h33 void tftp_input(struct mbuf *m);
H A Dudp.h97 struct mbuf;
100 void udp_input _P((register struct mbuf *, int));
101 int udp_output _P((struct socket *, struct mbuf *, struct sockaddr_in *));
105 int udp_output2(struct socket *so, struct mbuf *m,
H A Dif.c12 struct mbuf if_fastq; /* fast queue (for interactive data) */
13 struct mbuf if_batchq; /* queue for non-interactive data */
14 struct mbuf *next_m; /* Pointer to next mbuf to output */
19 ifs_insque(struct mbuf *ifm, struct mbuf *ifmhead)
28 ifs_remque(struct mbuf *ifm)
136 if_output(struct socket *so, struct mbuf *ifm)
138 struct mbuf *ifq;
146 * First remove the mbuf fro
[all...]
H A Dsbuf.h27 void sbappend _P((struct socket *, struct mbuf *));
/external/qemu/slirp-android/
H A Dmbuf.h29 * @(#)mbuf.h 8.3 (Berkeley) 1/21/94
30 * mbuf.h,v 1.9 1994/11/14 13:54:20 bde Exp
39 #define MINCSIZE 4096 /* Amount to increase mbuf if too small */
43 * mtod(m,t) - convert mbuf pointer to data pointer of correct type
44 * dtom(x) - convert data pointer within mbuf to mbuf pointer (XXX)
47 /* #define dtom(x) ((struct mbuf *)((int)(x) & ~(M_SIZE-1))) */
50 * Only one mbuf is ever used in a chain, for each "cell" of data.
58 /* header at beginning of each mbuf: */
60 struct mbuf *mh_nex
87 struct mbuf { struct
[all...]
H A Dif.h37 extern struct mbuf if_fastq; /* fast queue (for interactive data) */
38 extern struct mbuf if_batchq; /* queue for non-interactive data */
39 extern struct mbuf *next_m;
H A Dmbuf.c9 * mbuf's in SLiRP are much simpler than the real mbufs in
12 * chained together. If there's more data than the mbuf
21 struct mbuf m_freelist, m_usedlist;
39 * Get an mbuf from the free list, if there are none
46 struct mbuf *
49 register struct mbuf *m;
55 m = (struct mbuf *)malloc(SLIRP_MSIZE);
83 m_free(struct mbuf *m)
112 * Copy data from one mbuf to the end of
113 * the other.. if result is too big for one mbuf, mallo
[all...]
H A Dtftp.h33 void tftp_input(struct mbuf *m);
H A Dudp.h95 struct mbuf;
98 void udp_input _P((register struct mbuf *, int));
99 int udp_output_ _P((struct socket *, struct mbuf *, SockAddress *));
105 int udp_output2_(struct socket *so, struct mbuf *m,
H A Dif.c12 struct mbuf if_fastq; /* fast queue (for interactive data) */
13 struct mbuf if_batchq; /* queue for non-interactive data */
14 struct mbuf *next_m; /* Pointer to next mbuf to output */
19 ifs_insque(struct mbuf *ifm, struct mbuf *ifmhead)
28 ifs_remque(struct mbuf *ifm)
136 if_output(struct socket *so, struct mbuf *ifm)
138 struct mbuf *ifq;
146 * First remove the mbuf fro
[all...]
H A Dslirp.h165 #include "mbuf.h"
228 int cksum(struct mbuf *m, int len);
232 void if_output _P((struct socket *, struct mbuf *));
236 void ip_input _P((struct mbuf *));
238 void ip_stripoptions _P((register struct mbuf *, struct mbuf *));
241 int ip_output _P((struct socket *, struct mbuf *));
244 void tcp_input _P((register struct mbuf *, int, struct socket *));
254 void tcp_respond _P((struct tcpcb *, register struct tcpiphdr *, register struct mbuf *, tcp_seq, tcp_seq, int));
262 int tcp_emu _P((struct socket *, struct mbuf *));
[all...]
H A Dsbuf.h27 void sbappend _P((struct socket *, struct mbuf *));
/external/emma/core/java12/com/vladium/util/
H A DByteArrayOStream.java53 byte [] mbuf = m_buf;
54 final int mbuflen = mbuf.length;
61 for (int i = 0; i < pos; ++ i) newbuf [i] = mbuf [i];
63 System.arraycopy (mbuf, 0, newbuf, 0, pos);
65 m_buf = mbuf = newbuf;
68 mbuf [pos] = (byte) b1;
69 mbuf [pos + 1] = (byte) b2;
77 byte [] mbuf = m_buf;
78 final int mbuflen = mbuf.length;
85 for (int i = 0; i < pos; ++ i) newbuf [i] = mbuf [
[all...]
H A DByteArrayIStream.java67 final byte [] mbuf = m_buf;
70 for (int i = 0; i < length; ++ i) buf [offset + i] = mbuf [pos + i];
72 System.arraycopy (mbuf, pos, buf, offset, length);
/external/chromium_org/third_party/usrsctp/usrsctplib/
H A Duser_mbuf.h54 struct mbuf * m_gethdr(int how, short type);
55 struct mbuf * m_get(int how, short type);
56 struct mbuf * m_free(struct mbuf *m);
57 void m_clget(struct mbuf *m, int how);
60 /* mbuf initialization function */
90 * mtod(m, t) -- Convert mbuf pointer to data pointer of correct type.
91 * dtom(x) -- Convert data pointer within mbuf to mbuf pointer (XXX).
94 #define dtom(x) ((struct mbuf *)((intptr_
231 struct mbuf { struct
[all...]
H A Duser_mbuf.c64 * Note: I had to use struct clust_args as an encapsulation for an mbuf pointer.
65 * struct mbuf * clust_mb_args; does not work.
81 static int mbuf_constructor_dup(struct mbuf *m, int pkthdr, short type)
109 struct mbuf *
112 struct mbuf *mret;
125 mret = SCTP_ZONE_GET(zone_mbuf, struct mbuf);
129 /*mret = ((struct mbuf *)umem_cache_alloc(zone_mbuf, UMEM_DEFAULT));*/
134 * so that the mbuf is properly constructed before returning it.
151 struct mbuf *
154 struct mbuf *mre
[all...]

Completed in 1148 milliseconds

12345