Searched refs:ntohs (Results 1 – 15 of 15) sorted by relevance
| /rk3399_rockchip-uboot/net/ |
| H A D | net.c | 871 u16 ip_off = ntohs(ip->ip_off); in __net_defragment() 878 len = ntohs(ip->ip_len) - IP_HDR_SIZE; in __net_defragment() 986 u16 ip_off = ntohs(ip->ip_off); in net_defragment() 997 u16 ip_off = ntohs(ip->ip_off); in net_defragment() 1029 ntohs(ip->udp_dst), src_ip, in receive_icmp() 1030 ntohs(ip->udp_src), icmph->un.data, in receive_icmp() 1031 ntohs(ip->udp_len)); in receive_icmp() 1071 myvlanid = ntohs(net_our_vlan); in net_process_received_packet() 1074 mynvlanid = ntohs(net_native_vlan); in net_process_received_packet() 1078 eth_proto = ntohs(et->et_protlen); in net_process_received_packet() [all …]
|
| H A D | rarp.c | 39 if ((ntohs(arp->ar_op) != RARPOP_REPLY) || in rarp_receive() 40 (ntohs(arp->ar_hrd) != ARP_ETHER) || in rarp_receive() 41 (ntohs(arp->ar_pro) != PROT_IP) || in rarp_receive()
|
| H A D | arp.c | 146 if (ntohs(arp->ar_hrd) != ARP_ETHER) in arp_receive() 148 if (ntohs(arp->ar_pro) != PROT_IP) in arp_receive() 161 switch (ntohs(arp->ar_op)) { in arp_receive() 231 ntohs(arp->ar_op)); in arp_receive()
|
| H A D | cdp.c | 282 type = ntohs(ss[0]); in cdp_receive() 283 tlen = ntohs(ss[1]); in cdp_receive() 322 vlan = ntohs(*ss); in cdp_receive()
|
| H A D | tftp.c | 485 switch (ntohs(proto)) { in tftp_handler() 499 int block = ntohs(*s); in tftp_handler() 571 tftp_cur_block = ntohs(*(__be16 *)pkt); in tftp_handler() 659 pkt + 2, ntohs(*(__be16 *)pkt)); in tftp_handler() 661 switch (ntohs(*(__be16 *)pkt)) { in tftp_handler()
|
| H A D | link_local.c | 251 eth_get_name(), ntohs(arp->ar_pro), in link_local_receive_arp() 252 ntohs(arp->ar_op)); in link_local_receive_arp()
|
| H A D | dns.c | 124 if (ntohs(header->nqueries) != 1) in dns_handler()
|
| H A D | fastboot.c | 492 fb_header.seq = ntohs(fb_header.seq); in fastboot_handler()
|
| H A D | bootp.c | 247 ntohs(*(ushort *)(ext + 2)); in bootp_process_vendor_field()
|
| /rk3399_rockchip-uboot/include/linux/byteorder/ |
| H A D | generic.h | 141 #undef ntohs 156 extern unsigned short int ntohs(unsigned short int); 175 #define ntohs(x) ___ntohs(x) macro
|
| /rk3399_rockchip-uboot/drivers/net/ |
| H A D | sandbox.c | 81 if (ntohs(eth->et_protlen) == PROT_ARP) { in sb_eth_send() 84 if (ntohs(arp->ar_op) == ARPOP_REQUEST) { in sb_eth_send() 113 } else if (ntohs(eth->et_protlen) == PROT_IP) { in sb_eth_send()
|
| H A D | sandbox-raw.c | 51 if (ntohs(eth->et_protlen) == PROT_ARP) { in sb_eth_raw_send()
|
| H A D | xilinx_emaclite.c | 509 switch (ntohs(eth->et_protlen)) { in emaclite_recv() 516 length = ntohs(ip->ip_len); in emaclite_recv()
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | net.c | 405 ntohs(cdp_appliance_vlan)); in cdp_update_env() 412 printf("CDP offered native VLAN %d\n", ntohs(cdp_native_vlan)); in cdp_update_env()
|
| /rk3399_rockchip-uboot/tools/ |
| H A D | mxsimage.c | 1717 ntohs(hdr->product_version.major), in sb_verify_image_header() 1718 ntohs(hdr->product_version.minor), in sb_verify_image_header() 1719 ntohs(hdr->product_version.revision)); in sb_verify_image_header() 1721 ntohs(hdr->component_version.major), in sb_verify_image_header() 1722 ntohs(hdr->component_version.minor), in sb_verify_image_header() 1723 ntohs(hdr->component_version.revision)); in sb_verify_image_header()
|