Searched refs:mbuf (Results 501 - 525 of 1277) sorted by relevance

<<21222324252627282930>>

/freebsd-13-stable/sys/arm64/broadcom/genet/
H A Dif_genet.c49 #include <sys/mbuf.h>
131 struct mbuf *mbuf; member in struct:gen_ring_ent
191 static int gen_encap(struct gen_softc *sc, struct mbuf **mp);
192 static int gen_parse_tx(struct mbuf *m, int csum_flags);
212 struct mbuf *m);
930 struct mbuf *m;
980 gen_encap(struct gen_softc *sc, struct mbuf **mp)
986 struct mbuf *m;
999 * out with only the Ethernet header in the first mbuf, an
[all...]
/freebsd-13-stable/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_tx.c66 sdp_post_send(struct sdp_sock *ssk, struct mbuf *mb)
166 static struct mbuf *
171 struct mbuf *mb = NULL;
200 struct mbuf *mb = NULL;
381 struct mbuf *mb;
/freebsd-13-stable/sys/opencrypto/
H A Dcryptodev.h406 struct mbuf *cb_mbuf;
423 struct mbuf *cc_mbuf;
518 _crypto_use_mbuf(struct crypto_buffer *cb, struct mbuf *m)
548 crypto_use_mbuf(struct cryptop *crp, struct mbuf *m)
572 crypto_use_output_mbuf(struct cryptop *crp, struct mbuf *m)
/freebsd-13-stable/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_tx.c254 struct mbuf *mb, int len, __be32 owner_bit)
294 struct mbuf *mb;
485 mlx4_en_get_inline_hdr_size(struct mlx4_en_tx_ring *ring, struct mbuf *mb)
499 mlx4_en_get_header_size(struct mbuf *mb)
554 struct mbuf *mb, int len, __be32 owner_bit)
607 u16 mlx4_en_select_queue(struct net_device *dev, struct mbuf *mb)
631 int mlx4_en_xmit(struct mlx4_en_priv *priv, int tx_ind, struct mbuf **mbp)
645 struct mbuf *mb = *mbp;
646 struct mbuf *m;
678 /* Track current mbuf packe
[all...]
/freebsd-13-stable/sys/net80211/
H A Dieee80211_var.h288 struct mbuf *);
294 struct mbuf *,
535 struct mbuf *,
539 struct mbuf *, int,
543 struct mbuf *, int);
545 struct ieee80211_node *, struct mbuf *);
563 struct mbuf *);
569 int (*iv_output)(struct ifnet *, struct mbuf *,
824 void ieee80211_radiotap_tx(struct ieee80211vap *, struct mbuf *);
825 void ieee80211_radiotap_rx(struct ieee80211vap *, struct mbuf *);
[all...]
H A Dieee80211_output.c40 #include <sys/mbuf.h>
83 static int ieee80211_fragment(struct ieee80211vap *, struct mbuf *,
115 * This routine (for now) consumes the mbuf and frees the node
117 * whether the mbuf was consumed or not, so the caller can
118 * free the mbuf (if appropriate) and the node reference (again,
122 ieee80211_vap_pkt_send_dest(struct ieee80211vap *vap, struct mbuf *m,
330 * Send the given mbuf through the given vap.
332 * This consumes the mbuf regardless of whether the transmit
340 ieee80211_start_pkt(struct ieee80211vap *vap, struct mbuf *m)
360 * mbuf ha
[all...]
/freebsd-13-stable/sys/netinet/
H A Dsctp_structs.h115 struct mbuf *m;
161 struct mbuf *m;
429 struct mbuf *data; /* pointer to mbuf chain of data */
430 struct mbuf *last_mbuf; /* pointer to last mbuf in chain */
466 struct mbuf *data; /* front of the mbuf chain of data with
468 struct mbuf *tail_mbuf; /* used for multi-part data */
469 struct mbuf *aux_dat
[all...]
H A Dicmp6.h702 void icmp6_paramerror(struct mbuf *, int);
703 void icmp6_error(struct mbuf *, int, int, int);
704 void icmp6_error2(struct mbuf *, int, int, int, struct ifnet *);
705 int icmp6_input(struct mbuf **, int *, int);
708 void icmp6_prepare(struct mbuf *);
709 void icmp6_redirect_input(struct mbuf *, int);
710 void icmp6_redirect_output(struct mbuf *, struct nhop_object *);
H A Digmp.c61 #include <sys/mbuf.h>
118 static void igmp_intr(struct mbuf *);
120 static struct mbuf *
133 static struct mbuf *
134 igmp_v3_encap_report(struct ifnet *, struct mbuf *);
199 struct mbuf *m_raopt; /* Router Alert option */
302 igmp_save_context(struct mbuf *m, struct ifnet *ifp)
313 igmp_scrub_context(struct mbuf *m)
325 * actually called CURVNET_SET() with what's in the mbuf chain.
328 igmp_restore_context(struct mbuf *
[all...]
/freebsd-13-stable/sys/net/
H A Dif_gif.c46 #include <sys/mbuf.h>
102 void (*ng_gif_input_p)(struct ifnet *ifp, struct mbuf **mp, int af);
103 void (*ng_gif_input_orphan_p)(struct ifnet *ifp, struct mbuf *m, int af);
112 static int gif_transmit(struct ifnet *, struct mbuf *);
281 gif_transmit(struct ifnet *ifp, struct mbuf *m)
404 gif_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst,
423 gif_input(struct mbuf *m, struct ifnet *ifp, int proto, uint8_t ecn)
H A Dif_stf.c83 #include <sys/mbuf.h>
155 static int in_stf_input(struct mbuf *, int, int, void *);
159 static int stf_encapcheck(const struct mbuf *, int, int, void *);
161 static int stf_output(struct ifnet *, struct mbuf *, const struct sockaddr *,
313 stf_encapcheck(const struct mbuf *m, int off, int proto, void *arg)
408 stf_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst,
481 * will only read from the mbuf (i.e., it won't
611 in_stf_input(struct mbuf *m, int off, int proto, void *arg)
683 * will only read from the mbuf (i.e., it won't
H A Dif_epair.c61 #include <sys/mbuf.h>
98 static void epair_nh_sintr(struct mbuf *);
99 static struct mbuf *epair_nh_m2cpuid(struct mbuf *, uintptr_t, u_int *);
258 epair_nh_sintr(struct mbuf *m)
273 static struct mbuf *
274 epair_nh_m2cpuid(struct mbuf *m, uintptr_t source, u_int *cpuid)
398 struct mbuf *m;
477 epair_transmit_locked(struct ifnet *ifp, struct mbuf *m)
596 epair_transmit(struct ifnet *ifp, struct mbuf *
[all...]
H A Drtsock.c45 #include <sys/mbuf.h>
181 static void rts_input(struct mbuf *m);
182 static struct mbuf *rtsock_msg_mbuf(int type, struct rt_addrinfo *rtinfo);
193 static int route_output(struct mbuf *m, struct socket *so, ...);
196 static void rt_dispatch(struct mbuf *, sa_family_t);
203 struct mbuf *m, sa_family_t saf, u_int fibnum,
263 raw_input_rts_cb(struct mbuf *m, struct sockproto *proto, struct sockaddr *src,
288 rts_input(struct mbuf *m)
420 rts_send(struct socket *so, int flags, struct mbuf *m, struct sockaddr *nam,
421 struct mbuf *contro
[all...]
/freebsd-13-stable/sys/dev/cxgb/
H A Dcxgb_adapter.h40 #include <sys/mbuf.h>
303 struct mbuf *);
488 int t3_offload_tx(struct adapter *, struct mbuf *);
491 int t3_mgmt_tx(adapter_t *adap, struct mbuf *m);
510 void t3_rx_eth(struct adapter *adap, struct mbuf *m, int ethpad);
552 int cxgb_transmit(struct ifnet *ifp, struct mbuf *m);
558 int cxgb_debugnet_encap(struct sge_qset *qs, struct mbuf **m);
/freebsd-13-stable/usr.sbin/ppp/
H A Dhdlc.c44 #include "mbuf.h"
123 HdlcFcsBuf(u_short fcs, struct mbuf *m)
142 static struct mbuf *
144 struct mbuf *bp, int pri __unused, u_short *proto __unused)
146 struct mbuf *last;
161 struct mbuf *tail = m_get(2, MB_HDLCOUT);
302 static struct mbuf *
303 hdlc_LayerPull(struct bundle *b __unused, struct link *l, struct mbuf *bp,
/freebsd-13-stable/sys/netpfil/pf/
H A Dpf_norm.c41 #include <sys/mbuf.h>
65 struct mbuf *fe_m;
137 static int pf_normalize_tcpopt(struct pf_krule *, struct mbuf *,
152 static struct mbuf *pf_join_fragment(struct pf_fragment *);
154 static void pf_scrub_ip(struct mbuf **, uint32_t, uint8_t, uint8_t);
155 static int pf_reassemble(struct mbuf **, struct ip *, int, u_short *);
158 static int pf_reassemble6(struct mbuf **, struct ip6_hdr *,
160 static void pf_scrub_ip6(struct mbuf **, uint8_t);
713 static struct mbuf *
716 struct mbuf *
[all...]
/freebsd-13-stable/sys/dev/netmap/
H A Dnetmap_kern.h338 void *nm_os_send_up(struct ifnet *, struct mbuf *m, struct mbuf *prev);
340 int nm_os_mbuf_has_seg_offld(struct mbuf *m);
341 int nm_os_mbuf_has_csum_offld(struct mbuf *m);
506 struct mbuf **tx_pool;
507 struct mbuf *tx_event; /* TX event used as a notification */
508 NM_LOCK_T tx_event_lock; /* protects the tx_event mbuf */
759 int (*if_transmit)(struct ifnet *, struct mbuf *);
762 void (*if_input)(struct ifnet *, struct mbuf *);
1004 void (*save_if_input)(struct ifnet *, struct mbuf *);
[all...]
/freebsd-13-stable/sys/security/mac_biba/
H A Dmac_biba.c805 struct mbuf *m, struct label *mlabel)
1044 struct mbuf *m, struct label *mlabel)
1116 struct mbuf *m, struct label *mlabel)
1140 struct mbuf *m, struct label *mlabel)
1187 struct mbuf *m, struct label *mlabel)
1212 biba_ip6q_create(struct mbuf *m, struct label *mlabel, struct ip6q *q6,
1224 biba_ip6q_match(struct mbuf *m, struct label *mlabel, struct ip6q *q6,
1236 biba_ip6q_reassemble(struct ip6q *q6, struct label *q6label, struct mbuf *m,
1249 biba_ip6q_update(struct mbuf *m, struct label *mlabel, struct ip6q *q6,
1257 biba_ipq_create(struct mbuf *
[all...]
/freebsd-13-stable/sys/security/mac_lomac/
H A Dmac_lomac.c901 struct mbuf *m, struct label *mlabel)
1158 struct mbuf *m, struct label *mlabel)
1231 struct mbuf *m, struct label *mlabel)
1255 struct mbuf *m, struct label *mlabel)
1300 struct mbuf *m, struct label *mlabel)
1325 lomac_ip6q_create(struct mbuf *m, struct label *mlabel, struct ip6q *q6,
1337 lomac_ip6q_match(struct mbuf *m, struct label *mlabel, struct ip6q *q6,
1349 lomac_ip6q_reassemble(struct ip6q *q6, struct label *q6label, struct mbuf *m,
1362 lomac_ip6q_update(struct mbuf *m, struct label *mlabel, struct ip6q *q6,
1370 lomac_ipq_create(struct mbuf *
[all...]
/freebsd-13-stable/sys/security/mac_mls/
H A Dmac_mls.c770 struct mbuf *m, struct label *mlabel)
1006 struct mbuf *m, struct label *mlabel)
1038 struct mbuf *m, struct label *mlabel)
1062 struct mbuf *m, struct label *mlabel)
1107 struct mbuf *m, struct label *mlabel)
1132 mls_ip6q_create(struct mbuf *m, struct label *mlabel, struct ip6q *q6,
1144 mls_ip6q_match(struct mbuf *m, struct label *mlabel, struct ip6q *q6,
1156 mls_ip6q_reassemble(struct ip6q *q6, struct label *q6label, struct mbuf *m,
1169 mls_ip6q_update(struct mbuf *m, struct label *mlabel, struct ip6q *q6,
1177 mls_ipq_create(struct mbuf *
[all...]
/freebsd-13-stable/sys/netinet6/
H A Dmld6.c76 #include <sys/mbuf.h>
110 static void mld_dispatch_packet(struct mbuf *);
134 static struct mbuf *
135 mld_v2_encap_report(struct ifnet *, struct mbuf *);
142 struct mbuf *, struct mldv2_query *, const int, const int);
149 struct mld_ifsoftc *mli, int, struct mbuf *,
280 mld_save_context(struct mbuf *m, struct ifnet *ifp)
291 mld_scrub_context(struct mbuf *m)
303 * actually called CURVNET_SET() with what's in the mbuf chain.
306 mld_restore_context(struct mbuf *
[all...]
/freebsd-13-stable/sys/security/mac_test/
H A Dmac_test.c190 struct mbuf *m, struct label *mlabel)
550 struct mbuf *m, struct label *mlabel)
582 struct mbuf *m, struct label *mlabel)
647 struct mbuf *m, struct label *mlabel)
686 struct mbuf *m, struct label *mlabel)
733 test_ip6q_create(struct mbuf *fragment, struct label *fragmentlabel,
768 test_ip6q_match(struct mbuf *fragment, struct label *fragmentlabel,
781 test_ip6q_reassemble(struct ip6q *q6, struct label *q6label, struct mbuf *m,
792 test_ip6q_update(struct mbuf *m, struct label *mlabel, struct ip6q *q6,
803 test_ipq_create(struct mbuf *fragmen
[all...]
/freebsd-13-stable/sys/dev/vnic/
H A Dnicvf_main.c43 #include <sys/mbuf.h>
155 static int nicvf_if_transmit(struct ifnet *, struct mbuf *);
650 nicvf_if_transmit(struct ifnet *ifp, struct mbuf *mbuf) argument
655 struct mbuf *mtmp;
665 if (M_HASHTYPE_GET(mbuf) != M_HASHTYPE_NONE)
666 qidx = mbuf->m_pkthdr.flowid % qs->sq_cnt;
672 if (mbuf->m_next != NULL &&
673 (mbuf->m_pkthdr.csum_flags &
675 if (M_WRITABLE(mbuf)
711 struct mbuf *mbuf; local
[all...]
/freebsd-13-stable/sys/netgraph/
H A Dng_mppc.c54 #include <sys/mbuf.h>
173 struct mbuf **datap);
175 struct mbuf **datap);
376 struct mbuf *m;
473 * Compress/encrypt a packet and put the result in a new mbuf at *resultp.
474 * The original mbuf is not free'd.
477 ng_mppc_compress(node_p node, struct mbuf **datap)
482 struct mbuf *m = *datap;
484 /* We must own the mbuf chain exclusively to modify it. */
569 /* Check mbuf chai
[all...]
/freebsd-13-stable/sys/kern/
H A Duipc_socket.c120 #include <sys/mbuf.h>
1377 struct mbuf *top, struct mbuf *control, int flags, struct thread *td)
1465 * Copy the data from userland into a mbuf chain.
1466 * If no data is to be copied in, a single empty mbuf
1533 * by the mbuf chain "top" (which must be null if uio is not). Data provided
1534 * in mbuf chain must be small enough to send all at once.
1542 struct mbuf *top, struct mbuf *control, int flags, struct thread *td)
1689 * Copy the data from userland into a mbuf
[all...]

Completed in 241 milliseconds

<<21222324252627282930>>