Searched refs:bpf_u_int32 (Results 1 – 3 of 3) sorted by relevance
| /xnu-11417.140.69/bsd/net/ |
| H A D | bpf.h | 129 typedef u_int32_t bpf_u_int32; typedef 289 bpf_u_int32 bh_caplen; /* length of captured portion */ 290 bpf_u_int32 bh_datalen; /* original length of packet */ 310 bpf_u_int32 bh_caplen; /* length of captured portion */ 311 bpf_u_int32 bh_datalen; /* original length of packet */ 329 bpf_u_int32 bh_svc; /* service class */ 330 bpf_u_int32 bh_flowid; /* kernel reserved; 0 in userland */ 331 bpf_u_int32 bh_unsent_bytes; /* unsent bytes at interface */ 332 bpf_u_int32 bh_unsent_snd; /* unsent bytes at socket buffer */ 333 bpf_u_int32 bh_comp_gencnt; /* unsent bytes at socket buffer */ [all …]
|
| H A D | bpf_filter.c | 116 m_hdr_offset(struct mbuf **m_p, void *__sized_by(hdrlen) hdr, size_t hdrlen, bpf_u_int32 * k_p, in m_hdr_offset() 121 bpf_u_int32 k = *k_p; in m_hdr_offset() 154 m_xword(struct mbuf *m, void *__sized_by(hdrlen) hdr, size_t hdrlen, bpf_u_int32 k, int *err) in m_xword() 180 m_xhalf(struct mbuf *m, void *__sized_by(hdrlen) hdr, size_t hdrlen, bpf_u_int32 k, int *err) in m_xhalf() 204 m_xbyte(struct mbuf *m, void *__sized_by(hdrlen) hdr, size_t hdrlen, bpf_u_int32 k, int *err) in m_xbyte() 245 p_hdr_offset(kern_packet_t p, void *__sized_by(hdrlen) hdr, size_t hdrlen, bpf_u_int32 * k_p, in p_hdr_offset() 249 bpf_u_int32 k = *k_p; in p_hdr_offset() 282 p_xword(kern_packet_t p, void *__sized_by(hdrlen) hdr, size_t hdrlen, bpf_u_int32 k, int *err) in p_xword() 312 p_xhalf(kern_packet_t p, void *__sized_by(hdrlen) hdr, size_t hdrlen, bpf_u_int32 k, int *err) in p_xhalf() 340 p_xbyte(kern_packet_t p, void *__sized_by(hdrlen) hdr, size_t hdrlen, bpf_u_int32 k, int *err) in p_xbyte() [all …]
|
| H A D | bpf.c | 4112 ehp->bh_datalen = (bpf_u_int32)pkt->bpfp_total_length; in catchpacket() 4195 hp->bh_datalen = (bpf_u_int32)pkt->bpfp_total_length; in catchpacket()
|