Home
last modified time | relevance | path

Searched refs:dest (Results 1 – 25 of 53) sorted by relevance

123

/lk-master/external/lib/lwip/core/ipv6/
A Dip6.c75 ip_route(struct ip_addr *dest) in ip_route() argument
280 if (dest != IP_HDRINCL) { in ip_output_if()
285 ip_addr_set(&(iphdr->dest), dest); in ip_output_if()
296 dest = &(iphdr->dest); in ip_output_if()
307 return netif->output(netif, p, dest); in ip_output_if()
321 if ((netif = ip_route(dest)) == NULL) { in ip_output()
338 if ((netif = ip_route(dest)) == NULL) { in ip_output_hinted()
385 ntohl(iphdr->dest.addr[0]) & 0xffff)); in ip_debug_print()
388 ntohl(iphdr->dest.addr[1]) & 0xffff)); in ip_debug_print()
391 ntohl(iphdr->dest.addr[2]) & 0xffff)); in ip_debug_print()
[all …]
A Dicmp6.c74 …ed ICMP echo (%"X16_F")\n", inet_chksum_pseudo(p, &(iphdr->src), &(iphdr->dest), IP_PROTO_ICMP, p-… in icmp_input()
80 ip_addr_set(&(iphdr->src), &(iphdr->dest)); in icmp_input()
81 ip_addr_set(&(iphdr->dest), &tmpaddr); in icmp_input()
89 …ed ICMP echo (%"X16_F")\n", inet_chksum_pseudo(p, &(iphdr->src), &(iphdr->dest), IP_PROTO_ICMP, p-… in icmp_input()
A Dip6_addr.c58 ip_addr_set(struct ip_addr *dest, struct ip_addr *src) in ip_addr_set() argument
60 SMEMCPY(dest, src, sizeof(struct ip_addr)); in ip_addr_set()
/lk-master/lib/gfx/
A Dgfx.c155 *dest = color; in putpixel32()
171 if (dest < src) { in copyrect8()
176 dest++; in copyrect8()
191 dest--; in copyrect8()
210 dest++; in fillrect8()
222 if (dest < src) { in copyrect16()
261 dest++; in fillrect16()
273 if (dest < src) { in copyrect32()
310 dest++; in fillrect32()
376 return dest; in alpha32_add_ignore_destalpha()
[all …]
/lk-master/lib/libc/string/
A Dstrncat.c16 strncat(char *dest, char const *src, size_t count) { in strncat() argument
17 char *tmp = dest; in strncat()
20 while (*dest) in strncat()
21 dest++; in strncat()
22 while ((*dest++ = *src++)) { in strncat()
24 *dest = '\0'; in strncat()
A Dstrcat.c16 strcat(char *dest, char const *src) { in strcat() argument
17 char *tmp = dest; in strcat()
19 while (*dest) in strcat()
20 dest++; in strcat()
21 while ((*dest++ = *src++) != '\0') in strcat()
A Dmemcpy.c23 void *memcpy(void *dest, const void *src, size_t count) { in memcpy() argument
24 char *d = (char *)dest; in memcpy()
28 if (count == 0 || dest == src) in memcpy()
29 return dest; in memcpy()
50 return dest; in memcpy()
A Dstrncpy.c16 strncpy(char *dest, char const *src, size_t count) { in strncpy() argument
17 char *tmp = dest; in strncpy()
20 for (i = 0; i < count && (*dest++ = *src++) != '\0'; i++) in strncpy()
23 *dest++ = '\0'; in strncpy()
A Dmemmove.c23 memmove(void *dest, void const *src, size_t count) { in memmove() argument
24 char *d = (char *)dest; in memmove()
28 if (count == 0 || dest == src) in memmove()
29 return dest; in memmove()
73 return dest; in memmove()
A Dstrcpy.c16 strcpy(char *dest, char const *src) { in strcpy() argument
17 char *tmp = dest; in strcpy()
19 while ((*dest++ = *src++) != '\0') in strcpy()
A Dstrxfrm.c16 strxfrm(char *dest, const char *src, size_t n) { in strxfrm() argument
21 memcpy(dest, src, copy_len); in strxfrm()
22 dest[copy_len] = 0; in strxfrm()
A Dbcopy.c15 void bcopy(void const *src, void *dest, size_t count) { in bcopy() argument
16 memcpy(dest, src, count); in bcopy()
/lk-master/external/lib/lwip/core/ipv4/
A Dip.c124 ip_route(ip_addr_t *dest) in ip_route() argument
129 netif = LWIP_HOOK_IP4_ROUTE(dest); in ip_route()
147 ip4_addr1_16(dest), ip4_addr2_16(dest), ip4_addr3_16(dest), ip4_addr4_16(dest))); in ip_route()
460 ntohs(udphdr->dest)));
673 if (dest != IP_HDRINCL) {
723 ip_addr_copy(iphdr->dest, *dest);
769 dest = &dest_addr;
785 netif_loop_output(netif, p, dest);
792 return ip_frag(p, netif, dest);
829 ip4_addr1_16(dest), ip4_addr2_16(dest), ip4_addr3_16(dest), ip4_addr4_16(dest)));
[all …]
A Digmp.c389 igmp_input(struct pbuf *p, struct netif *inp, ip_addr_t *dest) in igmp_input() argument
410 ip_addr_debug_print(IGMP_DEBUG, &(iphdr->dest)); in igmp_input()
423 group = igmp_lookfor_group(inp, dest); /* use the destination IP address of incoming packet */ in igmp_input()
437 if ((ip_addr_cmp(dest, &allsystems)) && ip_addr_isany(&igmp->igmp_group_address)) { in igmp_input()
462 if (ip_addr_cmp(dest, &allsystems)) { in igmp_input()
745 igmp_ip_output_if(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest, struct netif *netif) in igmp_ip_output_if() argument
752 return ip_output_if_opt(p, src, dest, IGMP_TTL, 0, IP_PROTO_IGMP, netif, ra, ROUTER_ALERTLEN); in igmp_ip_output_if()
767 ip_addr_t* dest = NULL; in igmp_send() local
779 dest = &(group->group_address); in igmp_send()
784 dest = &allrouters; in igmp_send()
[all …]
/lk-master/external/platform/pico/rp2_common/hardware_pio/include/hardware/
A Dpio_instructions.h79 return _pio_encode_instr_and_args(instr_bits, dest & 7u, value); in _pio_encode_instr_and_src_dest()
126 inline static uint pio_encode_out(enum pio_src_dest dest, uint value) { in pio_encode_out() argument
127 valid_params_if(PIO_INSTRUCTIONS, !(dest & _PIO_INVALID_OUT_DEST)); in pio_encode_out()
128 return _pio_encode_instr_and_src_dest(pio_instr_bits_out, dest, value); in pio_encode_out()
140 valid_params_if(PIO_INSTRUCTIONS, !(dest & _PIO_INVALID_MOV_DEST)); in pio_encode_mov()
142 return _pio_encode_instr_and_src_dest(pio_instr_bits_mov, dest, src & 7u); in pio_encode_mov()
146 valid_params_if(PIO_INSTRUCTIONS, !(dest & _PIO_INVALID_MOV_DEST)); in pio_encode_mov_not()
152 valid_params_if(PIO_INSTRUCTIONS, !(dest & _PIO_INVALID_MOV_DEST)); in pio_encode_mov_reverse()
165 inline static uint pio_encode_set(enum pio_src_dest dest, uint value) { in pio_encode_set() argument
166 valid_params_if(PIO_INSTRUCTIONS, !(dest & _PIO_INVALID_SET_DEST)); in pio_encode_set()
[all …]
/lk-master/external/lib/lwip/include/ipv4/lwip/
A Dip_addr.h158 #define IPADDR2_COPY(dest, src) SMEMCPY(dest, src, sizeof(ip_addr_t)) argument
162 #define ip_addr_copy(dest, src) ((dest).addr = (src).addr) argument
164 #define ip_addr_set(dest, src) ((dest)->addr = \ argument
175 #define ip_addr_set_hton(dest, src) ((dest)->addr = \ argument
A Dip.h139 PACK_STRUCT_FIELD(ip_addr_p_t dest);
175 struct netif *ip_route(ip_addr_t *dest);
177 err_t ip_output(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest,
179 err_t ip_output_if(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest,
183 err_t ip_output_hinted(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest,
187 err_t ip_output_if_opt(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest,
A Dinet_chksum.h76 ip_addr_t *src, ip_addr_t *dest,
79 ip_addr_t *src, ip_addr_t *dest,
/lk-master/arch/arm/arm-m/
A Dstart.c23 unsigned int *dest = &__data_start; in _start() local
25 while (dest != &__data_end) in _start()
26 *dest++ = *src++; in _start()
/lk-master/app/stringtests/
A Dstring_tests.c26 static inline void *mymemcpy(void *dest, const void *source, size_t len) { return memcpy(dest, sour… in mymemcpy() argument
27 static inline void *mymemset(void *dest, int c, size_t len) { return memset(dest, c, len); } in mymemset() argument
40 static void *c_memmove(void *dest, void const *source, size_t count) { in c_memmove() argument
41 char *d = (char *)dest; in c_memmove()
45 if (count == 0 || dest == source) in c_memmove()
46 return dest; in c_memmove()
90 return dest; in c_memmove()
125 static void *null_memcpy(void *dest, const void *source, size_t len) { in null_memcpy() argument
126 return dest; in null_memcpy()
/lk-master/external/lib/lwip/include/ipv6/lwip/
A Dip.h96 struct ip_addr src, dest; /* source and destination IP addresses */ member
105 struct netif *ip_route(struct ip_addr *dest);
110 err_t ip_output(struct pbuf *p, struct ip_addr *src, struct ip_addr *dest,
113 err_t ip_output_if(struct pbuf *p, struct ip_addr *src, struct ip_addr *dest,
/lk-master/external/lib/lwip/netif/
A Detharp.c421 ETHADDR32_COPY(&ethhdr->dest, dst); in etharp_send_ip()
796 ETHADDR16_COPY(&ethhdr->dest, ethdst_hwaddr);
798 ETHADDR16_COPY(&ethhdr->dest, &hdr->shwaddr);
881 struct eth_addr *dest; local
904 dest = (struct eth_addr *)&ethbroadcast;
915 dest = &mcastaddr;
1221 ETHADDR16_COPY(&ethhdr->dest, ethdst_hwaddr);
1223 ETHADDR16_COPY(&ethhdr->dest, ethdst_addr);
1296 (unsigned)ethhdr->dest.addr[0], (unsigned)ethhdr->dest.addr[1], (unsigned)ethhdr->dest.addr[2],
1297 (unsigned)ethhdr->dest.addr[3], (unsigned)ethhdr->dest.addr[4], (unsigned)ethhdr->dest.addr[5],
[all …]
/lk-master/tools/
A Dbin2h.py8 parser.add_option("-b", "--before", dest="before", action="append",
10 parser.add_option("-a", "--after", dest="after", action="append",
/lk-master/external/lib/lwip/core/
A Dudp.c157 u16_t src, dest; local
189 dest = ntohs(udphdr->dest);
197 ip4_addr1_16(&iphdr->dest), ip4_addr2_16(&iphdr->dest),
198 ip4_addr3_16(&iphdr->dest), ip4_addr4_16(&iphdr->dest), ntohs(udphdr->dest),
206 if (dest == DHCP_CLIENT_PORT) {
241 if (pcb->local_port == dest) {
362 if ((mpcb->local_port == dest) &&
614 udphdr->dest = htons(dst_port);
1005 ntohs(udphdr->src), ntohs(udphdr->dest)));
/lk-master/lib/minip/
A Dminip-internal.h134 static inline void mac_addr_copy(uint8_t *dest, const uint8_t *src) { in mac_addr_copy() argument
135 *(uint32_t *)dest = *(const uint32_t *)src; in mac_addr_copy()
136 *(uint16_t *)(dest + 4) = *(const uint16_t *)(src + 4); in mac_addr_copy()

Completed in 29 milliseconds

123