| /lib/liblwip/src/core/ipv4/ |
| D | inet_chksum.c | 272 inet_chksum_pseudo(struct pbuf *p, in inet_chksum_pseudo() argument 284 for(q = p; q != NULL; q = q->next) { in inet_chksum_pseudo() 332 inet_chksum_pseudo_partial(struct pbuf *p, in inet_chksum_pseudo_partial() argument 345 for(q = p; (q != NULL) && (chksum_len > 0); q = q->next) { in inet_chksum_pseudo_partial() 409 inet_chksum_pbuf(struct pbuf *p) in inet_chksum_pbuf() argument 417 for(q = p; q != NULL; q = q->next) { in inet_chksum_pbuf()
|
| /sys/dev/x86/ |
| D | vgacons.c | 159 const char *p = str; in VGA_Puts() local 160 while (*p != '\0') in VGA_Puts() 161 VGA_Putc(*p++); in VGA_Puts()
|
| /lib/liblwip/src/include/ipv6/lwip/ |
| D | inet.h | 44 u16_t inet_chksum_pbuf(struct pbuf *p); 45 u16_t inet_chksum_pseudo(struct pbuf *p,
|
| /sys/kern/ |
| D | libc.c | 123 uint8_t *p = (uint8_t *)dst; in memset() local 126 *p = c; in memset() 127 p += 1; in memset()
|
| D | syscall.c | 197 uint64_t p; in Syscall_MUnmap() local 199 for (p = 0; p < len; p += PGSIZE) in Syscall_MUnmap()
|
| /lib/liblwip/src/netif/ppp/ |
| D | ppp.c | 142 #define PPP_ADDRESS(p) (((u_char *)(p))[0]) argument 143 #define PPP_CONTROL(p) (((u_char *)(p))[1]) argument 144 #define PPP_PROTOCOL(p) ((((u_char *)(p))[2] << 8) + ((u_char *)(p))[3]) argument 766 pppifOutputOverEthernet(int pd, struct pbuf *p) in pppifOutputOverEthernet() argument 792 pbuf_chain(pb, p); in pppifOutputOverEthernet() 817 struct pbuf *headMB = NULL, *tailMB = NULL, *p; in pppifOutput() local 913 for(p = pb; p; p = p->next) { in pppifOutput() 917 sPtr = (u_char*)p->payload; in pppifOutput() 918 n = p->len; in pppifOutput() 1567 pppSingleBuf(struct pbuf *p) in pppSingleBuf() argument [all …]
|
| D | chap.c | 849 ChapPrintPkt( u_char *p, int plen, void (*printer) (void *, char *, ...), void *arg) in ChapPrintPkt() argument 858 GETCHAR(code, p); in ChapPrintPkt() 859 GETCHAR(id, p); in ChapPrintPkt() 860 GETSHORT(len, p); in ChapPrintPkt() 878 clen = p[0]; in ChapPrintPkt() 882 ++p; in ChapPrintPkt() 886 GETCHAR(x, p); in ChapPrintPkt() 889 printer(arg, ">, name = %.*Z", nlen, p); in ChapPrintPkt() 893 printer(arg, " %.*Z", len, p); in ChapPrintPkt() 897 GETCHAR(x, p); in ChapPrintPkt()
|
| D | auth.c | 1151 char *p = addrs->word; 1156 if (wo->hisaddr == 0 && *p != '!' && *p != '-' && strchr(p, '/') == NULL) { 1157 hp = gethostbyname(p); 1161 a = inet_addr(p);
|
| /lib/liblwip/src/include/lwip/ |
| D | tcpip.h | 92 err_t tcpip_input(struct pbuf *p, struct netif *inp); 109 err_t pbuf_free_callback(struct pbuf *p); 144 struct pbuf *p; member
|
| D | tcp_impl.h | 64 void tcp_input (struct pbuf *p, struct netif *inp); 199 #define TCP_EVENT_RECV(pcb,p,err,ret) ret = lwip_tcp_event((pcb)->callback_arg, (pcb),\ argument 200 LWIP_EVENT_RECV, (p), 0, (err)) 226 #define TCP_EVENT_RECV(pcb,p,err,ret) \ 229 (ret) = (pcb)->recv((pcb)->callback_arg,(pcb),(p),(err));\ 231 (ret) = tcp_recv_null(NULL, (pcb), (p), (err)); \ 279 struct pbuf *p; /* buffer containing data + TCP header */ member 458 err_t tcp_recv_null(void *arg, struct tcp_pcb *pcb, struct pbuf *p, err_t err);
|
| D | netif.h | 109 typedef err_t (*netif_input_fn)(struct pbuf *p, struct netif *inp); 118 typedef err_t (*netif_output_fn)(struct netif *netif, struct pbuf *p, 126 typedef err_t (*netif_linkoutput_fn)(struct netif *netif, struct pbuf *p); 311 err_t netif_loop_output(struct netif *netif, struct pbuf *p, ip_addr_t *dest_ip);
|
| D | api.h | 223 #define netconn_peer(c,i,p) netconn_getaddr(c,i,p,0) argument 224 #define netconn_addr(c,i,p) netconn_getaddr(c,i,p,1) argument
|
| D | tcp.h | 73 struct pbuf *p, err_t err); 309 struct pbuf *p,
|
| /lib/liblwip/test/unit/tcp/ |
| D | test_tcp_oos.c | 45 num += pbuf_clen(seg->p); in tcp_oos_pbuf_count() 491 struct pbuf *p = tcp_create_rx_segment(pcb, &data_full_wnd[TCP_MSS*(k+1)], in START_TEST() local 493 EXPECT_RET(p != NULL); in START_TEST() 495 test_tcp_input(p, &netif); in START_TEST() 580 struct pbuf *p = tcp_create_rx_segment(pcb, &data_full_wnd[k], in START_TEST() local 582 EXPECT_RET(p != NULL); in START_TEST() 583 EXPECT_RET(p->next == NULL); in START_TEST() 585 test_tcp_input(p, &netif); in START_TEST() 659 struct pbuf *p = tcp_create_rx_segment(pcb, &data_full_wnd[i], in START_TEST() local 661 EXPECT_RET(p != NULL); in START_TEST() [all …]
|
| D | tcp_helper.h | 42 err_t test_tcp_counters_recv(void* arg, struct tcp_pcb* pcb, struct pbuf* p, err_t err); 46 void test_tcp_input(struct pbuf *p, struct netif *inp);
|
| /lib/libc/ |
| D | string.c | 166 uint8_t *p = (uint8_t *)dst; in memset() local 169 *p = c; in memset() 170 p += 1; in memset()
|
| /lib/liblwip/src/api/ |
| D | sockets.c | 562 struct pbuf *p; in lwip_recvfrom() local 630 p = (struct pbuf *)buf; in lwip_recvfrom() 632 p = ((struct netbuf *)buf)->p; in lwip_recvfrom() 634 buflen = p->tot_len; in lwip_recvfrom() 648 pbuf_copy_partial(p, (u8_t*)mem + off, copylen, sock->lastoffset); in lwip_recvfrom() 656 (p->flags & PBUF_FLAG_PUSH) || in lwip_recvfrom() 829 struct pbuf* p; local 833 p = pbuf_alloc(PBUF_TRANSPORT, short_size, PBUF_RAM); 834 if (p != NULL) { 838 chksum = LWIP_CHKSUM_COPY(p->payload, data, short_size); [all …]
|
| D | api_lib.c | 471 struct pbuf *p = NULL; in netconn_recv() local 480 err = netconn_recv_data(conn, (void **)&p); in netconn_recv() 485 LWIP_ASSERT("p != NULL", p != NULL); in netconn_recv() 487 buf->p = p; in netconn_recv() 488 buf->ptr = p; in netconn_recv() 574 LWIP_DEBUGF(API_LIB_DEBUG, ("netconn_send: sending %"U16_F" bytes\n", buf->p->tot_len)); in netconn_send()
|
| /lib/liblwip/src/include/netif/ |
| D | ppp_oe.h | 180 void pppoe_disc_input(struct netif *netif, struct pbuf *p); 181 void pppoe_data_input(struct netif *netif, struct pbuf *p);
|
| D | etharp.h | 177 struct pbuf *p; member 210 err_t ethernet_input(struct pbuf *p, struct netif *netif);
|
| /lib/liblwip/src/core/ |
| D | mem.c | 648 void *p; in mem_calloc() local 651 p = mem_malloc(count * size); in mem_calloc() 652 if (p) { in mem_calloc() 654 memset(p, 0, count * size); in mem_calloc() 656 return p; in mem_calloc()
|
| D | dhcp.c | 160 static void dhcp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, ip_addr_t *addr, u16_t port); 1311 const char *p = netif->hostname; in dhcp_option_hostname() local 1319 dhcp_option_byte(dhcp, *p++); in dhcp_option_hostname() 1337 dhcp_parse_reply(struct dhcp *dhcp, struct pbuf *p) in dhcp_parse_reply() argument 1351 if (p->len < DHCP_SNAME_OFS) { in dhcp_parse_reply() 1354 dhcp->msg_in = (struct dhcp_msg *)p->payload; in dhcp_parse_reply() 1365 options_idx_max = p->tot_len; in dhcp_parse_reply() 1367 q = p; in dhcp_parse_reply() 1512 pbuf_copy_partial(p, dhcp->boot_file_name, DHCP_FILE_LEN-1, DHCP_FILE_OFS); in dhcp_parse_reply() 1537 dhcp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, ip_addr_t *addr, u16_t port) in dhcp_recv() argument [all …]
|
| D | netif.c | 610 netif_loop_output(struct netif *netif, struct pbuf *p, in netif_loop_output() argument 632 r = pbuf_alloc(PBUF_LINK, p->tot_len, PBUF_RAM); in netif_loop_output() 654 if ((err = pbuf_copy(r, p)) != ERR_OK) { in netif_loop_output() 680 snmp_add_ifoutoctets(stats_if, p->tot_len); in netif_loop_output()
|
| D | tcp.c | 1146 if (seg->p != NULL) { in tcp_seg_free() 1147 pbuf_free(seg->p); in tcp_seg_free() 1149 seg->p = NULL; in tcp_seg_free() 1186 pbuf_ref(cseg->p); in tcp_seg_copy() 1197 tcp_recv_null(void *arg, struct tcp_pcb *pcb, struct pbuf *p, err_t err) in tcp_recv_null() argument 1200 if (p != NULL) { in tcp_recv_null() 1201 tcp_recved(pcb, p->tot_len); in tcp_recv_null() 1202 pbuf_free(p); in tcp_recv_null()
|
| /lib/liblwip/src/include/ipv4/lwip/ |
| D | igmp.h | 95 void igmp_input(struct pbuf *p, struct netif *inp, ip_addr_t *dest);
|