| /lib/liblwip/src/netif/ppp/ |
| D | pap.c | 337 u_char *inp; in upap_input() local 345 inp = inpacket; in upap_input() 350 GETCHAR(code, inp); in upap_input() 351 GETCHAR(id, inp); in upap_input() 352 GETSHORT(len, inp); in upap_input() 368 upap_rauthreq(u, inp, id, len); in upap_input() 372 upap_rauthack(u, inp, id, len); in upap_input() 376 upap_rauthnak(u, inp, id, len); in upap_input() 390 upap_rauthreq(upap_state *u, u_char *inp, u_char id, int len) in upap_rauthreq() argument 424 GETCHAR(ruserlen, inp); in upap_rauthreq() [all …]
|
| D | chap.c | 147 static void ChapReceiveSuccess(chap_state *cstate, u_char *inp, u_char id, int len); 148 static void ChapReceiveFailure(chap_state *cstate, u_char *inp, u_char id, int len); 366 u_char *inp; in ChapInput() local 374 inp = inpacket; in ChapInput() 379 GETCHAR(code, inp); in ChapInput() 380 GETCHAR(id, inp); in ChapInput() 381 GETSHORT(len, inp); in ChapInput() 397 ChapReceiveChallenge(cstate, inp, id, len); in ChapInput() 401 ChapReceiveResponse(cstate, inp, id, len); in ChapInput() 405 ChapReceiveFailure(cstate, inp, id, len); in ChapInput() [all …]
|
| D | fsm.c | 384 u_char *inp = inpacket; in fsm_input() local 397 GETCHAR(code, inp); in fsm_input() 398 GETCHAR(id, inp); in fsm_input() 399 GETSHORT(len, inp); in fsm_input() 423 fsm_rconfreq(f, id, inp, len); in fsm_input() 427 fsm_rconfack(f, id, inp, len); in fsm_input() 432 fsm_rconfnakrej(f, code, id, inp, len); in fsm_input() 436 fsm_rtermreq(f, id, inp, len); in fsm_input() 444 fsm_rcoderej(f, inp, len); in fsm_input() 450 !(*f->callbacks->extcode)(f, code, id, inp, len) ) { in fsm_input() [all …]
|
| D | lcp.c | 407 lcp_extcode(fsm *f, int code, u_char id, u_char *inp, int len) in lcp_extcode() argument 413 lcp_rprotrej(f, inp, len); in lcp_extcode() 421 magp = inp; in lcp_extcode() 423 fsm_sdata(f, ECHOREP, id, inp, len); in lcp_extcode() 427 lcp_received_echo_reply(f, id, inp, len); in lcp_extcode() 446 lcp_rprotrej(fsm *f, u_char *inp, int len) in lcp_rprotrej() argument 457 GETSHORT(prot, inp); in lcp_rprotrej() 1224 u_char *inp, /* Requested CIs */ in lcp_reqci() argument 1255 next = inp; in lcp_reqci() 1257 rejp = inp; in lcp_reqci() [all …]
|
| D | ipcp.c | 869 ipcp_reqci(fsm *f, u_char *inp/* Requested CIs */,int *len/* Length of requested CIs */,int reject_… in ipcp_reqci() argument 887 u_char *ucp = inp; /* Pointer to current output char */ in ipcp_reqci() 902 next = inp; in ipcp_reqci() 1145 ucp = inp; /* Backup */ in ipcp_reqci() 1153 ucp = inp; /* Backup */ in ipcp_reqci() 1177 ucp = inp; /* reset pointer */ in ipcp_reqci() 1186 *len = (int)(ucp - inp); /* Compute output length */ in ipcp_reqci()
|
| D | ppp.c | 1826 struct pbuf *inp; in pppInProc() local 1845 inp = pcrx->inHead; in pppInProc() 1850 if(tcpip_callback_with_block(pppInput, inp, 0) != ERR_OK) { in pppInProc() 1852 pbuf_free(inp); in pppInProc() 1857 pppInput(inp); in pppInProc()
|
| /lib/liblwip/src/api/ |
| D | tcpip.c | 102 if (msg->msg.inp.netif->flags & (NETIF_FLAG_ETHARP | NETIF_FLAG_ETHERNET)) { in tcpip_thread() 103 ethernet_input(msg->msg.inp.p, msg->msg.inp.netif); in tcpip_thread() 107 ip_input(msg->msg.inp.p, msg->msg.inp.netif); in tcpip_thread() 161 tcpip_input(struct pbuf *p, struct netif *inp) in tcpip_input() argument 165 LWIP_DEBUGF(TCPIP_DEBUG, ("tcpip_input: PACKET %p/%p\n", (void *)p, (void *)inp)); in tcpip_input() 168 if (inp->flags & (NETIF_FLAG_ETHARP | NETIF_FLAG_ETHERNET)) { in tcpip_input() 169 ret = ethernet_input(p, inp); in tcpip_input() 173 ret = ip_input(p, inp); in tcpip_input() 189 msg->msg.inp.p = p; in tcpip_input() 190 msg->msg.inp.netif = inp; in tcpip_input()
|
| /lib/liblwip/src/core/ipv4/ |
| D | ip.c | 202 ip_forward(struct pbuf *p, struct ip_hdr *iphdr, struct netif *inp) in ip_forward() argument 232 if (netif == inp) { in ip_forward() 305 ip_input(struct pbuf *p, struct netif *inp) argument 331 if (LWIP_HOOK_IP4_INPUT(p, inp)) { 390 if ((inp->flags & NETIF_FLAG_IGMP) && (igmp_lookfor_group(inp, ¤t_iphdr_dest))) { 391 netif = inp; 402 netif = inp; 439 if (netif == inp) { 463 netif = inp; 475 { if ((ip_addr_isbroadcast(¤t_iphdr_src, inp)) || [all …]
|
| D | icmp.c | 77 icmp_input(struct pbuf *p, struct netif *inp) in icmp_input() argument 119 if (ip_addr_isbroadcast(¤t_iphdr_dest, inp)) { in icmp_input() 223 ICMP_TTL, 0, IP_PROTO_ICMP, inp); in icmp_input()
|
| D | igmp.c | 389 igmp_input(struct pbuf *p, struct netif *inp, ip_addr_t *dest) in igmp_input() argument 411 LWIP_DEBUGF(IGMP_DEBUG, (" on if %p\n", inp)); in igmp_input() 423 group = igmp_lookfor_group(inp, dest); /* use the destination IP address of incoming packet */ in igmp_input() 452 … if ((groupref->netif == inp) && (!(ip_addr_cmp(&(groupref->group_address), &allsystems)))) { in igmp_input() 467 group = igmp_lookfor_group(inp, &groupaddr); in igmp_input()
|
| /lib/liblwip/src/core/ |
| D | raw.c | 76 raw_input(struct pbuf *p, struct netif *inp) in raw_input() argument 83 LWIP_UNUSED_ARG(inp); in raw_input() 98 if (ip_get_option(pcb, SOF_BROADCAST) || !ip_addr_isbroadcast(¤t_iphdr_dest, inp)) in raw_input()
|
| D | udp.c | 151 udp_input(struct pbuf *p, struct netif *inp) argument 183 broadcast = ip_addr_isbroadcast(¤t_iphdr_dest, inp); 209 if ((inp->dhcp != NULL) && (inp->dhcp->pcb != NULL)) { 213 if ((ip_addr_isany(&inp->dhcp->pcb->remote_ip) || 214 ip_addr_cmp(&(inp->dhcp->pcb->remote_ip), ¤t_iphdr_src))) { 215 pcb = inp->dhcp->pcb; 251 ip_addr_netcmp(&pcb->local_ip, ip_current_dest_addr(), &inp->netmask)))) { 255 ip_addr_netcmp(&pcb->local_ip, ip_current_dest_addr(), &inp->netmask)))) { 291 if (pcb != NULL || ip_addr_cmp(&inp->ip_addr, ¤t_iphdr_dest)) {
|
| /lib/liblwip/src/include/lwip/ |
| D | tcpip.h | 92 err_t tcpip_input(struct pbuf *p, struct netif *inp); 146 } inp; member
|
| D | raw.h | 89 u8_t raw_input (struct pbuf *p, struct netif *inp);
|
| D | udp.h | 155 void udp_input (struct pbuf *p, struct netif *inp);
|
| D | netif.h | 109 typedef err_t (*netif_input_fn)(struct pbuf *p, struct netif *inp);
|
| /lib/liblwip/src/core/ipv6/ |
| D | ip6.c | 157 ip_input(struct pbuf *p, struct netif *inp) { in ip_input() argument 226 udp_input(p, inp); in ip_input() 229 tcp_input(p, inp); in ip_input() 233 icmp_input(p, inp); in ip_input()
|
| D | icmp6.c | 47 icmp_input(struct pbuf *p, struct netif *inp) in icmp_input() argument 94 iphdr->hoplim, IP_PROTO_ICMP, inp); in icmp_input()
|
| /lib/liblwip/src/include/ipv6/lwip/ |
| D | icmp.h | 66 void icmp_input(struct pbuf *p, struct netif *inp);
|
| D | ip.h | 107 void ip_input(struct pbuf *p, struct netif *inp);
|
| /lib/liblwip/src/include/ipv4/lwip/ |
| D | igmp.h | 95 void igmp_input(struct pbuf *p, struct netif *inp, ip_addr_t *dest);
|
| D | icmp.h | 101 void icmp_input(struct pbuf *p, struct netif *inp);
|
| D | ip.h | 176 err_t ip_input(struct pbuf *p, struct netif *inp);
|
| /lib/liblwip/test/unit/tcp/ |
| D | tcp_helper.c | 238 void test_tcp_input(struct pbuf *p, struct netif *inp) in test_tcp_input() argument 243 current_netif = inp; in test_tcp_input() 246 tcp_input(p, inp); in test_tcp_input()
|
| D | tcp_helper.h | 46 void test_tcp_input(struct pbuf *p, struct netif *inp);
|