Searched refs:bpf_u_int32 (Results 1 – 3 of 3) sorted by relevance
| /xnu-8792.41.9/bsd/net/ |
| H A D | bpf.h | 129 typedef u_int32_t bpf_u_int32; typedef 278 bpf_u_int32 bh_caplen; /* length of captured portion */ 279 bpf_u_int32 bh_datalen; /* original length of packet */ 299 bpf_u_int32 bh_caplen; /* length of captured portion */ 300 bpf_u_int32 bh_datalen; /* original length of packet */ 318 bpf_u_int32 bh_svc; /* service class */ 319 bpf_u_int32 bh_flowid; /* kernel reserved; 0 in userland */ 320 bpf_u_int32 bh_unsent_bytes; /* unsent bytes at interface */ 321 bpf_u_int32 bh_unsent_snd; /* unsent bytes at socket buffer */ 375 bpf_u_int32 bh_caplen; /* length of captured portion */ [all …]
|
| H A D | bpf_filter.c | 115 m_hdr_offset(struct mbuf **m_p, void * hdr, size_t hdrlen, bpf_u_int32 * k_p, in m_hdr_offset() 119 bpf_u_int32 k = *k_p; in m_hdr_offset() 152 m_xword(struct mbuf *m, void * hdr, size_t hdrlen, bpf_u_int32 k, int *err) in m_xword() 178 m_xhalf(struct mbuf *m, void * hdr, size_t hdrlen, bpf_u_int32 k, int *err) in m_xhalf() 202 m_xbyte(struct mbuf *m, void * hdr, size_t hdrlen, bpf_u_int32 k, int *err) in m_xbyte() 235 p_hdr_offset(kern_packet_t p, void * hdr, size_t hdrlen, bpf_u_int32 * k_p, in p_hdr_offset() 239 bpf_u_int32 k = *k_p; in p_hdr_offset() 272 p_xword(kern_packet_t p, void * hdr, size_t hdrlen, bpf_u_int32 k, int *err) in p_xword() 302 p_xhalf(kern_packet_t p, void * hdr, size_t hdrlen, bpf_u_int32 k, int *err) in p_xhalf() 330 p_xbyte(kern_packet_t p, void * hdr, size_t hdrlen, bpf_u_int32 k, int *err) in p_xbyte() [all …]
|
| H A D | bpf.c | 3686 ehp->bh_datalen = (bpf_u_int32)pkt->bpfp_total_length; in catchpacket() 3767 hp->bh_datalen = (bpf_u_int32)pkt->bpfp_total_length; in catchpacket()
|