| /lib/lwip/lwip/src/netif/ppp/ |
| A D | eap.c | 347 u_char *inp; 395 u_char *inp; 1252 u_char *inp; 1270 datp = inp + len; 1297 len = write(fd, inp + 1, *inp); 1772 inp)); in eap_response() 1921 A.data = inp; in eap_response() 2101 GETCHAR(id, inp); in eap_input() 2160 pstart = inp; in eap_printpkt() 2162 GETCHAR(id, inp); in eap_printpkt() [all …]
|
| A D | fsm.c | 319 u_char *inp; in fsm_input() local 327 inp = inpacket; in fsm_input() 332 GETCHAR(code, inp); in fsm_input() 333 GETCHAR(id, inp); in fsm_input() 334 GETSHORT(len, inp); in fsm_input() 356 fsm_rconfreq(f, id, inp, len); in fsm_input() 360 fsm_rconfack(f, id, inp, len); in fsm_input() 369 fsm_rtermreq(f, id, inp, len); in fsm_input() 377 fsm_rcoderej(f, inp, len); in fsm_input() 652 GETCHAR(code, inp); in fsm_rcoderej() [all …]
|
| A D | upap.c | 306 u_char *inp; in upap_input() local 314 inp = inpacket; in upap_input() 319 GETCHAR(code, inp); in upap_input() 320 GETCHAR(id, inp); in upap_input() 321 GETSHORT(len, inp); in upap_input() 397 ruser = (char *) inp; in upap_rauthreq() 398 INCPTR(ruserlen, inp); in upap_rauthreq() 472 GETCHAR(msglen, inp); in upap_rauthack() 479 msg = (char *) inp; in upap_rauthack() 508 GETCHAR(msglen, inp); in upap_rauthnak() [all …]
|
| A D | pppol2tp.c | 351 u8_t *inp; in pppol2tp_input() local 375 inp = (u8_t*)p->payload; in pppol2tp_input() 376 GETSHORT(hflags, inp); in pppol2tp_input() 413 GETSHORT(len, inp); in pppol2tp_input() 421 GETSHORT(ns, inp); in pppol2tp_input() 422 GETSHORT(nr, inp); in pppol2tp_input() 425 GETSHORT(offset, inp) in pppol2tp_input() 434 INCPTR(offset, inp); in pppol2tp_input() 481 GETSHORT(hflags, inp); in pppol2tp_input() 498 u8_t *inp; in pppol2tp_dispatch_control_packet() local [all …]
|
| A D | pppos.c | 444 err_t pppos_input_sys(struct pbuf *p, struct netif *inp) { in pppos_input_sys() argument 445 ppp_pcb *ppp = (ppp_pcb*)inp->state; in pppos_input_sys() 547 struct pbuf *inp; in pppos_input() local 566 inp = pppos->in_head; in pppos_input() 580 pbuf_remove_header(inp, PBUF_LINK_ENCAPSULATION_HLEN + PBUF_LINK_HLEN); in pppos_input() 584 if(tcpip_try_callback(pppos_input_callback, inp) != ERR_OK) { in pppos_input() 586 pbuf_free(inp); in pppos_input() 591 ppp_input(ppp, inp); in pppos_input()
|
| A D | lcp.c | 530 lcp_rprotrej(f, inp, len); in lcp_extcode() 536 magp = inp; in lcp_extcode() 538 fsm_sdata(f, ECHOREP, id, inp, len); in lcp_extcode() 542 lcp_received_echo_reply(f, id, inp, len); in lcp_extcode() 575 GETSHORT(prot, inp); in lcp_rprotrej() 1849 next = inp; in lcp_reqci() 1859 rejp = inp; in lcp_reqci() 2269 *lenp = next - inp; in lcp_reqci() 2276 MEMCPY(inp, nakp->payload, *lenp); in lcp_reqci() 2279 *lenp = rejp - inp; in lcp_reqci() [all …]
|
| A D | ipv6cp.c | 185 static int ipv6cp_reqci(fsm *f, u_char *inp, int *len, int reject_if_disagree); /* Rcv CI */ 887 static int ipv6cp_reqci(fsm *f, u_char *inp, int *len, int reject_if_disagree) { 902 u_char *ucp = inp; /* Pointer to current output char */ 913 next = inp; 1020 ucp = inp; /* Backup */ 1028 ucp = inp; /* Backup */ 1050 ucp = inp; /* reset pointer */ 1058 *len = ucp - inp; /* Compute output length */
|
| /lib/ |
| A D | sscanf.c | 384 inr = strlen(inp); in vsscanf() 414 if (*inp != c) in vsscanf() 416 inr--, inp++; in vsscanf() 536 inp++; in vsscanf() 562 inp += n; in vsscanf() 568 inp += width; in vsscanf() 574 inp += width; in vsscanf() 669 c = *inp; in vsscanf() 753 inp++; in vsscanf() 765 inp--; in vsscanf() [all …]
|
| /lib/lwip/lwip/src/core/ipv4/ |
| A D | ip4.c | 286 LWIP_UNUSED_ARG(inp); in ip4_forward() 312 if (netif == inp) { in ip4_forward() 563 netif = inp; 568 if ((netif_is_up(inp)) && (!ip4_addr_isany_val(*netif_ip4_addr(inp)))) { 569 netif = inp; 578 netif = inp; 590 if (netif == inp) { 621 netif = inp; 737 udp_input(p, inp); 743 tcp_input(p, inp); [all …]
|
| A D | icmp.c | 80 icmp_input(struct pbuf *p, struct netif *inp) in icmp_input() argument 124 src = netif_ip4_addr(inp); in icmp_input() 134 src = netif_ip4_addr(inp); in icmp_input() 146 IF__NETIF_CHECKSUM_ENABLED(inp, NETIF_CHECKSUM_CHECK_ICMP) { in icmp_input() 217 IF__NETIF_CHECKSUM_ENABLED(inp, NETIF_CHECKSUM_GEN_ICMP) { in icmp_input() 238 IF__NETIF_CHECKSUM_ENABLED(inp, NETIF_CHECKSUM_GEN_IP) { in icmp_input() 251 ICMP_TTL, 0, IP_PROTO_ICMP, inp); in icmp_input()
|
| A D | igmp.c | 323 igmp_input(struct pbuf *p, struct netif *inp, const ip4_addr_t *dest) in igmp_input() argument 343 LWIP_DEBUGF(IGMP_DEBUG, (" on if %p\n", (void *)inp)); in igmp_input() 355 group = igmp_lookfor_group(inp, dest); /* use the destination IP address of incoming packet */ in igmp_input() 381 groupref = netif_igmp_data(inp); in igmp_input() 403 group = igmp_lookfor_group(inp, &groupaddr); in igmp_input() 431 … igmp->igmp_msgtype, group->group_state, (void *)&group, (void *)inp)); in igmp_input()
|
| /lib/lwip/lwip/src/api/ |
| A D | tcpip.c | 179 if (msg->msg.inp.input_fn(msg->msg.inp.p, msg->msg.inp.netif) != ERR_OK) { in tcpip_thread_handle_msg() 180 pbuf_free(msg->msg.inp.p); in tcpip_thread_handle_msg() 245 tcpip_inpkt(struct pbuf *p, struct netif *inp, netif_input_fn input_fn) in tcpip_inpkt() argument 251 ret = input_fn(p, inp); in tcpip_inpkt() 265 msg->msg.inp.p = p; in tcpip_inpkt() 266 msg->msg.inp.netif = inp; in tcpip_inpkt() 267 msg->msg.inp.input_fn = input_fn; in tcpip_inpkt() 288 tcpip_input(struct pbuf *p, struct netif *inp) in tcpip_input() argument 291 if (inp->flags & (NETIF_FLAG_ETHARP | NETIF_FLAG_ETHERNET)) { in tcpip_input() 292 return tcpip_inpkt(p, inp, ethernet_input); in tcpip_input() [all …]
|
| /lib/lwip/lwip/src/core/ipv6/ |
| A D | nd6.c | 430 neighbor_cache[i].netif = inp; in nd6_input() 512 nd6_send_na(inp, netif_ip6_addr(inp, i), ND6_FLAG_OVERRIDE | ND6_SEND_FLAG_ALLNODES_DEST); in nd6_input() 534 neighbor_cache[i].netif = inp; in nd6_input() 553 neighbor_cache[i].netif = inp; in nd6_input() 605 (nd6_send_rs(inp) == ERR_OK)) { in nd6_input() 606 inp->rs_count = 0; in nd6_input() 608 inp->rs_count = 1; in nd6_input() 713 if (inp->mtu) { in nd6_input() 715 inp->mtu6 = LWIP_MIN(LWIP_MIN(inp->mtu, inp->mtu6), (u16_t)mtu32); in nd6_input() 717 inp->mtu6 = (u16_t)mtu32; in nd6_input() [all …]
|
| A D | ip6.c | 417 if (netif == inp) { in ip6_forward() 592 ip_data.current_netif = inp; 600 netif = inp; 604 netif = inp; 615 netif = inp; 629 if (ip6_input_accept(inp)) { 630 netif = inp; 656 if (netif == inp) { 1072 udp_input(p, inp); 1077 tcp_input(p, inp); [all …]
|
| A D | icmp6.c | 83 icmp6_input(struct pbuf *p, struct netif *inp) in icmp6_input() argument 103 IF__NETIF_CHECKSUM_ENABLED(inp, NETIF_CHECKSUM_CHECK_ICMP6) { in icmp6_input() 121 nd6_input(p, inp); in icmp6_input() 132 mld6_input(p, inp); in icmp6_input() 167 reply_src = ip_2_ip6(ip6_select_source_address(inp, ip6_current_src_addr())); in icmp6_input() 186 IF__NETIF_CHECKSUM_ENABLED(inp, NETIF_CHECKSUM_GEN_ICMP6) { in icmp6_input() 195 LWIP_ICMP6_HL, 0, IP6_NEXTH_ICMP6, inp); in icmp6_input()
|
| A D | mld6.c | 227 mld6_input(struct pbuf *p, struct netif *inp) in mld6_input() argument 252 group = netif_mld6_data(inp); in mld6_input() 265 group = mld6_lookfor_group(inp, ip6_current_dest_addr()); in mld6_input() 277 group = mld6_lookfor_group(inp, ip6_current_dest_addr()); in mld6_input()
|
| /lib/lwip/lwip/contrib/Coverity/ |
| A D | coverity.c | 48 err_t ethernet_input(struct pbuf *p, struct netif *inp) in ethernet_input() argument 52 err_t tcpip_input(struct pbuf *p, struct netif *inp) in tcpip_input() argument 56 err_t ip_input(struct pbuf *p, struct netif *inp) in ip_input() argument 60 err_t ip4_input(struct pbuf *p, struct netif *inp) in ip4_input() argument 64 err_t ip6_input(struct pbuf *p, struct netif *inp) in ip6_input() argument
|
| /lib/lwip/lwip/src/core/ |
| A D | ip.c | 154 ip_input(struct pbuf *p, struct netif *inp) in ip_input() argument 158 return ip6_input(p, inp); in ip_input() 160 return ip4_input(p, inp); in ip_input()
|
| A D | udp.c | 130 udp_input_local_match(struct udp_pcb *pcb, struct netif *inp, u8_t broadcast) in udp_input_local_match() argument 132 LWIP_UNUSED_ARG(inp); /* in IPv6 only case */ in udp_input_local_match() 136 LWIP_ASSERT("udp_input_local_match: invalid netif", inp != NULL); in udp_input_local_match() 194 udp_input(struct pbuf *p, struct netif *inp) in udp_input() argument 203 LWIP_UNUSED_ARG(inp); in udp_input() 208 LWIP_ASSERT("udp_input: invalid netif", inp != NULL); in udp_input() 263 (udp_input_local_match(pcb, inp, broadcast) != 0)) { in udp_input() 319 for_us = netif_get_ip6_addr_match(inp, ip6_current_dest_addr()) >= 0; in udp_input() 324 for_us = ip4_addr_eq(netif_ip4_addr(inp), ip4_current_dest_addr()); in udp_input() 332 IF__NETIF_CHECKSUM_ENABLED(inp, NETIF_CHECKSUM_CHECK_UDP) { in udp_input() [all …]
|
| /lib/lwip/lwip/src/include/lwip/ |
| A D | tcpip.h | 79 err_t tcpip_inpkt(struct pbuf *p, struct netif *inp, netif_input_fn input_fn); 80 err_t tcpip_input(struct pbuf *p, struct netif *inp);
|
| A D | icmp6.h | 56 void icmp6_input(struct pbuf *p, struct netif *inp);
|
| A D | nd6.h | 70 void nd6_input(struct pbuf *p, struct netif *inp);
|
| /lib/lwip/lwip/test/unit/tcp/ |
| A D | tcp_helper.c | 259 void test_tcp_input(struct pbuf *p, struct netif *inp) in test_tcp_input() argument 265 ip_current_netif() = inp; in test_tcp_input() 267 ip_data.current_input_netif = inp; in test_tcp_input() 272 tcp_input(p, inp); in test_tcp_input()
|
| /lib/mbedtls/external/mbedtls/scripts/mbedtls_dev/ |
| A D | c_parsing_helper.py | 87 with open(filename, encoding='utf-8') as inp: 88 content = inp.read()
|
| /lib/lwip/lwip/src/include/lwip/priv/ |
| A D | raw_priv.h | 59 raw_input_state_t raw_input(struct pbuf *p, struct netif *inp);
|