Searched refs:EXTRACT_SHORT (Results 1 – 3 of 3) sorted by relevance
191 return EXTRACT_SHORT(cp); in m_xhalf()325 return EXTRACT_SHORT(cp); in p_xhalf()506 A = EXTRACT_SHORT(&p[k]); in bpf_filter()578 A = EXTRACT_SHORT(&p[k]); in bpf_filter()
100 #define EXTRACT_SHORT(p) ((u_int16_t)ntohs(*(u_int16_t *)(void *)p)) macro103 #define EXTRACT_SHORT(p) \ macro
3728 sport = EXTRACT_SHORT(&udphdr.uh_sport); in get_udp_trunc_len()3729 dport = EXTRACT_SHORT(&udphdr.uh_dport); in get_udp_trunc_len()3775 sport = EXTRACT_SHORT(&tcphdr.th_sport); in get_tcp_trunc_len()3776 dport = EXTRACT_SHORT(&tcphdr.th_dport); in get_tcp_trunc_len()3924 u_short type = EXTRACT_SHORT(&eh.ether_type); in get_ether_trunc_len()