Home
last modified time | relevance | path

Searched refs:mbuf (Results 1 – 25 of 858) sorted by relevance

12345678910>>...35

/f-stack/tools/compat/include/sys/
H A Dmbuf.h570 void mb_dupcl(struct mbuf *, struct mbuf *);
576 void m_cat(struct mbuf *, struct mbuf *);
577 void m_catpkt(struct mbuf *, struct mbuf *);
584 struct mbuf *m_copypacket(struct mbuf *, int);
586 struct mbuf *m_copyup(struct mbuf *, int, int);
587 struct mbuf *m_defrag(struct mbuf *, int);
592 struct mbuf *m_dup(const struct mbuf *, int);
604 u_int m_length(struct mbuf *, struct mbuf **);
611 struct mbuf *m_pullup(struct mbuf *, int);
613 struct mbuf *m_split(struct mbuf *, int, int);
[all …]
H A Dsockbuf.h70 struct mbuf;
148 struct mbuf *m0, struct mbuf *control);
150 struct mbuf *m0, struct mbuf *control);
152 const struct sockaddr *asa, struct mbuf *m0, struct mbuf *control);
154 struct mbuf *control, int flags);
159 void sbcompress(struct sockbuf *sb, struct mbuf *m, struct mbuf *n);
160 struct mbuf *
162 struct mbuf *
168 struct mbuf *
181 struct mbuf *
[all …]
/f-stack/dpdk/drivers/net/dpaa/
H A Ddpaa_rxtx.c308 prs->l4_off = mbuf->l3_len + mbuf->l2_len; in dpaa_checksum_offload()
319 mbuf->packet_type = rte_net_get_ptype(mbuf, &hdr_lens, in dpaa_unsegmented_checksum()
333 dpaa_checksum_offload(mbuf, fd_arr, mbuf->buf_addr); in dpaa_unsegmented_checksum()
432 dpaa_eth_packet_info(mbuf, mbuf->buf_addr); in dpaa_eth_fd_to_mbuf()
434 return mbuf; in dpaa_eth_fd_to_mbuf()
542 mbuf = bufs[i]; in dpaa_rx_cb_no_prefetch()
552 dpaa_eth_packet_info(mbuf, mbuf->buf_addr); in dpaa_rx_cb_no_prefetch()
592 dpaa_eth_packet_info(mbuf, mbuf->buf_addr); in dpaa_rx_cb()
653 *bufs = mbuf; in dpaa_rx_cb_parallel()
687 *bufs = mbuf; in dpaa_rx_cb_atomic()
[all …]
/f-stack/freebsd/sys/
H A Dmbuf.h782 void mb_dupcl(struct mbuf *, struct mbuf *);
797 void m_cat(struct mbuf *, struct mbuf *);
798 void m_catpkt(struct mbuf *, struct mbuf *);
805 struct mbuf *m_copypacket(struct mbuf *, int);
807 struct mbuf *m_copyup(struct mbuf *, int, int);
808 struct mbuf *m_defrag(struct mbuf *, int);
814 struct mbuf *m_dup(const struct mbuf *, int);
825 u_int m_length(struct mbuf *, struct mbuf **);
833 struct mbuf *m_pullup(struct mbuf *, int);
835 struct mbuf *m_split(struct mbuf *, int, int);
[all …]
H A Dsockbuf.h70 struct mbuf;
148 struct mbuf *m0, struct mbuf *control);
150 struct mbuf *m0, struct mbuf *control);
152 const struct sockaddr *asa, struct mbuf *m0, struct mbuf *control);
154 struct mbuf *control, int flags);
159 void sbcompress(struct sockbuf *sb, struct mbuf *m, struct mbuf *n);
160 struct mbuf *
162 struct mbuf *
168 struct mbuf *
181 struct mbuf *
[all …]
/f-stack/dpdk/drivers/event/octeontx/
H A Dssovf_worker.h76 mbuf = mbuf->next; in ssovf_octeontx_wqe_xtract_mseg()
80 __mempool_check_cookies(mbuf->pool, (void **)&mbuf, 1, 1); in ssovf_octeontx_wqe_xtract_mseg()
102 mbuf->packet_type = in ssovf_octeontx_wqe_to_pkt()
104 mbuf->data_off = RTE_PTR_DIFF(wqe->s.w3.addr, mbuf->buf_addr); in ssovf_octeontx_wqe_to_pkt()
105 mbuf->ol_flags = 0; in ssovf_octeontx_wqe_to_pkt()
117 mbuf->nb_segs = 1; in ssovf_octeontx_wqe_to_pkt()
118 mbuf->data_len = mbuf->pkt_len; in ssovf_octeontx_wqe_to_pkt()
124 mbuf->vlan_tci = in ssovf_octeontx_wqe_to_pkt()
133 return mbuf; in ssovf_octeontx_wqe_to_pkt()
148 head = mbuf; in ssovf_octeontx_wqe_free()
[all …]
/f-stack/dpdk/lib/librte_port/
H A Drte_port.h28 #define RTE_MBUF_METADATA_UINT8_PTR(mbuf, offset) \ argument
29 (&((uint8_t *)(mbuf))[offset])
30 #define RTE_MBUF_METADATA_UINT16_PTR(mbuf, offset) \ argument
31 ((uint16_t *) RTE_MBUF_METADATA_UINT8_PTR(mbuf, offset))
32 #define RTE_MBUF_METADATA_UINT32_PTR(mbuf, offset) \ argument
33 ((uint32_t *) RTE_MBUF_METADATA_UINT8_PTR(mbuf, offset))
35 ((uint64_t *) RTE_MBUF_METADATA_UINT8_PTR(mbuf, offset))
38 (*RTE_MBUF_METADATA_UINT8_PTR(mbuf, offset))
40 (*RTE_MBUF_METADATA_UINT16_PTR(mbuf, offset))
42 (*RTE_MBUF_METADATA_UINT32_PTR(mbuf, offset))
[all …]
/f-stack/dpdk/drivers/net/ark/
H A Drte_pmd_ark.h46 rte_pmd_ark_mbuf_tx_userdata_get(const struct rte_mbuf *mbuf) in rte_pmd_ark_mbuf_tx_userdata_get() argument
49 return *RTE_MBUF_DYNFIELD(mbuf, rte_pmd_ark_tx_userdata_dynfield_offset, in rte_pmd_ark_mbuf_tx_userdata_get()
52 RTE_SET_USED(mbuf); in rte_pmd_ark_mbuf_tx_userdata_get()
68 rte_pmd_ark_mbuf_tx_userdata_set(struct rte_mbuf *mbuf, in rte_pmd_ark_mbuf_tx_userdata_set() argument
72 *RTE_MBUF_DYNFIELD(mbuf, rte_pmd_ark_tx_userdata_dynfield_offset, in rte_pmd_ark_mbuf_tx_userdata_set()
75 RTE_SET_USED(mbuf); in rte_pmd_ark_mbuf_tx_userdata_set()
91 rte_pmd_ark_mbuf_rx_userdata_get(const struct rte_mbuf *mbuf) in rte_pmd_ark_mbuf_rx_userdata_get() argument
97 RTE_SET_USED(mbuf); in rte_pmd_ark_mbuf_rx_userdata_get()
113 rte_pmd_ark_mbuf_rx_userdata_set(struct rte_mbuf *mbuf, in rte_pmd_ark_mbuf_rx_userdata_set() argument
117 *RTE_MBUF_DYNFIELD(mbuf, rte_pmd_ark_rx_userdata_dynfield_offset, in rte_pmd_ark_mbuf_rx_userdata_set()
[all …]
/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_rxr.c49 if (!mbuf) { in bnxt_alloc_rx_data()
54 *rx_buf = mbuf; in bnxt_alloc_rx_data()
81 if (!mbuf) { in bnxt_alloc_ag_data()
86 *rx_buf = mbuf; in bnxt_alloc_ag_data()
127 return mbuf; in bnxt_consume_rx_buf()
150 tpa_info->mbuf = mbuf; in bnxt_tpa_start()
157 mbuf->data_len = mbuf->pkt_len; in bnxt_tpa_start()
306 mbuf = tpa_info->mbuf; in bnxt_tpa_end()
322 return mbuf; in bnxt_tpa_end()
740 mbuf->data_len = mbuf->pkt_len; in bnxt_rx_pkt()
[all …]
/f-stack/dpdk/drivers/net/hinic/
H A Dhinic_pmd_tx.c305 (char *)mbuf->buf_addr + mbuf->data_off, in hinic_copy_tx_mbuf()
309 mbuf = mbuf->next; in hinic_copy_tx_mbuf()
347 mbuf = mbuf->next; in hinic_mbuf_dma_map_sge()
367 mbuf = mbuf->next; in hinic_mbuf_dma_map_sge()
388 mbuf = mbuf->next; in hinic_mbuf_dma_map_sge()
397 mbuf = hinic_copy_tx_mbuf(txq->nic_dev, mbuf, in hinic_mbuf_dma_map_sge()
459 mbuf_head = mbuf; in hinic_is_tso_sge_valid()
477 mbuf_pre = mbuf; in hinic_is_tso_sge_valid()
478 mbuf = mbuf->next; in hinic_is_tso_sge_valid()
638 mbuf = tx_info->mbuf; in hinic_xmit_mbuf_cleanup()
[all …]
/f-stack/freebsd/netinet6/
H A Dip6_var.h354 void ip6_input(struct mbuf *);
355 void ip6_direct_input(struct mbuf *);
364 struct mbuf *);
368 struct mbuf **ip6_savecontrol_v4(struct inpcb *, struct mbuf *,
369 struct mbuf **, int *);
370 void ip6_savecontrol(struct inpcb *, struct mbuf *, struct mbuf **);
374 void ip6_forward(struct mbuf *, int);
398 int frag6_input(struct mbuf **, int *, int);
403 int rip6_input(struct mbuf **, int *, int);
408 int, struct mbuf *, struct mbuf *, struct mbuf *, struct thread *);
[all …]
/f-stack/tools/compat/include/netinet6/
H A Dip6_var.h354 void ip6_input(struct mbuf *);
355 void ip6_direct_input(struct mbuf *);
364 struct mbuf *);
368 struct mbuf **ip6_savecontrol_v4(struct inpcb *, struct mbuf *,
369 struct mbuf **, int *);
370 void ip6_savecontrol(struct inpcb *, struct mbuf *, struct mbuf **);
374 void ip6_forward(struct mbuf *, int);
398 int frag6_input(struct mbuf **, int *, int);
403 int rip6_input(struct mbuf **, int *, int);
408 int, struct mbuf *, struct mbuf *, struct mbuf *, struct thread *);
[all …]
/f-stack/freebsd/netinet/
H A Dsctp_output.h45 struct mbuf *
49 struct mbuf *m_at,
77 struct sctp_nets *, struct mbuf *,
84 struct mbuf *
85 sctp_arethere_unrecognized_parameters(struct mbuf *, int, int *,
87 void sctp_queue_op_err(struct sctp_tcb *, struct mbuf *);
136 struct mbuf *, struct thread *, int);
176 struct sctphdr *, uint32_t, struct mbuf *,
182 struct sctphdr *, uint32_t, struct mbuf *,
193 struct mbuf *top,
[all …]
H A Dip_options.h55 int ip_checkrouteralert(struct mbuf *);
56 int ip_dooptions(struct mbuf *, int);
57 struct mbuf *ip_insertoptions(struct mbuf *, struct mbuf *, int *);
59 int ip_pcbopts(struct inpcb *, int, struct mbuf *);
60 void ip_stripoptions(struct mbuf *);
61 struct mbuf *ip_srcroute(struct mbuf *);
H A Dip_var.h218 void ip_forward(struct mbuf *m, int srcrt);
223 int ip_output(struct mbuf *,
228 struct mbuf *
229 ip_reass(struct mbuf *);
231 struct mbuf *);
237 int rip_input(struct mbuf **, int *, int);
238 int rip_output(struct mbuf *, struct socket *, ...);
239 int ipip_input(struct mbuf **, int *, int);
240 int rsvp_input(struct mbuf **, int *, int);
245 extern int (*rsvp_input_p)(struct mbuf **, int *, int);
[all …]
/f-stack/dpdk/doc/guides/nics/
H A Dfeatures.rst213 * **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_LRO``, ``mbuf.tso_segsz``.
228 * **[uses] mbuf**: ``mbuf.tso_segsz``, ``mbuf.l2_len``, ``mbuf.l3_len``, ``mbuf.l4_len``.
295 * **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_RSS_HASH``, ``mbuf.rss``.
307 * **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_RSS_HASH``, ``mbuf.rss``.
495 * **[uses] mbuf**: ``mbuf.ol_flags:PKT_TX_VLAN``, ``mbuf.vlan_tci``.
497 * **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_VLAN_STRIPPED``, ``mbuf.ol_flags:PKT_RX_VLAN`` ``mb…
513 * **[uses] mbuf**: ``mbuf.ol_flags:PKT_TX_QINQ``, ``mbuf.vlan_tci_outer``.
532 * **[uses] mbuf**: ``mbuf.l2_len``, ``mbuf.l3_len``.
552 * **[uses] mbuf**: ``mbuf.l2_len``, ``mbuf.l3_len``.
599 * **[uses] mbuf**: ``mbuf.outer_l2_len``, ``mbuf.outer_l3_len``.
[all …]
/f-stack/freebsd/netipsec/
H A Dipsec6.h64 struct secpolicy *ipsec6_checkpolicy(const struct mbuf *,
67 void ipsec6_setsockaddrs(const struct mbuf *, union sockaddr_union *,
69 int ipsec6_input(struct mbuf *, int, int);
70 int ipsec6_in_reject(const struct mbuf *, struct inpcb *);
71 int ipsec6_forward(struct mbuf *);
73 int ipsec6_output(struct mbuf *, struct inpcb *);
74 int ipsec6_capability(struct mbuf *, u_int);
75 int ipsec6_common_input_cb(struct mbuf *, struct secasvar *, int, int);
76 int ipsec6_process_packet(struct mbuf *, struct secpolicy *, struct inpcb *);
78 int ip6_ipsec_filtertunnel(struct mbuf *);
H A Dipsec_support.h34 struct mbuf;
48 int (*input)(struct mbuf *, int, int);
49 int (*check_policy)(const struct mbuf *, struct inpcb *);
50 int (*forward)(struct mbuf *);
51 int (*output)(struct mbuf *, struct inpcb *);
54 int (*capability)(struct mbuf *, u_int);
57 int (*udp_input)(struct mbuf *, int, int);
64 int (*input)(struct mbuf *, struct tcphdr *, u_char *);
65 int (*output)(struct mbuf *, struct tcphdr *, u_char *);
101 int tcpmd5_kmod_input(struct tcpmd5_support * const, struct mbuf *,
[all …]
H A Dipsec.h314 int ipsec_if_input(struct mbuf *, struct secasvar *, uint32_t);
324 int udp_ipsec_output(struct mbuf *, struct secasvar *);
325 int udp_ipsec_input(struct mbuf *, int, int);
337 int ipsec4_in_reject(const struct mbuf *, struct inpcb *);
338 int ipsec4_input(struct mbuf *, int, int);
339 int ipsec4_forward(struct mbuf *);
341 int ipsec4_output(struct mbuf *, struct inpcb *);
342 int ipsec4_capability(struct mbuf *, u_int);
350 extern struct mbuf *m_makespace(struct mbuf *m0, int skip, int hlen, int *off);
351 extern caddr_t m_pad(struct mbuf *m, int n);
[all …]
/f-stack/freebsd/net/altq/
H A Daltq_classq.h97 _addq(class_queue_t *q, struct mbuf *m) in _addq()
99 struct mbuf *m0; in _addq()
111 static __inline struct mbuf *
114 struct mbuf *m, *m0; in _getq()
129 static __inline struct mbuf *
132 struct mbuf *m, *m0, *prev; in _getq_tail()
151 static __inline struct mbuf *
154 struct mbuf *m; in _getq_random()
162 struct mbuf *prev = NULL; in _getq_random()
181 struct mbuf *m0, *prev; in _removeq()
[all …]
H A Dif_altq.h43 struct mbuf *ifq_head;
44 struct mbuf *ifq_tail;
50 struct mbuf *ifq_drv_head;
51 struct mbuf *ifq_drv_tail;
61 int (*altq_enqueue)(struct ifaltq *, struct mbuf *,
63 struct mbuf *(*altq_dequeue)(struct ifaltq *, int);
68 void *(*altq_classify)(void *, struct mbuf *, int);
169 int (*)(struct ifaltq *, struct mbuf *,
171 struct mbuf *(*)(struct ifaltq *, int),
174 void *(*)(void *, struct mbuf *, int));
[all …]
/f-stack/freebsd/net80211/
H A Dieee80211_superg.h63 struct mbuf *head; /* frames linked w/ m_nextpkt */
64 struct mbuf *tail; /* last frame in queue */
109 struct mbuf * ieee80211_amsdu_check(struct ieee80211_node *ni, struct mbuf *m);
110 struct mbuf *ieee80211_ff_check(struct ieee80211_node *, struct mbuf *);
142 struct mbuf *ieee80211_ff_encap(struct ieee80211vap *, struct mbuf *,
144 struct mbuf * ieee80211_amsdu_encap(struct ieee80211vap *vap, struct mbuf *m1,
147 struct mbuf *ieee80211_ff_decap(struct ieee80211_node *, struct mbuf *);
149 static __inline struct mbuf *
151 struct mbuf *m) in ieee80211_decap_fastframe()
H A Dieee80211_proto.h97 int ieee80211_output(struct ifnet *, struct mbuf *,
102 struct mbuf *, const struct ieee80211_bpf_params *);
111 struct ieee80211_key *, struct mbuf *);
113 struct mbuf *);
114 void ieee80211_free_mbuf(struct mbuf *);
122 struct mbuf * ieee80211_ff_encap1(struct ieee80211vap *, struct mbuf *,
125 struct mbuf *, int);
138 struct mbuf *ieee80211_alloc_rts(struct ieee80211com *ic,
141 struct mbuf *ieee80211_alloc_cts(struct ieee80211com *,
144 const struct mbuf *, uint8_t, int);
[all …]
/f-stack/tools/compat/include/netinet/
H A Dip_var.h218 void ip_forward(struct mbuf *m, int srcrt);
223 int ip_output(struct mbuf *,
228 struct mbuf *
229 ip_reass(struct mbuf *);
231 struct mbuf *);
237 int rip_input(struct mbuf **, int *, int);
238 int rip_output(struct mbuf *, struct socket *, ...);
239 int ipip_input(struct mbuf **, int *, int);
240 int rsvp_input(struct mbuf **, int *, int);
245 extern int (*rsvp_input_p)(struct mbuf **, int *, int);
[all …]
/f-stack/freebsd/netgraph/bluetooth/hci/
H A Dng_hci_cmds.c65 (ng_hci_unit_p, u_int16_t, struct mbuf *, struct mbuf *);
67 (ng_hci_unit_p, u_int16_t, struct mbuf *, struct mbuf *);
69 (ng_hci_unit_p, u_int16_t, struct mbuf *, struct mbuf *);
71 (ng_hci_unit_p, u_int16_t, struct mbuf *, struct mbuf *);
73 (ng_hci_unit_p, u_int16_t, struct mbuf *, struct mbuf *);
75 (ng_hci_unit_p, u_int16_t, struct mbuf *, struct mbuf *);
77 (ng_hci_unit_p, u_int16_t, struct mbuf *, struct mbuf *);
439 struct mbuf *mcp, struct mbuf *mrp) in process_link_control_params()
494 struct mbuf *mcp, struct mbuf *mrp) in process_link_policy_params()
563 struct mbuf *mcp, struct mbuf *mrp) in process_hc_baseband_params()
[all …]

12345678910>>...35