Searched refs:bpf_packet (Results 1 – 5 of 5) sorted by relevance
| /xnu-11215/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() 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() 3617 get_esp_trunc_len(__unused struct bpf_packet *pkt, __unused uint32_t off, in get_esp_trunc_len() 3649 get_isakmp_natt_trunc_len(struct bpf_packet *pkt, uint32_t off, in get_isakmp_natt_trunc_len() 3914 get_pkt_trunc_len(struct bpf_packet *pkt) in get_pkt_trunc_len() [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()
|