Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/io/bnxe/577xx/include/
H A Dlm_defs.h640 #ifndef NTOH16
642 #define NTOH16(_val16) (_val16) macro
656 #ifndef NTOH16
657 #define NTOH16(_val16) HTON16(_val16) macro
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_recv.c698 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()
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4sp.c2321 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()