Home
last modified time | relevance | path

Searched refs:u16_t (Results 1 – 25 of 27) sorted by relevance

12

/kernel/liteos_a/apps/tftp/include/
Dtftpc.h171 u16_t usBlknum; /* block number */
178 u16_t usErrNum; /* error number */
185 u16_t usOpcode; /* Opcode value */
189 u16_t usBlknum; /* Block Number */
225 u16_t usTftpServPort,
257 u16_t usTftpServPort,
296 u16_t usTftpServPort,
Dtypes_adapt.h45 #define u16_t uint16_t macro
/kernel/liteos_m/components/net/lwip-2.1/enhancement/src/
Dfixme.c121 u16_t current_block_index = 0; in ip6addr_aton()
122 u16_t current_block_value = 0; in ip6addr_aton()
123 u16_t addr16[ipv6_blocks]; in ip6addr_aton()
124 u16_t *a16 = (u16_t *)addr->addr; in ip6addr_aton()
171 addr16[current_block_index++] = (u16_t)(ip4.addr >> 16); in ip6addr_aton()
172 addr16[current_block_index++] = (u16_t)(ip4.addr); in ip6addr_aton()
/kernel/liteos_a/apps/tftp/src/
Dtftpc.c57 static s32_t lwip_tftp_make_tftp_packet(u16_t usOpcode, s8_t *szFileName,
74 u16_t usCurrBlk, u32_t *pulResendPkt,
78 u32_t ulSendSize, u16_t usCurrBlk,
135 static s32_t lwip_tftp_make_tftp_packet(u16_t usOpcode, s8_t *szFileName, u32_t ulMode, TFTPC_PACKE… in lwip_tftp_make_tftp_packet()
177 u16_t usOpcode; /* Opcode value */ in lwip_tftp_recv_from_server()
344 u16_t usCurrBlk, in lwip_tftp_validate_data_pkt()
354 u16_t usBlknum; in lwip_tftp_validate_data_pkt()
475 u16_t usOpCode = TFTPC_OP_ERROR; in lwip_tftp_send_error()
484 pstSendBuf->u.stTFTP_Err.usErrNum = htons((u16_t)ulError); in lwip_tftp_send_error()
509 u16_t usTftpServPort, in lwip_tftp_get_file_by_filename()
[all …]
Dmain.c83 const u16_t usTftpServPort = 69; in osShellTftp()
/kernel/liteos_a/net/lwip-2.1/enhancement/src/
Dfixme.c114 err_t netifapi_dhcps_start(struct netif *netif, char *start_ip, u16_t ip_num) in netifapi_dhcps_start()
283 err_t netif_set_mtu(struct netif *netif, u16_t netif_mtu)
420 u16_t current_block_index = 0;
421 u16_t current_block_value = 0;
422 u16_t addr16[ipv6_blocks];
423 u16_t *a16 = (u16_t *)addr->addr;
470 addr16[current_block_index++] = (u16_t)(ip4.addr >> 16);
471 addr16[current_block_index++] = (u16_t)(ip4.addr);
Ddhcps.c104 …common_option(struct dhcp_msg *msg_out, u8_t option_type, u8_t option_len, u16_t *options_out_len);
105 LWIP_STATIC void dhcp_common_option_byte(struct dhcp_msg *msg_out, u8_t value, u16_t *options_out_l…
106 LWIP_STATIC void dhcp_common_option_long(struct dhcp_msg *msg_out, u32_t value, u16_t *options_out_…
107 LWIP_STATIC void dhcp_common_option_trailer(struct dhcp_msg *msg_out, u16_t options_out_len, struct…
129 const ip_addr_t *ip_addr, u16_t port);
315 void dhcp_common_option(struct dhcp_msg *msg_out, u8_t option_type, u8_t option_len, u16_t *options… in dhcp_common_option()
320 void dhcp_common_option_byte(struct dhcp_msg *msg_out, u8_t value, u16_t *options_out_len) in dhcp_common_option_byte()
325 void dhcp_common_option_long(struct dhcp_msg *msg_out, u32_t value, u16_t *options_out_len) in dhcp_common_option_long()
330 void dhcp_common_option_trailer(struct dhcp_msg *msg_out, u16_t options_out_len, struct pbuf *p_out) in dhcp_common_option_trailer()
346 u16_t options_len = 0; in handle_discover()
[all …]
Dapi_shell.c244 u16_t mtu;
1062 ifconfig_cmd.mtu = (u16_t)(atoi(argv[i + 1]));
1676 iecho->id = htons((u16_t)LOS_CurTaskIDGet());
1681 iecho->seqno = htons((u16_t)i);
2130 u16_t icmpv6_id;
2131 u16_t icmpv6_seq;
2219 icmpv6_id = (u16_t)LWIP_RAND();
2299 … (iecho_resp->seqno<(u16_t)(last_received - LWIP_PING6_OUT_OF_ORDER_MAGNITUDE) ||
2300 iecho_resp->seqno>(u16_t)(
2758 u16_t offset = 0, len;
[all …]
/kernel/liteos_a/net/lwip-2.1/porting/include/lwip/
Dpbuf.h44 u16_t dma_len;
45 u16_t link_len;
Dnetif.h56 u16_t link_layer_type
63 u16_t link_layer_type
Dnetifapi.h41 err_t netifapi_dhcps_start(struct netif *netif, char *start_ip, u16_t ip_num);
/kernel/liteos_m/components/net/test/
Dnet_socket_test_011.c101 u16_t ip_hlen = IP_HLEN; in ReplayUdpEncodeIp()
125 iphdr->_chksum = (u16_t)chk_sum; /* network order */ in ReplayUdpEncodeIp()
157 u16_t chksum = LWIP_CHKSUM_COPY(p->payload, MSG, size); in ReplayUdp()
167u16_t udpchksum = ip_chksum_pseudo_partial(p, IP_PROTO_UDP, p->tot_len, UDP_HLEN, &sipaddr, &dipad… in ReplayUdp()
168 u32_t acc = udpchksum + (u16_t)~(chksum); in ReplayUdp()
198 u16_t scr_port, dest_port; in ParsePackageIpUdp()
225 u16_t next_hdr_offset = SIZEOF_ETH_HDR; in ParsePackageEthernet()
229 u16_t type = ethhdr->type; in ParsePackageEthernet()
/kernel/liteos_m/components/net/lwip-2.1/porting/src/
Ddriverif.c132 p->flags = (u16_t)(p->flags & ~(PBUF_FLAG_LLMCAST | PBUF_FLAG_LLBCAST | PBUF_FLAG_HOST)); in driverif_output()
155 u16_t ethhdr_type; in driverif_input_proc()
215 u16_t ethhdr_type; in driverif_input()
280 u16_t link_layer_type; in driverif_init()
Dapi_shell.c80 u16_t mtu;
369 iecho->id = htons((u16_t)LOS_CurTaskIDGet()); in OsPingFunc()
374 iecho->seqno = htons((u16_t)i); in OsPingFunc()
/kernel/uniproton/src/net/lwip-2.1/enhancement/src/
Dfixme.c102 U16 *a16 = (u16_t *)addr->addr; in ip6addr_aton()
151 addr16[currentBlockIndex++] = (u16_t)(ip4.addr >> num16); in ip6addr_aton()
152 addr16[currentBlockIndex++] = (u16_t)(ip4.addr); in ip6addr_aton()
/kernel/liteos_a/net/lwip-2.1/porting/src/
Ddriverif.c108 p->flags = (u16_t)(p->flags & ~(PBUF_FLAG_LLMCAST | PBUF_FLAG_LLBCAST | PBUF_FLAG_HOST));
145 u16_t ethhdr_type;
149 u16_t ethhdr_type;
250 u16_t link_layer_type;
Dsys_arch.c93 u16_t lwip_standard_chksum(const void *dataptr, int len) in lwip_standard_chksum()
95 return ~(u16_t)(in_cksum(dataptr, len)); in lwip_standard_chksum()
Dsockets.c186 u16_t port; in ip_addr_isbroadcast_bysock()
212 u16_t port; in lwip_bind_wrap()
240 u16_t port; in lwip_sendto_wrap()
415 u16_t rtgw_port;
588 u16_t taget_port;
683 u16_t target_port;
764 u16_t taget_port;
1217 if (ERR_OK != netif_set_mtu(netif, (u16_t)ifr->ifr_mtu)) {
/kernel/liteos_a/net/lwip-2.1/porting/include/lwip/priv/
Dapi_msg.h39 u16_t ip_num; \
/kernel/liteos_a/net/lwip-2.1/enhancement/include/lwip/
Ddhcps.h64 err_t dhcps_start(struct netif *netif, const char *start_ip, u16_t ip_num);
/kernel/uniproton/src/net/lwip-2.1/include/lwip/
Dnetifapi.h21 err_t netifapi_dhcps_start(struct netif *netif, char *start_ip, u16_t ip_num);
Dnetif.h35 u16_t link_layer_type
/kernel/liteos_a/net/lwip-2.1/porting/include/arch/
Dcc.h62 u16_t thumb2_checksum(void* pData, int length);
/kernel/liteos_m/components/net/lwip-2.1/porting/include/lwip/
Dnetifapi.h41 err_t netifapi_dhcps_start(struct netif *netif, char *start_ip, u16_t ip_num);
Dnetif.h51 u16_t link_layer_type

12