Home
last modified time | relevance | path

Searched refs:bpf_u_int32 (Results 1 – 3 of 3) sorted by relevance

/xnu-10063.101.15/bsd/net/
H A Dbpf.h129 typedef u_int32_t bpf_u_int32; typedef
285 bpf_u_int32 bh_caplen; /* length of captured portion */
286 bpf_u_int32 bh_datalen; /* original length of packet */
306 bpf_u_int32 bh_caplen; /* length of captured portion */
307 bpf_u_int32 bh_datalen; /* original length of packet */
325 bpf_u_int32 bh_svc; /* service class */
326 bpf_u_int32 bh_flowid; /* kernel reserved; 0 in userland */
327 bpf_u_int32 bh_unsent_bytes; /* unsent bytes at interface */
328 bpf_u_int32 bh_unsent_snd; /* unsent bytes at socket buffer */
390 bpf_u_int32 bh_caplen; /* length of captured portion */
[all …]
H A Dbpf_filter.c115 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 Dbpf.c3982 ehp->bh_datalen = (bpf_u_int32)pkt->bpfp_total_length; in catchpacket()
4063 hp->bh_datalen = (bpf_u_int32)pkt->bpfp_total_length; in catchpacket()