Searched refs:bpf_packet (Results 1 – 5 of 5) sorted by relevance
| /xnu-11215.81.4/bsd/net/ |
| H A D | bpf_filter.c | 360 bp_xword(struct bpf_packet *bp, bpf_u_int32 k, int *err) in bp_xword() 380 bp_xhalf(struct bpf_packet *bp, bpf_u_int32 k, int *err) in bp_xhalf() 400 bp_xbyte(struct bpf_packet *bp, bpf_u_int32 k, int *err) in bp_xbyte() 428 u_char *__sized_by(sizeof(struct bpf_packet)) p, u_int wirelen, u_int buflen) in bpf_filter() 436 struct bpf_packet * bp = (struct bpf_packet *)(void *)p; in bpf_filter()
|
| H A D | bpf.c | 245 static uint32_t get_pkt_trunc_len(struct bpf_packet *); 246 static void catchpacket(struct bpf_d *, struct bpf_packet *, u_int, int); 3304 struct bpf_packet *bpf_pkt, in bpf_tap_imp() 3343 struct bpf_packet *bpf_pkt_saved = bpf_pkt; in bpf_tap_imp() 3344 u_char *bpf_pkt_ptr = (u_char *)(struct bpf_packet *__bidi_indexable)bpf_pkt; in bpf_tap_imp() 3345 struct bpf_packet bpf_pkt_tmp = {}; in bpf_tap_imp() 3405 struct bpf_packet bpf_pkt; in bpf_tap_mbuf() 3505 struct bpf_packet bpf_pkt; in bpf_tap_packet() 3560 bpf_copydata(struct bpf_packet *pkt, size_t off, size_t len, void *__sized_by(len) out_data) in bpf_copydata() 3577 copy_bpf_packet_offset(struct bpf_packet * pkt, uint8_t *__sized_by(len) dst, size_t len, size_t of… in copy_bpf_packet_offset() [all …]
|
| H A D | pktap.h | 252 extern void convert_to_pktap_header_to_v2(struct bpf_packet *bpf_pkt, bool truncate);
|
| H A D | bpf.h | 1475 struct bpf_packet { struct 1496 u_char *__sized_by(sizeof(struct bpf_packet)), u_int wirelen, u_int); argument
|
| H A D | pktap.c | 1549 convert_to_pktap_header_to_v2(struct bpf_packet *bpf_pkt, bool truncate) in convert_to_pktap_header_to_v2()
|