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

1234567891011>>

/freebsd-11-stable/sys/netinet6/
H A Dip6_var.h92 struct mbuf *ip6af_m;
99 #define IP6_REASS_MBUF(ip6af) (*(struct mbuf **)&((ip6af)->ip6af_m))
145 struct mbuf *ip6po_m; /* Pointer to mbuf storing the data */
217 uint64_t ip6s_m1; /* one mbuf */
219 uint64_t ip6s_m2m[IP6S_M2MMAX]; /* two or more mbuf */
220 uint64_t ip6s_mext1; /* one ext mbuf */
221 uint64_t ip6s_mext2m; /* two or more ext mbuf */
363 void ip6_input(struct mbuf *);
364 void ip6_direct_input(struct mbuf *);
[all...]
/freebsd-11-stable/sys/xdr/
H A Dxdr_mbuf.c34 #include <sys/mbuf.h>
62 * mbuf.
65 xdrmbuf_create(XDR *xdrs, struct mbuf *m, enum xdr_op op)
68 KASSERT(m != NULL, ("xdrmbuf_create with NULL mbuf chain"));
83 xdrmbuf_append(XDR *xdrs, struct mbuf *madd)
85 struct mbuf *m;
95 m = (struct mbuf *) xdrs->x_private;
103 struct mbuf *
106 struct mbuf *m0, *m;
111 m0 = (struct mbuf *) xdr
[all...]
/freebsd-11-stable/sys/net/
H A Dif_gif.h46 extern void (*ng_gif_input_p)(struct ifnet *ifp, struct mbuf **mp,
48 extern void (*ng_gif_input_orphan_p)(struct ifnet *ifp, struct mbuf *m,
50 extern int (*ng_gif_output_p)(struct ifnet *ifp, struct mbuf **mp);
106 /* mbuf adjust factor to force 32-bit alignment of IP header */
110 void gif_input(struct mbuf *, struct ifnet *, int, uint8_t);
111 int gif_output(struct ifnet *, struct mbuf *, const struct sockaddr *,
113 int gif_encapcheck(const struct mbuf *, int, int, void *);
115 int in_gif_output(struct ifnet *, struct mbuf *, int, uint8_t);
116 int in_gif_encapcheck(const struct mbuf *, int, int, void *);
120 int in6_gif_output(struct ifnet *, struct mbuf *, in
[all...]
H A Dnetisr.h154 * flow IDs present on the mbuf for the purposes of
158 * the mbuf header flow ID field. If the protocol
160 * protocol in the event that the mbuf doesn't have a
167 * calculated flow ID on the mbuf, such as one provided in hardware, the
168 * receive interface pointed to by the mbuf (if any), the optional source
170 * calculate a flow. Both protocol handlers may return a new mbuf pointer
177 struct mbuf;
178 typedef void netisr_handler_t(struct mbuf *m);
179 typedef struct mbuf *netisr_m2cpuid_t(struct mbuf *
[all...]
H A Dif_arc.h116 struct mbuf *curr_frag;
122 struct mbuf *af_packet;
134 void arc_input(struct ifnet *, struct mbuf *);
135 int arc_output(struct ifnet *, struct mbuf *,
140 struct mbuf * arc_frag_next(struct ifnet *);
/freebsd-11-stable/sys/dev/netmap/
H A Dnetmap_mbq.c41 #include <sys/mbuf.h>
67 static inline void __mbq_enqueue(struct mbq *q, struct mbuf *m)
80 void mbq_safe_enqueue(struct mbq *q, struct mbuf *m)
88 void mbq_enqueue(struct mbq *q, struct mbuf *m)
94 static inline struct mbuf *__mbq_dequeue(struct mbq *q)
96 struct mbuf *ret = NULL;
112 struct mbuf *mbq_safe_dequeue(struct mbq *q)
114 struct mbuf *ret;
124 struct mbuf *mbq_dequeue(struct mbq *q)
133 struct mbuf *
[all...]
/freebsd-11-stable/sys/nfsserver/
H A Dnfsm_subs.h44 * These macros do strange and peculiar things to mbuf chains for
67 int nfsm_srvstrsiz_xx(int *s, int m, struct mbuf **md, caddr_t *dpos);
68 int nfsm_srvnamesiz_xx(int *s, int m, struct mbuf **md, caddr_t *dpos);
69 int nfsm_srvnamesiz0_xx(int *s, int m, struct mbuf **md, caddr_t *dpos);
70 int nfsm_srvmtofh_xx(fhandle_t *f, int v3, struct mbuf **md, caddr_t *dpos);
71 int nfsm_srvsattr_xx(struct vattr *a, struct mbuf **md, caddr_t *dpos);
151 void nfsm_srvfhtom_xx(fhandle_t *f, int v3, struct mbuf **mb,
153 void nfsm_srvpostop_fh_xx(fhandle_t *f, struct mbuf **mb, caddr_t *bpos);
154 void nfsm_clget_xx(u_int32_t **tl, struct mbuf *mb, struct mbuf **m
[all...]
/freebsd-11-stable/sys/net80211/
H A Dieee80211_crypto_none.c38 #include <sys/mbuf.h>
53 static int none_encap(struct ieee80211_key *, struct mbuf *);
54 static int none_decap(struct ieee80211_key *, struct mbuf *, int);
55 static int none_enmic(struct ieee80211_key *, struct mbuf *, int);
56 static int none_demic(struct ieee80211_key *, struct mbuf *, int);
99 none_encap(struct ieee80211_key *k, struct mbuf *m)
120 none_decap(struct ieee80211_key *k, struct mbuf *m, int hdrlen)
140 none_enmic(struct ieee80211_key *k, struct mbuf *m, int force)
149 none_demic(struct ieee80211_key *k, struct mbuf *m, int force)
H A Dieee80211_ageq.c71 * Free an mbuf according to ageq rules: if marked as holding
76 ageq_mfree(struct mbuf *m)
90 ieee80211_ageq_mfree(struct mbuf *m)
92 struct mbuf *next;
101 * Append an mbuf to the ageq and mark it with the specified max age
106 ieee80211_ageq_append(struct ieee80211_ageq *aq, struct mbuf *m, int age)
161 struct mbuf *
164 struct mbuf *head, **phead;
165 struct mbuf *m;
192 struct mbuf *
[all...]
H A Dieee80211_proto.h84 int ieee80211_input_all(struct ieee80211com *, struct mbuf *, int, int);
86 int ieee80211_input_mimo(struct ieee80211_node *, struct mbuf *,
88 int ieee80211_input_mimo_all(struct ieee80211com *, struct mbuf *,
92 int ieee80211_mgmt_output(struct ieee80211_node *, struct mbuf *, int,
94 int ieee80211_raw_xmit(struct ieee80211_node *, struct mbuf *,
96 int ieee80211_output(struct ifnet *, struct mbuf *,
98 int ieee80211_vap_pkt_send_dest(struct ieee80211vap *, struct mbuf *,
101 struct mbuf *, const struct ieee80211_bpf_params *);
102 void ieee80211_send_setup(struct ieee80211_node *, struct mbuf *, int, int,
105 int ieee80211_vap_transmit(struct ifnet *ifp, struct mbuf *
[all...]
/freebsd-11-stable/sys/mips/cavium/octe/
H A Dethernet-mem.c38 #include <sys/mbuf.h>
51 * @param pool Pool to allocate an mbuf for
59 KASSERT(size <= MCLBYTES - 128, ("mbuf clusters are too small"));
61 struct mbuf *m = m_getcl(M_NOWAIT, MT_DATA, M_PKTHDR);
63 printf("Failed to allocate mbuf for hardware pool %d\n", pool);
68 *(struct mbuf **)(m->m_data - sizeof(void *)) = m;
79 * @param pool Pool to allocate an mbuf for
90 struct mbuf *m = *(struct mbuf **)(memory - sizeof(void *));
/freebsd-11-stable/sys/dev/sfxge/
H A Dsfxge_tx.c67 #include <sys/mbuf.h>
149 static int sfxge_tx_queue_tso(struct sfxge_txq *txq, struct mbuf *mbuf,
165 sfxge_tx_maybe_toggle_cksum_offload(struct sfxge_txq *txq, struct mbuf *mbuf, argument
171 if (mbuf->m_pkthdr.csum_flags &
179 } else if (mbuf->m_pkthdr.csum_flags & CSUM_DELAY_IP) {
199 sfxge_tx_maybe_insert_tag(struct sfxge_txq *txq, struct mbuf *mbuf, argument
202 uint16_t this_tag = ((mbuf
262 sfxge_is_mbuf_non_tcp(struct mbuf *mbuf) argument
277 struct mbuf *mbuf, *get_next, **get_tailp; local
398 sfxge_tx_queue_mbuf(struct sfxge_txq *txq, struct mbuf *mbuf) argument
541 struct mbuf *mbuf, *next; local
642 sfxge_tx_qdpl_put_locked(struct sfxge_txq *txq, struct mbuf *mbuf) argument
679 sfxge_tx_qdpl_put_unlocked(struct sfxge_txq *txq, struct mbuf *mbuf) argument
766 struct mbuf *mbuf, *next; local
810 sfxge_parse_tx_packet(struct mbuf *mbuf) argument
958 const struct mbuf *mbuf; /* Input mbuf (head of chain) */ member in struct:sfxge_tso_state
1044 tso_start(struct sfxge_txq *txq, struct sfxge_tso_state *tso, const bus_dma_segment_t *hdr_dma_seg, struct mbuf *mbuf) argument
1368 sfxge_tx_queue_tso(struct sfxge_txq *txq, struct mbuf *mbuf, const bus_dma_segment_t *dma_seg, int n_dma_seg, int n_extra_descs) argument
[all...]
/freebsd-11-stable/sys/sys/
H A Dprotosw.h38 struct mbuf;
68 typedef int pr_input_t (struct mbuf **, int*, int);
69 typedef int pr_output_t (struct mbuf *, struct socket *, ...);
203 int (*pru_rcvoob)(struct socket *so, struct mbuf *m, int flags);
204 int (*pru_send)(struct socket *so, int flags, struct mbuf *m,
205 struct sockaddr *addr, struct mbuf *control,
211 int (*pru_ready)(struct socket *so, struct mbuf *m, int count);
217 struct uio *uio, struct mbuf *top, struct mbuf *control,
220 struct uio *uio, struct mbuf **mp
[all...]
H A Dsockopt.h63 /* XXX; prepare mbuf for (__FreeBSD__ < 3) routines. */
64 int soopt_getm(struct sockopt *sopt, struct mbuf **mp);
65 int soopt_mcopyin(struct sockopt *sopt, struct mbuf *m);
66 int soopt_mcopyout(struct sockopt *sopt, struct mbuf *m);
/freebsd-11-stable/sys/netinet/
H A Dip_var.h62 struct mbuf *ipq_frags; /* to ip headers of fragments */
70 * Structure stored in mbuf in inpcb.ip_options
209 int ip_fragment(struct ip *ip, struct mbuf **m_frag, int mtu,
211 void ip_forward(struct mbuf *m, int srcrt);
214 (*ip_mforward)(struct ip *, struct ifnet *, struct mbuf *,
216 int ip_output(struct mbuf *,
217 struct mbuf *, struct route *, int, struct ip_moptions *,
221 struct mbuf *
222 ip_reass(struct mbuf *);
223 void ip_savecontrol(struct inpcb *, struct mbuf **, struc
[all...]
H A Dip_carp.h114 uint64_t carps_onomem; /* no memory for an mbuf */
143 int carp_input(struct mbuf **, int *, int);
144 int carp6_input (struct mbuf **, int *, int);
145 int carp_output (struct ifnet *, struct mbuf *,
150 caddr_t carp_macmatch6(struct ifnet *, struct mbuf *, const struct in6_addr *);
164 extern int (*carp_output_p)(struct ifnet *, struct mbuf *,
175 extern caddr_t (*carp_macmatch6_p)(struct ifnet *, struct mbuf *,
/freebsd-11-stable/sys/netipsec/
H A Dipsec.h135 /* XXX: here is mbuf place holder to be sent ? */
222 /* See where ESP/AH/IPCOMP header land in mbuf on input */
311 int ipsec_if_input(struct mbuf *, struct secasvar *, uint32_t);
315 struct secpolicy *ipsec4_checkpolicy(const struct mbuf *, struct inpcb *,
320 void udp_ipsec_adjust_cksum(struct mbuf *, struct secasvar *, int, int);
321 int udp_ipsec_output(struct mbuf *, struct secasvar *);
322 int udp_ipsec_input(struct mbuf *, int, int);
332 void ipsec4_setsockaddrs(const struct mbuf *, union sockaddr_union *,
334 int ipsec4_in_reject(const struct mbuf *, struct inpcb *);
335 int ipsec4_input(struct mbuf *, in
[all...]
/freebsd-11-stable/usr.sbin/ppp/
H A Dchap.h33 struct mbuf;
77 extern struct mbuf *chap_Input(struct bundle *, struct link *, struct mbuf *);
H A Dproto.c42 #include "mbuf.h"
57 struct mbuf *
58 proto_Prepend(struct mbuf *bp, u_short proto, unsigned comp, int extra)
73 static struct mbuf *
74 proto_LayerPush(struct bundle *b __unused, struct link *l, struct mbuf *bp,
86 static struct mbuf *
87 proto_LayerPull(struct bundle *b __unused, struct link *l, struct mbuf *bp,
H A Dproto.h64 struct mbuf *proto_Prepend(struct mbuf *, u_short, unsigned, int);
/freebsd-11-stable/sys/netpfil/ipfw/
H A Ddn_sched.h72 * on the flow that the mbuf belongs to: while a
74 * to leave q alone and put the mbuf elsewhere.
80 * mbuf in the queue. For this reason, the function
124 struct mbuf *);
125 struct mbuf * (*dequeue)(struct dn_sch_inst *);
157 void dn_free_pkts(struct mbuf *mnext);
158 int dn_enqueue(struct dn_queue *q, struct mbuf* m, int drop);
166 static __inline struct mbuf*
169 struct mbuf *m = q->mq.head;
/freebsd-11-stable/sys/arm/include/
H A Din_cksum.h41 u_short in_cksum(struct mbuf *m, int len);
43 u_short in_cksum_skip(struct mbuf *m, int len, int skip);
/freebsd-11-stable/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_llpi.h45 int ng_l2cap_lp_send (ng_l2cap_con_p, u_int16_t,struct mbuf *);
46 int ng_l2cap_lp_receive (ng_l2cap_p, struct mbuf *);
/freebsd-11-stable/sys/nfs/
H A Dnfs_common.h48 int nfs_adv(struct mbuf **, caddr_t *, int, int);
49 void *nfsm_disct(struct mbuf **, caddr_t *, int, int, int);
50 int nfs_realign(struct mbuf **, int);
55 void *nfsm_build_xx(int s, struct mbuf **mb, caddr_t *bpos);
63 void *nfsm_dissect_xx(int s, struct mbuf **md, caddr_t *dpos);
64 void *nfsm_dissect_xx_nonblock(int s, struct mbuf **md, caddr_t *dpos);
65 int nfsm_strsiz_xx(int *s, int m, struct mbuf **md, caddr_t *dpos);
66 int nfsm_adv_xx(int s, struct mbuf **md, caddr_t *dpos);
/freebsd-11-stable/sys/dev/wtap/
H A Dif_medium.h43 struct mbuf * m;
69 extern int medium_transmit(struct wtap_medium *, int id, struct mbuf*);

Completed in 256 milliseconds

1234567891011>>