Searched refs:NTOH16 (Results 1 – 3 of 3) sorted by relevance
640 #ifndef NTOH16642 #define NTOH16(_val16) (_val16) macro656 #ifndef NTOH16657 #define NTOH16(_val16) HTON16(_val16) macro
698 sum += NTOH16(*hdr); in calc_cksum()706 sum += ((NTOH16(*hdr)) & 0xFF00); in calc_cksum()840 tcp_length = NTOH16(tmp) - inner_ip_hdr_len; in encap_pkt_parsing()877 tcp_length = NTOH16(tmp) - (inner_ip_hdr_len - 40); in encap_pkt_parsing()
2321 ttcp_st->msb_mac_address = mm_cpu_to_le16(NTOH16(*(u16 *)(&neigh->neigh_const.src_addr[0]))); in _lm_tcp_init_tstorm_tcp_context()2322 ttcp_st->mid_mac_address = mm_cpu_to_le16(NTOH16(*(u16 *)(&neigh->neigh_const.src_addr[2]))); in _lm_tcp_init_tstorm_tcp_context()2323 ttcp_st->lsb_mac_address = mm_cpu_to_le16(NTOH16(*(u16 *)(&neigh->neigh_const.src_addr[4]))); in _lm_tcp_init_tstorm_tcp_context()2648 xtcp_st->tcp.pseudo_csum = NTOH16(pseudo_cs); in _lm_tcp_init_xstorm_tcp_context()