/freebsd-11-stable/sys/netinet6/ |
H A D | ip6_var.h | 92 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 D | xdr_mbuf.c | 34 #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 D | if_gif.h | 46 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 D | netisr.h | 154 * 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 D | if_arc.h | 116 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 D | netmap_mbq.c | 41 #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 D | nfsm_subs.h | 44 * 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 D | ieee80211_crypto_none.c | 38 #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 D | ieee80211_ageq.c | 71 * 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 D | ieee80211_proto.h | 84 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 D | ethernet-mem.c | 38 #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 D | sfxge_tx.c | 67 #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 D | protosw.h | 38 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 D | sockopt.h | 63 /* 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 D | ip_var.h | 62 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 D | ip_carp.h | 114 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 D | ipsec.h | 135 /* 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 D | chap.h | 33 struct mbuf; 77 extern struct mbuf *chap_Input(struct bundle *, struct link *, struct mbuf *);
|
H A D | proto.c | 42 #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 D | proto.h | 64 struct mbuf *proto_Prepend(struct mbuf *, u_short, unsigned, int);
|
/freebsd-11-stable/sys/netpfil/ipfw/ |
H A D | dn_sched.h | 72 * 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 D | in_cksum.h | 41 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 D | ng_l2cap_llpi.h | 45 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 D | nfs_common.h | 48 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 D | if_medium.h | 43 struct mbuf * m; 69 extern int medium_transmit(struct wtap_medium *, int id, struct mbuf*);
|