Searched refs:EXTRACT_SHORT (Results 1 – 3 of 3) sorted by relevance
189 return EXTRACT_SHORT(cp); in m_xhalf()315 return EXTRACT_SHORT(cp); in p_xhalf()492 A = EXTRACT_SHORT(&p[k]); in bpf_filter()564 A = EXTRACT_SHORT(&p[k]); in bpf_filter()
109 #define EXTRACT_SHORT(p) ((u_int16_t)ntohs(*(u_int16_t *)(void *)p)) macro112 #define EXTRACT_SHORT(p) \ macro
3066 sport = EXTRACT_SHORT(&udphdr.uh_sport); in get_udp_trunc_len()3067 dport = EXTRACT_SHORT(&udphdr.uh_dport); in get_udp_trunc_len()3113 sport = EXTRACT_SHORT(&tcphdr.th_sport); in get_tcp_trunc_len()3114 dport = EXTRACT_SHORT(&tcphdr.th_dport); in get_tcp_trunc_len()3262 u_short type = EXTRACT_SHORT(&eh.ether_type); in get_ether_trunc_len()