Home
last modified time | relevance | path

Searched refs:pbuf_t (Results 1 – 10 of 10) sorted by relevance

/xnu-8796.121.2/bsd/net/
H A Dpf_pbuf.h83 } pbuf_t; typedef
87 void pbuf_init_mbuf(pbuf_t *, struct mbuf *, struct ifnet *);
88 void pbuf_init_memory(pbuf_t *, const struct pbuf_memory *,
90 void pbuf_destroy(pbuf_t *);
91 void pbuf_sync(pbuf_t *);
93 struct mbuf *pbuf_to_mbuf(pbuf_t *, boolean_t);
94 struct mbuf *pbuf_clone_to_mbuf(pbuf_t *);
96 void * pbuf_ensure_contig(pbuf_t *, size_t);
97 void * pbuf_ensure_writable(pbuf_t *, size_t);
99 void * pbuf_resize_segment(pbuf_t *, int off, int olen, int nlen);
[all …]
H A Dnat464_utils.h104 nat464_translate_icmp_ip(pbuf_t *, uint16_t, uint16_t *, uint16_t *,
115 nat464_translate_64(pbuf_t *, int, uint8_t, uint8_t *, uint8_t, struct in_addr,
119 nat464_translate_46(pbuf_t *, uint16_t, uint8_t, uint8_t, uint8_t, struct in6_addr,
123 nat464_translate_proto(pbuf_t *, struct nat464_addr *, struct nat464_addr *,
127 nat464_insert_frag46(pbuf_t *, uint16_t, uint16_t, boolean_t);
130 nat464_remove_frag64(pbuf_t *, uint32_t, uint16_t, boolean_t);
H A Dpf_pbuf.c35 pbuf_init_mbuf(pbuf_t *pbuf, struct mbuf *m, struct ifnet *ifp) in pbuf_init_mbuf()
47 pbuf_init_memory(pbuf_t *pbuf, const struct pbuf_memory *mp, struct ifnet *ifp) in pbuf_init_memory()
57 pbuf_destroy(pbuf_t *pbuf) in pbuf_destroy()
76 pbuf_sync(pbuf_t *pbuf) in pbuf_sync()
125 pbuf_to_mbuf(pbuf_t *pbuf, boolean_t release_ptr) in pbuf_to_mbuf()
189 pbuf_clone_to_mbuf(pbuf_t *pbuf) in pbuf_clone_to_mbuf()
207 pbuf_ensure_writable(pbuf_t *pbuf, size_t len) in pbuf_ensure_writable()
232 pbuf_resize_segment(pbuf_t *pbuf, int off, int olen, int nlen) in pbuf_resize_segment()
310 pbuf_contig_segment(pbuf_t *pbuf, int off, int len) in pbuf_contig_segment()
352 pbuf_copy_back(pbuf_t *pbuf, int off, int len, void *src) in pbuf_copy_back()
[all …]
H A Dpfvar.h1434 pbuf_t *mp;
2219 __private_extern__ int pf_normalize_ip6(pbuf_t *, int, struct pfi_kif *,
2221 __private_extern__ int pf_refragment6(struct ifnet *, pbuf_t **,
2225 pbuf_t *, int);
2226 __private_extern__ void *pf_pull_hdr(pbuf_t *, int, void *, int,
2229 __private_extern__ int pflog_packet(struct pfi_kif *, pbuf_t *,
2245 __private_extern__ int pf_normalize_ip(pbuf_t *, int, struct pfi_kif *,
2247 __private_extern__ int pf_normalize_tcp(int, struct pfi_kif *, pbuf_t *,
2250 __private_extern__ int pf_normalize_tcp_init(pbuf_t *, int,
2253 __private_extern__ int pf_normalize_tcp_stateful(pbuf_t *, int,
[all …]
H A Dpf.c213 static void pf_change_ap(int, pbuf_t *, struct pf_addr *,
217 static int pf_modulate_sack(pbuf_t *, int, struct pf_pdesc *,
232 static void pf_send_icmp(pbuf_t *, u_int8_t, u_int8_t,
234 static struct pf_rule *pf_match_translation(struct pf_pdesc *, pbuf_t *,
239 pbuf_t *, int, int, struct pfi_kif *,
251 int, struct pfi_kif *, pbuf_t *, int,
256 struct pfi_kif *, pbuf_t **,
260 struct pfi_kif *, pbuf_t *, void *,
264 struct pfi_kif *, pbuf_t *, int,
267 struct pfi_kif *, pbuf_t *, int,
[all …]
H A Dnat464_utils.c481 nat464_translate_icmp_ip(pbuf_t *pbuf, uint16_t off, uint16_t *tot_len, uint16_t *off2, in nat464_translate_icmp_ip()
584 nat464_insert_frag46(pbuf_t *pbuf, uint16_t ip_id_val, uint16_t frag_offset, in nat464_insert_frag46()
623 nat464_translate_64(pbuf_t *pbuf, int off, uint8_t tos, in nat464_translate_64()
728 nat464_translate_46(pbuf_t *pbuf, uint16_t off, uint8_t tos, in nat464_translate_46()
778 nat464_translate_proto(pbuf_t *pbuf, struct nat464_addr *osrc, in nat464_translate_proto()
H A Dpf_norm.c168 struct pf_pdesc *, pbuf_t *, struct tcphdr *, int, int *);
1814 pf_refragment6(struct ifnet *ifp, pbuf_t **pbufp, struct pf_fragment_tag *ftag) in pf_refragment6()
1906 pf_normalize_ip(pbuf_t *pbuf, int dir, struct pfi_kif *kif, u_short *reason, in pf_normalize_ip()
2237 pf_normalize_ip6(pbuf_t *pbuf, int dir, struct pfi_kif *kif, in pf_normalize_ip6()
2596 pf_normalize_tcp(int dir, struct pfi_kif *kif, pbuf_t *pbuf, int ipoff, in pf_normalize_tcp()
2753 pf_normalize_tcp_init(pbuf_t *pbuf, int off, struct pf_pdesc *pd, in pf_normalize_tcp_init()
2850 pf_normalize_tcp_stateful(pbuf_t *pbuf, int off, struct pf_pdesc *pd, in pf_normalize_tcp_stateful()
3254 struct pf_pdesc *pd, pbuf_t *pbuf, struct tcphdr *th, int off, in pf_normalize_tcpopt()
H A Dif_pflog.c369 pflog_packet(struct pfi_kif *kif, pbuf_t *pbuf, sa_family_t af, u_int8_t dir, in pflog_packet()
H A Dpf_osfp.c87 pf_osfp_fingerprint(struct pf_pdesc *pd, pbuf_t *pbuf, int off, in pf_osfp_fingerprint()
H A Ddlil.c7168 pbuf_t pbuf_store, *pbuf = NULL; in dlil_clat46()
7354 pbuf_t pbuf_store, *pbuf = NULL; in dlil_clat64()