Home
last modified time | relevance | path

Searched refs:PP_NTOHS (Results 1 – 12 of 12) sorted by relevance

/components/net/lwip/lwip-2.0.3/src/apps/netbiosns/
A Dnetbiosns.c268 …if (((netbios_hdr->flags & PP_NTOHS(NETB_HFLAG_OPCODE)) == PP_NTOHS(NETB_HFLAG_OPCODE_NAME_QUERY))… in netbiosns_recv()
269 ((netbios_hdr->flags & PP_NTOHS(NETB_HFLAG_RESPONSE)) == 0) && in netbiosns_recv()
270 (netbios_hdr->questions == PP_NTOHS(1))) { in netbiosns_recv()
/components/net/lwip/lwip-1.4.1/src/include/lwip/
A Ddef.h89 #define PP_NTOHS(x) (x) macro
109 #define PP_NTOHS(x) PP_HTONS(x)
/components/net/lwip/lwip-2.0.3/src/include/lwip/
A Ddef.h80 #define PP_NTOHS(x) (x) macro
98 #define PP_NTOHS(x) PP_HTONS(x)
/components/net/lwip/lwip-2.1.2/src/include/lwip/
A Ddef.h91 #define PP_NTOHS(x) ((u16_t)(x)) macro
109 #define PP_NTOHS(x) PP_HTONS(x)
/components/net/lwip/lwip-2.1.2/src/apps/netbiosns/
A Dnetbiosns.c367 …if (((netbios_hdr->flags & PP_NTOHS(NETB_HFLAG_OPCODE)) == PP_NTOHS(NETB_HFLAG_OPCODE_NAME_QUERY))… in netbiosns_recv()
368 ((netbios_hdr->flags & PP_NTOHS(NETB_HFLAG_RESPONSE)) == 0) && in netbiosns_recv()
369 (netbios_hdr->questions == PP_NTOHS(1))) { in netbiosns_recv()
/components/net/lwip/lwip-2.0.3/src/core/ipv4/
A Dip4.c92 #define IP_ACCEPT_LINK_LAYER_ADDRESSED_PORT(port) (((port) == PP_NTOHS(DHCP_CLIENT_PORT)) \
99 #define IP_ACCEPT_LINK_LAYER_ADDRESSED_PORT(port) ((port) == PP_NTOHS(DHCP_CLIENT_PORT))
337 if ((IPH_OFFSET(iphdr) & PP_NTOHS(IP_DF)) == 0) { in ip4_forward()
870 chk_sum += PP_NTOHS(proto | (ttl << 8));
883 chk_sum += PP_NTOHS(tos | (iphdr->_v_hl << 8));
A Dip4_frag.c576 is_last = (IPH_OFFSET(fraghdr) & PP_NTOHS(IP_MF)) == 0; in ip4_reass()
/components/net/lwip/lwip-2.1.2/src/core/ipv4/
A Dip4.c92 #define IP_ACCEPT_LINK_LAYER_ADDRESSED_PORT(port) (((port) == PP_NTOHS(LWIP_IANA_PORT_DHCP_CLIENT))…
99 #define IP_ACCEPT_LINK_LAYER_ADDRESSED_PORT(port) ((port) == PP_NTOHS(LWIP_IANA_PORT_DHCP_CLIENT))
350 if ((IPH_OFFSET(iphdr) & PP_NTOHS(IP_DF)) == 0) { in ip4_forward()
910 chk_sum += PP_NTOHS(proto | (ttl << 8));
923 chk_sum += PP_NTOHS(tos | (iphdr->_v_hl << 8));
A Dip4_frag.c588 is_last = (IPH_OFFSET(fraghdr) & PP_NTOHS(IP_MF)) == 0; in ip4_reass()
/components/net/netdev/include/
A Dnetdev_ipaddr.h74 #define PP_NTOHS(x) PP_HTONS(x) macro
82 #define ntohs(x) (uint16_t)PP_NTOHS(x)
/components/net/lwip/lwip-1.4.1/src/core/ipv4/
A Dip.c82 #define IP_ACCEPT_LINK_LAYER_ADDRESSED_PORT(port) (((port) == PP_NTOHS(DHCP_CLIENT_PORT)) \
89 #define IP_ACCEPT_LINK_LAYER_ADDRESSED_PORT(port) ((port) == PP_NTOHS(DHCP_CLIENT_PORT))
270 if ((IPH_OFFSET(iphdr) & PP_NTOHS(IP_DF)) == 0) { in ip_forward()
A Dip_frag.c558 if ((IPH_OFFSET(fraghdr) & PP_NTOHS(IP_MF)) == 0) { in ip_reass()

Completed in 28 milliseconds