/darwin-on-arm/xnu/bsd/net/classq/ |
H A D | classq_rio.h | 127 extern int rio_addq(rio_t *, class_queue_t *, struct mbuf *, struct pf_mtag *); 128 extern struct mbuf *rio_getq(rio_t *, class_queue_t *);
|
H A D | classq_blue.c | 97 #include <sys/mbuf.h> 137 static struct mbuf *blue_getq_flow(struct blue *, class_queue_t *, 213 blue_addq(struct blue *bp, class_queue_t *q, struct mbuf *m, 294 static struct mbuf * 299 struct mbuf *m; 314 struct mbuf * 325 struct mbuf *m;
|
H A D | classq_util.c | 64 #include <sys/mbuf.h> 89 read_dsfield(struct mbuf *m, struct pf_mtag *t) 91 struct mbuf *m0; 98 /* verify that hdr is within the mbuf data */ 139 write_dsfield(struct mbuf *m, struct pf_mtag *t, u_int8_t dsfield) 141 struct mbuf *m0; 147 /* verify that hdr is within the mbuf data */ 208 mark_ecn(struct mbuf *m, struct pf_mtag *t, int flags) 210 struct mbuf *m0; 218 /* verify that hdr is within the mbuf dat [all...] |
H A D | classq_subr.c | 31 #include <sys/mbuf.h> 61 u_int32_t, struct mbuf **, struct mbuf **, u_int32_t *, u_int32_t *, 63 static struct mbuf *ifclassq_poll_common(struct ifclassq *, 65 static struct mbuf *ifclassq_tbr_dequeue_common(struct ifclassq *, int, 248 ifclassq_enqueue(struct ifclassq *ifq, struct mbuf *m) 273 ifclassq_dequeue(struct ifclassq *ifq, u_int32_t limit, struct mbuf **head, 274 struct mbuf **tail, u_int32_t *cnt, u_int32_t *len) 282 u_int32_t limit, struct mbuf **head, struct mbuf **tai [all...] |
/darwin-on-arm/xnu/bsd/net/ |
H A D | raw_usrreq.c | 66 #include <sys/mbuf.h> 107 raw_input(struct mbuf *m0, struct sockproto *proto, struct sockaddr *src, 111 struct mbuf *m = m0; 143 struct mbuf *n; 148 n, (struct mbuf *)0, &error) != 0) { 160 m, (struct mbuf *)0, &error) != 0) { 282 raw_usend(struct socket *so, int flags, struct mbuf *m, 283 struct sockaddr *nam, struct mbuf *control, __unused struct proc *p)
|
H A D | if_loop.c | 83 #include <sys/mbuf.h> 130 struct mbuf *_n; \ 152 static errno_t lo_demux(struct ifnet *, struct mbuf *, char *, 155 static errno_t lo_framer(struct ifnet *, struct mbuf **, 160 lo_framer(struct ifnet *, struct mbuf **, const struct sockaddr *, 166 static int lo_output(struct ifnet *, struct mbuf *); 167 static errno_t lo_pre_enqueue(struct ifnet *, struct mbuf *); 169 static errno_t lo_pre_output(struct ifnet *, protocol_family_t, struct mbuf **, 171 static errno_t lo_input(struct ifnet *, protocol_family_t, struct mbuf *); 212 lo_demux(struct ifnet *ifp, struct mbuf * [all...] |
H A D | net_osdep.c | 60 #include <sys/mbuf.h>
|
H A D | kext_net.c | 40 #include <sys/mbuf.h> 226 static int sym_fix_sbappend(struct sockbuf *, struct mbuf *, struct kextcb *); 231 static int sym_fix_sosend(struct socket *, struct sockaddr **, struct uio **, struct mbuf **, 232 struct mbuf **, int *, struct kextcb *); 286 static int sym_fix_sbappend(struct sockbuf *p1, struct mbuf *p2, struct kextcb *p3) 326 static int sym_fix_sosend(struct socket *p1, struct sockaddr **p2, struct uio **p3, struct mbuf **p4, 327 struct mbuf **p5, int *p6, struct kextcb *p7)
|
H A D | ppp_deflate.c | 66 #include <sys/mbuf.h> 70 #define PACKETPTR struct mbuf * 107 static int z_compress(void *state, struct mbuf **mret, 108 struct mbuf *mp, int slen, int maxolen); 109 static void z_incomp(void *state, struct mbuf *dmsg); 110 static int z_decompress(void *state, struct mbuf *cmp, struct mbuf **dmpp); 263 struct mbuf **mret; /* compressed packet (out) */ 264 struct mbuf *mp; /* uncompressed packet (in) */ 270 struct mbuf * [all...] |
/darwin-on-arm/xnu/bsd/net/altq/ |
H A D | altq_fairq.c | 100 #include <sys/mbuf.h> 115 static int altq_fairq_enqueue(struct ifaltq *, struct mbuf *); 116 static struct mbuf *altq_fairq_dequeue(struct ifaltq *, enum altdq_op); 272 altq_fairq_enqueue(struct ifaltq *altq, struct mbuf *m) 295 static struct mbuf *
|
H A D | altq_priq.c | 67 #include <sys/mbuf.h> 82 static int altq_priq_enqueue(struct ifaltq *, struct mbuf *); 83 static struct mbuf *altq_priq_dequeue(struct ifaltq *, enum altdq_op); 238 altq_priq_enqueue(struct ifaltq *altq, struct mbuf *m) 261 static struct mbuf *
|
H A D | altq_qfq.c | 38 #include <sys/mbuf.h> 53 static int altq_qfq_enqueue(struct ifaltq *, struct mbuf *); 54 static struct mbuf *altq_qfq_dequeue(struct ifaltq *, enum altdq_op); 208 altq_qfq_enqueue(struct ifaltq *altq, struct mbuf *m) 231 static struct mbuf *
|
H A D | if_altq.h | 74 typedef int (*altq_enq_func)(struct ifaltq *, struct mbuf *); 75 typedef struct mbuf *(*altq_deq_func)(struct ifaltq *, enum altdq_op); 76 typedef struct mbuf *(*altq_deq_sc_func)(struct ifaltq *, 107 ALTDQ_REMOVE = CLASSQDQ_REMOVE, /* dequeue mbuf from the queue */ 108 ALTDQ_POLL = CLASSQDQ_POLL, /* don't dequeue mbuf from the queue */
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | route6.c | 63 #include <sys/mbuf.h> 80 static int ip6_rthdr0(struct mbuf *, struct ip6_hdr *, 85 route6_input(struct mbuf **mp, int *offp, int proto) 89 struct mbuf *m = *mp; 139 * max mbuf m_pulldown can handle: MCLBYTES == usually 2048 179 struct mbuf *m;
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | uipc_socket2.c | 78 #include <sys/mbuf.h> 106 static inline void sbcompress(struct sockbuf *, struct mbuf *, struct mbuf *); 109 struct mbuf *, struct mbuf *); 110 static int sbappendcontrol_internal(struct sockbuf *, struct mbuf *, 111 struct mbuf *); 119 /* Based on the number of mbuf clusters configured, high_sb_max and sb_max can get 627 * any associated data (mbuf's must be of type MT_SONAME). 631 * should be present (mbuf' [all...] |
H A D | uipc_mbuf.c | 73 #include <sys/mbuf.h> 110 * object represents an mbuf structure. This cache preserves only 111 * the m_type field of the mbuf during its transactions. 126 * fields of the mbuf related to the external cluster are preserved 132 * fields of the mbuf related to the external cluster are preserved 143 * for all of the caches as the mbuf global lock is held most of the time. 278 * | mbuf addr | | mclaudit[i] | 324 static unsigned int mbuf_debug; /* patchable mbuf mcache flags */ 331 MC_MBUF = 0, /* Regular mbuf */ 335 MC_MBUF_CL, /* mbuf [all...] |
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | tcp_lro.c | 32 #include <sys/mbuf.h> 90 static void lro_update_stats(struct mbuf*); 91 static void lro_update_flush_stats(struct mbuf *); 94 static void lro_proto_input(struct mbuf *); 96 static struct mbuf *lro_tcp_xsum_validate(struct mbuf*, struct ipovly *, 98 static struct mbuf *tcp_lro_process_pkt(struct mbuf*, struct ip*, struct tcphdr*, 223 tcp_lro_coalesce(int flow_id, struct mbuf *lro_mb, struct tcphdr *tcphdr, 228 struct mbuf *las [all...] |
H A D | kpi_ipfilter.c | 33 #include <sys/mbuf.h> 216 struct mbuf *m = (struct mbuf*)data; 270 struct mbuf *m = (struct mbuf*)data; 276 /* Make the IP header contiguous in the mbuf */ 345 struct mbuf *m = (struct mbuf*)data; 351 /* Make the IP header contiguous in the mbuf */ 394 * Send mbuf an [all...] |
H A D | in_cksum.c | 64 #include <sys/mbuf.h> 113 u_int16_t inet_cksum_simple(struct mbuf *, int); 116 inet_cksum_simple(struct mbuf *m, int len) 146 extern int cpu_in_cksum(struct mbuf *m, int len, int off, uint32_t initial_sum); 149 inet_cksum(struct mbuf *m, unsigned int nxt, unsigned int skip, 156 panic("inet_cksum: mbuf len (%d) < off+len (%d+%d)\n", 165 panic("inet_cksum: bad mbuf chain"); 178 inet_cksum(struct mbuf *m, unsigned int nxt, unsigned int skip, 192 panic("inet_cksum: mbuf len (%d) < off+len (%d+%d)\n", 201 panic("inet_cksum: bad mbuf chai [all...] |
H A D | ip_mroute.c | 52 #include <sys/mbuf.h> 83 struct mbuf *m, struct ip_moptions *imo); 125 __unused struct mbuf *m, __unused ip_moptions *imo) 130 int (*ip_mforward)(struct ip *, struct ifnet *, struct mbuf *, 142 rsvp_input(struct mbuf *m, int iphlen) /* XXX must fixup manually */ 163 void ipip_input(struct mbuf *m, int iphlen) { /* XXX must fixup manually */ 218 extern void X_ipip_input(struct mbuf *m, int iphlen); 291 static int X_ip_mforward(struct ip *ip, struct ifnet *ifp, struct mbuf *m, struct ip_moptions *imo); 305 static int socket_send(struct socket *, struct mbuf *, struct sockaddr_in *); 308 static int ip_mdq(struct mbuf *, struc [all...] |
/darwin-on-arm/xnu/security/ |
H A D | mac_framework.h | 101 struct mbuf; 210 int mac_ifnet_check_transmit(struct ifnet *ifp, struct mbuf *mbuf, 220 int mac_inpcb_check_deliver(struct inpcb *inp, struct mbuf *mbuf, 231 void mac_ipq_label_associate(struct mbuf *fragment, struct ipq *ipq); 232 int mac_ipq_label_compare(struct mbuf *fragment, struct ipq *ipq); 235 void mac_ipq_label_update(struct mbuf *fragment, struct ipq *ipq); 243 void mac_mbuf_label_associate_bpfdesc(struct bpf_d *bpf_d, struct mbuf *m); 244 void mac_mbuf_label_associate_ifnet(struct ifnet *ifp, struct mbuf * [all...] |
H A D | mac_socket.c | 237 mac_socketpeer_label_associate_mbuf(struct mbuf *mbuf, struct socket *so) argument 244 label = mac_mbuf_to_label(mbuf); 247 MAC_PERFORM(socketpeer_label_associate_mbuf, mbuf, label, 252 mac_socketpeer_label_associate_mbuf(__unused struct mbuf *mbuf, argument 537 mac_socket_check_deliver(struct socket *so, struct mbuf *mbuf) argument 545 label = mac_mbuf_to_label(mbuf); 549 (socket_t)so, so->so_label, mbuf, labe local 554 mac_socket_check_deliver(__unused struct socket *so, __unused struct mbuf *mbuf) argument [all...] |
/darwin-on-arm/xnu/bsd/netat/ |
H A D | adsp_InitGlobals.c | 44 #include <sys/mbuf.h>
|
H A D | aurp_gdata.c | 48 #include <sys/mbuf.h>
|
/darwin-on-arm/xnu/bsd/netkey/ |
H A D | keysock.c | 39 #include <sys/mbuf.h> 64 static int key_sendup0(struct rawcb *, struct mbuf *, int); 77 key_output(struct mbuf *m, struct socket *so) 80 key_output(struct mbuf *m, ...) 83 struct mbuf *m; 121 printf("key_output: can't pullup mbuf\n"); 163 struct mbuf *m; 212 struct mbuf *m; 215 struct mbuf *n; 463 key_send(struct socket *so, int flags, struct mbuf * [all...] |