Searched refs:mbuf (Results 176 - 200 of 244) sorted by relevance

12345678910

/xnu-2422.115.4/bsd/net/pktsched/
H A Dpktsched_qfq.c67 #include <sys/mbuf.h>
84 static int qfq_enqueue_ifclassq(struct ifclassq *, struct mbuf *);
85 static struct mbuf *qfq_dequeue_ifclassq(struct ifclassq *, cqdq_op_t);
92 static inline int qfq_addq(struct qfq_class *, struct mbuf *, struct pf_mtag *);
93 static inline struct mbuf *qfq_getq(struct qfq_class *);
94 static inline struct mbuf *qfq_pollq(struct qfq_class *);
928 struct mbuf *
935 struct mbuf *m;
1068 qfq_enqueue(struct qfq_if *qif, struct qfq_class *cl, struct mbuf *m,
1308 qfq_addq(struct qfq_class *cl, struct mbuf *
[all...]
H A Dpktsched_hfsc.c78 #include <sys/mbuf.h>
96 static int hfsc_enqueue_ifclassq(struct ifclassq *, struct mbuf *);
97 static struct mbuf *hfsc_dequeue_ifclassq(struct ifclassq *, cqdq_op_t);
100 static int hfsc_addq(struct hfsc_class *, struct mbuf *, struct pf_mtag *);
101 static struct mbuf *hfsc_getq(struct hfsc_class *);
102 static struct mbuf *hfsc_pollq(struct hfsc_class *);
759 hfsc_enqueue(struct hfsc_if *hif, struct hfsc_class *cl, struct mbuf *m,
826 struct mbuf *
831 struct mbuf *m;
927 hfsc_addq(struct hfsc_class *cl, struct mbuf *
[all...]
/xnu-2422.115.4/bsd/net/classq/
H A Dclassq_sfb.c31 #include <sys/mbuf.h>
209 static struct mbuf *sfb_getq_flow(struct sfb *, class_queue_t *, u_int32_t,
972 sfb_addq(struct sfb *sp, class_queue_t *q, struct mbuf *m, struct pf_mtag *t)
1081 static struct mbuf *
1085 struct mbuf *m;
1154 struct mbuf *
1165 struct mbuf *m;
/xnu-2422.115.4/bsd/netinet/
H A Dmptcp_subr.c33 #include <sys/mbuf.h>
142 struct uio *, struct mbuf **, struct mbuf **, int *);
827 struct uio *uio, struct mbuf **mp0, struct mbuf **controlp, int *flagsp)
832 struct mbuf *m, **mp = mp0;
833 struct mbuf *nextrecord;
1504 struct mbuf *m = NULL;
1592 struct mbuf *sb_mb;
1596 struct mbuf *mpt_mbu
[all...]
H A Din_tclass.c40 #include <sys/mbuf.h>
717 mbuf_service_class_from_control(struct mbuf *control)
769 so_recv_data_stat(struct socket *so, struct mbuf *m, size_t off)
866 * - mark the mbuf
870 set_packet_service_class(struct mbuf *m, struct socket *so,
909 * Set the traffic class in the mbuf packet header svc field
1018 so_tc_update_stats(struct mbuf *m, struct socket *so, mbuf_svc_class_t msc)
1023 * Assume socket and mbuf traffic class values are the same
H A Dip_compat.h293 extern void m_copydata(struct mbuf *, int, int, caddr_t);
294 extern void m_copyback(struct mbuf *, int, int, caddr_t);
367 typedef struct mbuf mb_t;
524 * mbuf related problems.
H A Dmptcp_var.h548 extern void mptcp_input(struct mptses *, struct mbuf *);
570 extern void mptcp_insert_dsn(struct mppcb *, struct mbuf *);
H A Dmp_pcb.c32 #include <sys/mbuf.h>
H A Dtcp_input.c75 #include <sys/mbuf.h>
313 struct tcphdr *, struct mbuf *, int);
314 static int tcp_reass(struct tcpcb *, struct tcphdr *, int *, struct mbuf *,
587 tcp_reass(struct tcpcb *tp, struct tcphdr *th, int *tlenp, struct mbuf *m,
598 struct mbuf *oodata = NULL;
837 * make a copy of the mbuf to be delivered up to
912 tcp6_input(struct mbuf **mp, int *offp, int proto)
915 register struct mbuf *m = *mp;
948 /* Depending on the usage of mbuf space in the system, this function
956 * We can use a maximum of half of the available mbuf spac
[all...]
/xnu-2422.115.4/bsd/net/
H A Dpf.c70 #include <sys/mbuf.h>
220 static void pf_change_ap(int, struct mbuf *, struct pf_addr *,
223 static int pf_modulate_sack(struct mbuf *, int, struct pf_pdesc *,
238 static void pf_send_icmp(struct mbuf *, u_int8_t, u_int8_t,
240 static struct pf_rule *pf_match_translation(struct pf_pdesc *, struct mbuf *,
245 struct mbuf *, int, int, struct pfi_kif *,
255 int, struct pfi_kif *, struct mbuf *, int,
260 struct pfi_kif *, struct mbuf **,
264 struct pfi_kif *, struct mbuf *, void *,
268 struct pfi_kif *, struct mbuf *, in
[all...]
H A Dpktap.c146 void pktap_bpf_tap(struct ifnet *, protocol_family_t , struct mbuf *,
749 struct mbuf *m, u_int32_t pre, int outgoing, struct ifnet *ifp)
931 pktap_bpf_tap(struct ifnet *ifp, protocol_family_t proto, struct mbuf *m,
956 * We can play just with the length of the first mbuf in the
958 * of the mbuf packet header.
1036 * Skip the protocol in the mbuf as it's in network order
1074 * We can play just with the length of the first mbuf in the
1076 * of the mbuf packet header.
1091 pktap_input(struct ifnet *ifp, protocol_family_t proto, struct mbuf *m,
1101 /* Make sure the frame header is fully contained in the mbuf */
[all...]
H A Dif_bond.c45 #include <sys/mbuf.h>
501 ** - thin wrapper for mbuf
504 typedef struct mbuf * packet_buffer_ref;
655 static int bond_output(struct ifnet *ifp, struct mbuf *m);
962 bond_bpf_vlan(struct ifnet * ifp, struct mbuf * m,
967 struct mbuf * vl_m;
973 /* populate a new mbuf containing the vlan ethernet header */
988 bond_bpf_output(struct ifnet * ifp, struct mbuf * m,
1311 static struct mbuf *
1312 S_mbuf_skip_to_offset(struct mbuf *
[all...]
H A Dbridgestp.c70 #include <sys/mbuf.h>
159 static void bstp_enqueue(struct ifnet *, struct mbuf *);
162 struct mbuf **, struct bstp_tbpdu *);
164 struct mbuf **, struct bstp_tbpdu *);
293 struct mbuf *m;
407 struct mbuf *m;
459 bstp_enqueue(struct ifnet *dst_ifp, struct mbuf *m)
531 struct mbuf *
532 bstp_input(struct bstp_port *bp, __unused struct ifnet *ifp, struct mbuf *m)
611 struct mbuf **m
[all...]
H A Dif_gif.c70 #include <sys/mbuf.h>
127 static int gif_encapcheck(const struct mbuf *, int, int, void *);
479 const struct mbuf *m,
513 mbuf_copydata((struct mbuf *)(size_t)m, 0, sizeof (ip), &ip);
595 /* the mbuf was freed either by in_gif_output or in here */
H A Dif_vlan.c75 #include <sys/mbuf.h>
112 typedef int (bpf_callback_func)(struct ifnet *, struct mbuf *);
375 static int vlan_output(struct ifnet *ifp, struct mbuf *m);
562 vlan_bpf_output(struct ifnet * ifp, struct mbuf * m,
572 vlan_bpf_input(struct ifnet * ifp, struct mbuf * m,
1086 vlan_output(struct ifnet * ifp, struct mbuf * m)
1139 * the mbuf header to store the VLAN tag, and a bit in the
H A Diptap.c108 void iptap_bpf_tap(struct mbuf *m, u_int32_t proto, int outgoing);
579 iptap_bpf_tap(struct mbuf *m, u_int32_t proto, int outgoing)
H A Dpf_osfp.c53 #include <sys/mbuf.h>
89 pf_osfp_fingerprint(struct pf_pdesc *pd, struct mbuf *m, int off,
/xnu-2422.115.4/bsd/netinet6/
H A Din6.h844 * Redefinition of mbuf flags
851 struct mbuf;
857 extern u_int16_t inet6_cksum(struct mbuf *, uint32_t, uint32_t, uint32_t);
874 extern uint32_t in6_finalize_cksum(struct mbuf *, uint32_t, int32_t,
H A Dah_core.c70 #include <sys/mbuf.h>
160 static void ah_update_mbuf(struct mbuf *, int, int,
1200 struct mbuf *m;
1206 struct mbuf *n;
1242 * Go generate the checksum. This function won't modify the mbuf chain
1245 * NOTE: the function does not free mbuf on failure.
1246 * Don't use m_copy(), it will try to share cluster mbuf by using refcnt.
1250 struct mbuf *m;
1263 struct mbuf *n = NULL;
1486 * Go generate the checksum. This function won't modify the mbuf chai
[all...]
H A Dscope6.c60 #include <sys/mbuf.h>
H A Dip6_fw.c94 #include <sys/mbuf.h>
187 struct mbuf **m,
197 struct ifnet *oif, u_int16_t *cookie, struct mbuf **m));
295 ip6opts_match(struct ip6_hdr **pip6, struct ip6_fw *f, struct mbuf **m,
559 struct ifnet *oif, u_int16_t *cookie, struct mbuf **m)
792 * the divert input routine modifies the mbuf
794 * counts in the case of mbuf clusters), so need
/xnu-2422.115.4/bsd/dev/
H A Dunix_startup.c46 #include <sys/mbuf.h>
234 /* 512 MB (K32) or 2 GB (K64) hard limit on size of the mbuf pool */
282 /* Auto-configure the mbuf pool size */
/xnu-2422.115.4/bsd/kern/
H A Dkpi_socket.c41 #include <sys/mbuf.h>
643 struct mbuf *control = NULL;
696 struct mbuf *m = control;
756 struct mbuf *control = NULL;
822 * in the mbuf case since the latter is treated as atomic send.
842 * free the mbuf chain if there is one. sosend (and pru_sosend) will
843 * free the mbuf chain if they encounter an error.
H A Duipc_syscalls.c80 #include <sys/mbuf.h>
145 static void alloc_sendpkt(int, size_t, unsigned int *, struct mbuf **,
1084 struct mbuf *control = NULL;
1356 struct mbuf *m, *control = 0;
1404 (struct mbuf **)0, mp->msg_control ? &control : (struct mbuf **)0,
2051 sockargs(struct mbuf **mp, user_addr_t data, int buflen, int type)
2054 struct mbuf *m;
2083 * and we lie about the size of the mbuf because it only affects unp_* functions
2272 /* Upper send limit in the number of mbuf cluster
[all...]
/xnu-2422.115.4/tools/lldbmacros/
H A Dmbufs.py15 """ Print extended mbuf allocator statistics.
25 mbuf = kern.globals.mbuf_table[i]
26 mcs = Cast(mbuf.mtbl_stats, 'mb_class_stat_t *')
27 mc = mbuf.mtbl_cache
40 mcs.mbcl_fail_cnt, mbuf.mtbl_cache.mc_waiter_cnt,
48 """ Walk the mbuf packet chain (m_nextpkt)
53 mp = kern.GetValueFromAddress(cmd_args[0], 'mbuf *')
72 """ Walk the mbuf chain (m_next)
74 mp = kern.GetValueFromAddress(cmd_args[0], 'mbuf *')
93 """ Given an mbuf objec
[all...]

Completed in 170 milliseconds

12345678910