| /xnu-12377.61.12/bsd/net/ |
| H A D | pf_pbuf.h | 83 } 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) __attribute__((warn_unus… [all …]
|
| H A D | nat464_utils.h | 104 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 D | pf_pbuf.c | 35 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() 233 pbuf_resize_segment(pbuf_t *pbuf, int off, int olen, int nlen) in pbuf_resize_segment() 325 pbuf_contig_segment(pbuf_t *pbuf, int off, int len) in pbuf_contig_segment() 375 pbuf_copy_back(pbuf_t *pbuf, int off, int len, void *__sized_by(src_buflen)src, size_t src_buflen) in pbuf_copy_back() [all …]
|
| H A D | pfvar.h | 1445 pbuf_t *mp; 2294 __private_extern__ int pf_normalize_ip6(pbuf_t *, int, struct pfi_kif *, 2296 __private_extern__ int pf_refragment6(struct ifnet *, pbuf_t **, 2300 pbuf_t *, int); 2301 __private_extern__ void *pf_pull_hdr(pbuf_t *, int, void __sized_by(p_buflen) * p, int p_buflen, in… 2304 __private_extern__ int pflog_packet(struct pfi_kif *, pbuf_t *, 2320 __private_extern__ int pf_normalize_ip(pbuf_t *, int, struct pfi_kif *, 2322 __private_extern__ int pf_normalize_tcp(int, struct pfi_kif *, pbuf_t *, 2325 __private_extern__ int pf_normalize_tcp_init(pbuf_t *, int, 2328 __private_extern__ int pf_normalize_tcp_stateful(pbuf_t *, int, [all …]
|
| H A D | pf.c | 217 static void pf_change_ap(int, pbuf_t *, struct pf_addr *, 221 static int pf_modulate_sack(pbuf_t *, int, struct pf_pdesc *, 236 static void pf_send_icmp(pbuf_t *, u_int8_t, u_int8_t, 238 static struct pf_rule *pf_match_translation(struct pf_pdesc *, pbuf_t *, 243 pbuf_t *, int, int, struct pfi_kif *, 255 int, struct pfi_kif *, pbuf_t *, int, 260 struct pfi_kif *, pbuf_t **, 264 struct pfi_kif *, pbuf_t *, void *, 268 struct pfi_kif *, pbuf_t *, int, 271 struct pfi_kif *, pbuf_t *, int, [all …]
|
| H A D | nat464_utils.c | 493 nat464_translate_icmp_ip(pbuf_t *pbuf, uint16_t off, uint16_t *tot_len, uint16_t *off2, in nat464_translate_icmp_ip() 596 nat464_insert_frag46(pbuf_t *pbuf, uint16_t ip_id_val, uint16_t frag_offset, in nat464_insert_frag46() 635 nat464_translate_64(pbuf_t *pbuf, int off, uint8_t tos, in nat464_translate_64() 740 nat464_translate_46(pbuf_t *pbuf, uint16_t off, uint8_t tos, in nat464_translate_46() 790 nat464_translate_proto(pbuf_t *pbuf, struct nat464_addr *osrc, in nat464_translate_proto()
|
| H A D | pf_norm.c | 169 struct pf_pdesc *, pbuf_t *, struct tcphdr *, int, int *); 1819 pf_refragment6(struct ifnet *ifp, pbuf_t **pbufp, struct pf_fragment_tag *ftag) in pf_refragment6() 1908 pf_normalize_ip(pbuf_t *pbuf, int dir, struct pfi_kif *kif, u_short *reason, in pf_normalize_ip() 2239 pf_normalize_ip6(pbuf_t *pbuf, int dir, struct pfi_kif *kif, in pf_normalize_ip6() 2597 pf_normalize_tcp(int dir, struct pfi_kif *kif, pbuf_t *pbuf, int ipoff, in pf_normalize_tcp() 2756 pf_normalize_tcp_init(pbuf_t *pbuf, int off, struct pf_pdesc *pd, in pf_normalize_tcp_init() 2851 pf_normalize_tcp_stateful(pbuf_t *pbuf, int off, struct pf_pdesc *pd, in pf_normalize_tcp_stateful() 3255 struct pf_pdesc *pd, pbuf_t *pbuf, struct tcphdr *th, int off, in pf_normalize_tcpopt()
|
| H A D | if_pflog.c | 346 pflog_packet(struct pfi_kif *kif, pbuf_t *pbuf, sa_family_t af, u_int8_t dir, in pflog_packet()
|
| H A D | dlil_subr.c | 678 pbuf_t pbuf_store, *pbuf = NULL; in dlil_clat46() 890 pbuf_t pbuf_store, *pbuf = NULL; in dlil_clat64()
|
| H A D | pf_osfp.c | 87 pf_osfp_fingerprint(struct pf_pdesc *pd, pbuf_t *pbuf, int off, in pf_osfp_fingerprint()
|