Searched refs:mbuf (Results 401 - 425 of 1277) sorted by relevance

<<11121314151617181920>>

/freebsd-13-stable/sys/netinet/
H A Draw_ip.c49 #include <sys/mbuf.h>
106 int (*ip_dn_io_ptr)(struct mbuf **, struct ip_fw_args *);
107 void (*ip_divert_ptr)(struct mbuf *, bool);
108 int (*ng_ipfw_input_p)(struct mbuf **, struct ip_fw_args *, bool);
127 int (*ip_mforward)(struct ip *, struct ifnet *, struct mbuf *,
133 int (*rsvp_input_p)(struct mbuf **, int *, int);
234 rip_append(struct inpcb *last, struct ip *ip, struct mbuf *n,
256 struct mbuf *opts = NULL;
280 * pass them along with mbuf chain.
283 rip_input(struct mbuf **m
[all...]
H A Dip_mroute.c86 #include <sys/mbuf.h>
244 static int pim_encapcheck(const struct mbuf *, int, int, void *);
245 static int pim_input(struct mbuf *, int, int, void *);
308 static int X_ip_mforward(struct ip *, struct ifnet *, struct mbuf *,
336 static int ip_mdq(struct mbuf *, struct ifnet *, struct mfc *, vifi_t);
340 static void phyint_send(struct ip *, struct vif *, struct mbuf *);
341 static struct mbuf *
342 pim_register_prepare(struct ip *, struct mbuf *);
344 struct mbuf *, struct mfc *);
346 struct mbuf *, struc
[all...]
H A Din_pcb.h300 struct mbuf *inp_options; /* (i) IP options */
305 struct mbuf *in6p_options;
735 #define INP_MBUF_ACKCMP 0x00000002 /* TCP mbuf ack compression ok */
748 #define INP_SUPPORTS_MBUFQ 0x00004000 /* Supports the mbuf queue method of LRO */
829 void in_pcbgroup_update_mbuf(struct inpcb *, struct mbuf *);
843 struct mbuf *, bool);
852 int in_pcbinshash_mbuf(struct inpcb *, struct mbuf *);
864 struct in_addr, u_int, int, struct ifnet *, struct mbuf *);
869 void in_pcbrehash_mbuf(struct inpcb *, struct mbuf *);
884 struct mbuf *, uint32_
[all...]
H A Dtcp_reass.c49 #include <sys/mbuf.h>
174 &reass_nospace, "Had no mbuf capacity ");
255 tcp_reass_log_new_in(struct tcpcb *tp, tcp_seq seq, int len, struct mbuf *m,
259 struct mbuf *t;
325 struct mbuf *m, struct tcphdr *th, int tlen,
326 struct mbuf *mlast, int lenofoh)
350 tcp_reass_prepend(struct tcpcb *tp, struct tseg_qent *first, struct mbuf *m, struct tcphdr *th,
351 int tlen, struct mbuf *mlast, int lenofoh)
386 tcp_reass_replace(struct tcpcb *tp, struct tseg_qent *q, struct mbuf *m,
387 tcp_seq seq, int len, struct mbuf *mlas
[all...]
H A Dsctp_pcb.h422 struct mbuf *pkt, *pkt_last;
423 struct mbuf *control;
531 sctp_findassociation_addr(struct mbuf *, int,
562 sctp_findassociation_ep_asconf(struct mbuf *, int, struct sockaddr *,
606 sctp_load_addresses_from_init(struct sctp_tcb *, struct mbuf *, int, int,
639 sctp_queue_to_mcore(struct mbuf *m, int off, int cpu_to_use);
/freebsd-13-stable/sys/dev/oce/
H A Doce_if.c142 static int oce_multiq_start(struct ifnet *ifp, struct mbuf *m);
157 static int oce_tx(POCE_SOFTC sc, struct mbuf **mpp, int wq_index);
160 static int oce_multiq_transmit(struct ifnet *ifp, struct mbuf *m,
169 static void oce_correct_header(struct mbuf *m, struct nic_hwlro_cqe_part1 *cqe1, struct nic_hwlro_cqe_part2 *cqe2);
171 static void oce_rx_mbuf_chain(struct oce_rq *rq, struct oce_common_cqe_info *cqe_info, struct mbuf **m);
187 static int oce_tx_asic_stall_verify(POCE_SOFTC sc, struct mbuf *m);
189 static struct mbuf *oce_insert_vlan_tag(POCE_SOFTC sc, struct mbuf *m, boolean_t *complete);
195 static struct mbuf * oce_tso_setup(POCE_SOFTC sc, struct mbuf **mp
[all...]
/freebsd-13-stable/sys/dev/virtio/network/
H A Dif_vtnet.c39 #include <sys/mbuf.h>
125 static struct mbuf *
126 vtnet_rx_alloc_buf(struct vtnet_softc *, int , struct mbuf **);
128 struct mbuf *, int);
129 static int vtnet_rxq_replace_buf(struct vtnet_rxq *, struct mbuf *, int);
130 static int vtnet_rxq_enqueue_buf(struct vtnet_rxq *, struct mbuf *);
132 static int vtnet_rxq_csum_needs_csum(struct vtnet_rxq *, struct mbuf *,
134 static int vtnet_rxq_csum_data_valid(struct vtnet_rxq *, struct mbuf *,
136 static int vtnet_rxq_csum(struct vtnet_rxq *, struct mbuf *,
139 static void vtnet_rxq_discard_buf(struct vtnet_rxq *, struct mbuf *);
[all...]
/freebsd-13-stable/sys/dev/wtap/
H A Dif_wtap.c90 struct mbuf *m;
143 static int wtap_raw_xmit(struct ieee80211_node *ni, struct mbuf *m,
147 wtap_medium_enqueue(struct wtap_vap *avp, struct mbuf *m)
158 wtap_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m,
198 * we assume the mbuf routines will return us something
203 printf("%s: cannot get mbuf\n", __func__);
224 struct mbuf *m;
409 wtap_raw_xmit(struct ieee80211_node *ni, struct mbuf *m,
428 wtap_inject(struct wtap_softc *sc, struct mbuf *m)
447 struct mbuf *
[all...]
/freebsd-13-stable/sys/net/
H A Dif_infiniband.c37 #include <sys/mbuf.h>
63 struct mbuf *(*lagg_input_infiniband_p)(struct ifnet *, struct mbuf *);
122 * This is for clients that have an infiniband_header in the mbuf.
125 infiniband_bpf_mtap(struct ifnet *ifp, struct mbuf *mb)
147 update_mbuf_csumflags(struct mbuf *src, struct mbuf *dst)
222 infiniband_resolve_addr(struct ifnet *ifp, struct mbuf *m,
292 infiniband_output(struct ifnet *ifp, struct mbuf *m,
377 * Add local infiniband header. If no space in first mbuf,
[all...]
H A Ddebugnet_inet.c78 * mb a pointer to an mbuf * containing the packet received
80 * Assumes the calling function will take care of freeing the mbuf
83 debugnet_handle_ip(struct debugnet_pcb *pcb, struct mbuf **mb)
86 struct mbuf *m;
232 struct mbuf *m;
271 * mb a pointer to an mbuf * containing the packet received
273 * Assumes the calling function will take care of freeing the mbuf
276 debugnet_handle_arp(struct debugnet_pcb *pcb, struct mbuf **mb)
281 struct mbuf *m;
433 * Unreliable IPv4 transmission of an mbuf chai
[all...]
H A Dif_spppfr.c51 #include <sys/mbuf.h>
163 void sppp_fr_input (struct sppp *sp, struct mbuf *m)
283 struct mbuf *sppp_fr_header (struct sppp *sp, struct mbuf *m,
357 struct mbuf *m;
407 struct mbuf *m;
/freebsd-13-stable/sys/net80211/
H A Dieee80211_wds.c41 #include <sys/mbuf.h>
69 static int wds_input(struct ieee80211_node *ni, struct mbuf *m,
71 static void wds_recv_mgmt(struct ieee80211_node *, struct mbuf *, int subtype,
108 struct mbuf *m, *next;
236 ieee80211_dwds_mcast(struct ieee80211vap *vap0, struct mbuf *m)
243 struct mbuf *mcopy;
324 ieee80211_dwds_discover(struct ieee80211_node *ni, struct mbuf *m)
413 wds_input(struct ieee80211_node *ni, struct mbuf *m,
422 int hdrspace, need_tap = 1; /* mbuf need to be tapped. */
543 * will return 0; otherwise it has consumed the mbuf
[all...]
H A Dieee80211_crypto_tkip.c42 #include <sys/mbuf.h>
60 static int tkip_encap(struct ieee80211_key *, struct mbuf *);
61 static int tkip_enmic(struct ieee80211_key *, struct mbuf *, int);
62 static int tkip_decap(struct ieee80211_key *, struct mbuf *, int);
63 static int tkip_demic(struct ieee80211_key *, struct mbuf *, int);
100 struct mbuf *m, u_int off, size_t data_len,
103 struct mbuf *, int hdr_len);
105 struct mbuf *, int hdr_len);
177 tkip_encap(struct ieee80211_key *k, struct mbuf *m)
240 tkip_enmic(struct ieee80211_key *k, struct mbuf *
[all...]
/freebsd-13-stable/sys/netgraph/
H A Dng_iface.c64 #include <sys/mbuf.h>
135 static int ng_iface_output(struct ifnet *ifp, struct mbuf *m0,
138 struct mbuf *m, sa_family_t family);
139 static int ng_iface_send(struct ifnet *ifp, struct mbuf *m,
349 ng_iface_output(struct ifnet *ifp, struct mbuf *m,
399 struct mbuf *m;
416 * Note the phoney mbuf; this is OK because BPF treats it read-only.
419 ng_iface_bpftap(struct ifnet *ifp, struct mbuf *m, sa_family_t family)
434 ng_iface_send(struct ifnet *ifp, struct mbuf *m, sa_family_t sa)
450 /* Copy length before the mbuf get
[all...]
H A Dng_tty.c52 * buffer pointer and length, this is converted to a mbuf and passed to the
56 * delivered to the hook one at a time, each in its own mbuf. You may
58 * buffered up until either the hotchar is seen or the mbuf is full (MHLEN
70 #include <sys/mbuf.h>
92 struct mbuf *m; /* Incoming non-bypass data buffer */
193 * so that we wont deliver mbuf through the whole graph holding
315 struct mbuf *m;
356 struct mbuf *m;
358 /* Remove first mbuf from queue */
378 /* Put remainder of mbuf chai
[all...]
H A Dng_ppp.c100 #include <sys/mbuf.h>
194 struct mbuf *data; /* Fragment data */
317 static void ng_ppp_get_packet(node_p node, struct mbuf **mp);
326 static struct mbuf *ng_ppp_addproto(struct mbuf *m, uint16_t proto, int compOK);
327 static struct mbuf *ng_ppp_cutproto(struct mbuf *m, uint16_t *proto);
328 static struct mbuf *ng_ppp_prepend(struct mbuf *m, const void *buf, int len);
867 struct mbuf *
[all...]
/freebsd-13-stable/usr.sbin/ppp/
H A Ddeflate.c37 #include "mbuf.h"
55 #define DEFLATE_CHUNK_LEN (1536 - sizeof(struct mbuf))
70 static struct mbuf *
72 int pri __unused, u_short *proto, struct mbuf *mp)
77 struct mbuf *mo_head, *mo, *mi_head, *mi;
96 /* Allocate the initial output mbuf */
200 static struct mbuf *
201 DeflateInput(void *v, struct ccp *ccp, u_short *proto, struct mbuf *mi)
204 struct mbuf *mo, *mo_head, *mi_head;
236 /* Allocate an output mbuf */
[all...]
H A Dlqr.c44 #include "mbuf.h"
89 struct mbuf *
90 lqr_RecvEcho(struct fsm *fp, struct mbuf *bp)
144 struct mbuf *bp;
203 struct mbuf *
204 lqr_Input(struct bundle *bundle __unused, struct link *l, struct mbuf *bp)
418 static struct mbuf *
419 lqr_LayerPush(struct bundle *b __unused, struct link *l, struct mbuf *bp,
514 static struct mbuf *
516 struct mbuf *b
[all...]
H A Dfsm.c45 #include "mbuf.h"
77 typedef void (recvfn)(struct fsm *, struct fsmheader *, struct mbuf *);
195 struct mbuf *bp;
468 FsmRecvConfigReq(struct fsm *fp, struct fsmheader *lhp, struct mbuf *bp)
611 FsmRecvConfigAck(struct fsm *fp, struct fsmheader *lhp, struct mbuf *bp)
674 FsmRecvConfigNak(struct fsm *fp, struct fsmheader *lhp, struct mbuf *bp)
740 FsmRecvTermReq(struct fsm *fp, struct fsmheader *lhp, struct mbuf *bp)
776 FsmRecvTermAck(struct fsm *fp, struct fsmheader *lhp __unused, struct mbuf *bp)
804 FsmRecvConfigRej(struct fsm *fp, struct fsmheader *lhp, struct mbuf *bp)
873 struct mbuf *b
[all...]
/freebsd-13-stable/sys/netpfil/ipfw/test/
H A Dmain.c47 struct mbuf *tosend; /* packet to send -- also flag to enqueue */
49 struct mbuf *freelist;
51 struct mbuf *head, *tail; /* a simple tailq */
55 struct mbuf *);
56 struct mbuf * (*deq)(struct dn_sch_inst *);
109 * Put the mbuf in the freelist, and in case move the
113 drop(struct cfg_s *c, struct mbuf *m)
140 default_enqueue(struct dn_sch_inst *si, struct dn_queue *q, struct mbuf *m)
154 static struct mbuf *
158 struct mbuf *
[all...]
/freebsd-13-stable/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_ib.c98 struct mbuf *m;
107 ipoib_dma_mb(struct ipoib_dev_priv *priv, struct mbuf *mb, unsigned int length)
113 struct mbuf *
117 struct mbuf *mb, *m;
153 struct mbuf *m;
176 static struct mbuf *
208 struct mbuf *mb;
280 struct mbuf *mb = tx_req->mb;
282 struct mbuf *m, *p;
290 panic("ipoib_dma_map_tx: First mbuf empt
[all...]
/freebsd-13-stable/sys/net/altq/
H A Daltq_cbq.c41 #include <sys/mbuf.h>
65 static int cbq_enqueue(struct ifaltq *, struct mbuf *,
67 static struct mbuf *cbq_dequeue(struct ifaltq *, int);
443 * cbq_enqueue(struct ifaltq *ifq, struct mbuf *m, struct altq_pktattr *pattr)
457 cbq_enqueue(struct ifaltq *ifq, struct mbuf *m, struct altq_pktattr *pktattr)
487 /* drop occurred. some mbuf was freed in rmc_queue_packet. */
498 static struct mbuf *
502 struct mbuf *m;
H A Daltq_red.c70 #include <sys/mbuf.h>
282 red_addq(red_t *rp, class_queue_t *q, struct mbuf *m,
440 mark_ecn(struct mbuf *m, struct altq_pktattr *pktattr, int flags)
442 struct mbuf *m0;
452 /* verify that pattr_hdr is within the mbuf data */
525 struct mbuf *
530 struct mbuf *m;
/freebsd-13-stable/sys/netgraph/netflow/
H A Dnetflow_v9.c43 #include <sys/mbuf.h>
172 close_flowset(struct mbuf *m, struct netflow_v9_packet_opt *t)
174 struct mbuf *m_old;
179 /* Hack to ensure we are not crossing mbuf boundary, length is uint16_t */
203 struct mbuf *m = NGI_M(item);
246 struct mbuf *m = NGI_M(item);
385 struct mbuf *m;
408 /* Set mbuf current data length */
/freebsd-13-stable/sys/netinet6/
H A Dip6_output.c81 #include <sys/mbuf.h>
130 struct mbuf *ip6e_ip6;
131 struct mbuf *ip6e_hbh;
132 struct mbuf *ip6e_dest1;
133 struct mbuf *ip6e_rthdr;
134 struct mbuf *ip6e_dest2;
141 static int ip6_pcbopts(struct ip6_pktopts **, struct mbuf *,
147 static int ip6_copyexthdr(struct mbuf **, caddr_t, int);
148 static int ip6_insertfraghdr(struct mbuf *, struct mbuf *, in
[all...]

Completed in 174 milliseconds

<<11121314151617181920>>