Home
last modified time | relevance | path

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

/lib/liblwip/src/netif/ppp/
Dchap.c367 u_char code, id; in ChapInput() local
379 GETCHAR(code, inp); in ChapInput()
395 switch (code) { in ChapInput()
413 CHAPDEBUG(LOG_WARNING, ("Unknown CHAP code (%d) received.\n", code)); in ChapInput()
525 int code; in ChapReceiveResponse() local
587 code = CHAP_FAILURE; in ChapReceiveResponse()
608 code = CHAP_SUCCESS; /* they are the same! */ in ChapReceiveResponse()
618 ChapSendStatus(cstate, code); in ChapReceiveResponse()
620 if (code == CHAP_SUCCESS) { in ChapReceiveResponse()
746 ChapSendStatus(chap_state *cstate, int code) in ChapSendStatus() argument
[all …]
Dfsm.c385 u_char code, id; in fsm_input() local
397 GETCHAR(code, inp); in fsm_input()
417 FSMDEBUG(LOG_INFO, ("fsm_input(%s):%d,%d,%d\n", PROTO_NAME(f), code, id, l)); in fsm_input()
421 switch (code) { in fsm_input()
432 fsm_rconfnakrej(f, code, id, inp, len); in fsm_input()
450 !(*f->callbacks->extcode)(f, code, id, inp, len) ) { in fsm_input()
464 int code, reject_if_disagree; in fsm_rconfreq() local
498 code = (*f->callbacks->reqci)(f, inp, &len, reject_if_disagree); in fsm_rconfreq()
500 code = CONFREJ; /* Reject all CI */ in fsm_rconfreq()
502 code = CONFACK; in fsm_rconfreq()
[all …]
Dlcp.c407 lcp_extcode(fsm *f, int code, u_char id, u_char *inp, int len) in lcp_extcode() argument
411 switch( code ){ in lcp_extcode()
779 #define NAKCIVOID(opt, neg, code) \ in lcp_nakci() argument
787 code \ in lcp_nakci()
789 #define NAKCICHAP(opt, neg, code) \ in lcp_nakci() argument
799 code \ in lcp_nakci()
801 #define NAKCICHAR(opt, neg, code) \ in lcp_nakci() argument
810 code \ in lcp_nakci()
812 #define NAKCISHORT(opt, neg, code) \ in lcp_nakci() argument
821 code \ in lcp_nakci()
[all …]
Dpap.c338 u_char code, id; in upap_input() local
350 GETCHAR(code, inp); in upap_input()
366 switch (code) { in upap_input()
380 …UPAPDEBUG(LOG_INFO, ("pap_input: UNHANDLED default: code: %d, id: %d, len: %d.\n", code, id, len)); in upap_input()
584 upap_sresp(upap_state *u, u_char code, u_char id, char *msg, int msglen) in upap_sresp() argument
593 PUTCHAR(code, outp); in upap_sresp()
600 UPAPDEBUG(LOG_INFO, ("pap_sresp: Sent code %d, id %d s=%d\n", code, id, u->us_clientstate)); in upap_sresp()
Dipcp.c563 #define NAKCIADDR(opt, neg, old, code) \ in ipcp_nakci() argument
580 code \ in ipcp_nakci()
583 #define NAKCIVJ(opt, neg, code) \ in ipcp_nakci() argument
592 code \ in ipcp_nakci()
595 #define NAKCIDNS(opt, neg, code) \ in ipcp_nakci() argument
605 code \ in ipcp_nakci()
Dppp_oe.c410 switch (ph->code) { in pppoe_dispatch_disc_pkt()
537 (u16_t)ph->code, session); in pppoe_dispatch_disc_pkt()
539 printf("pppoe: unknown code (0x%"X16_F") session = 0x%"X16_F"\n", (u16_t)ph->code, session); in pppoe_dispatch_disc_pkt()
597 if (ph->code != 0) { in pppoe_data_input()
/lib/liblwip/src/core/ipv4/
Dicmp.c65 static void icmp_send_response(struct pbuf *p, u8_t type, u8_t code);
81 u8_t code; in icmp_input() local
100 code = *(((u8_t *)p->payload)+1); in icmp_input()
231 (s16_t)type, (s16_t)code)); in icmp_input()
291 icmp_send_response(struct pbuf *p, u8_t type, u8_t code) in icmp_send_response() argument
318 icmphdr->code = code; in icmp_send_response()
/lib/liblwip/src/include/ipv4/lwip/
Dicmp.h81 PACK_STRUCT_FIELD(u8_t code);
92 #define ICMPH_CODE(hdr) ((hdr)->code)
96 #define ICMPH_CODE_SET(hdr, c) ((hdr)->code = (c))
/lib/liblwip/src/netif/
DFILES2 do not contain any hardware or architecture specific code. The files
7 Ethernet. The code in this file should be used together with
15 network device drivers. It uses the etharp.c ARP code.
29 the source code has been reordered a bit.
/lib/liblwip/src/core/snmp/
Dasn1_enc.c499 u8_t code; in snmp_asn1_enc_oid() local
501 code = (u8_t)(sub_id >> shift); in snmp_asn1_enc_oid()
502 if ((code != 0) || (tail != 0)) in snmp_asn1_enc_oid()
505 *msg_ptr = code | 0x80; in snmp_asn1_enc_oid()
/lib/liblwip/
DFILES1 src/ - The source code for the lwIP TCP/IP stack.
DREADME11 around 40 kilobytes of code ROM.
70 Self documentation of the source code is regularly extracted from the
83 Reading Adam's papers, the files in docs/, browsing the source code
DCHANGELOG65 Also added code to allow ip_forward() to forward non-broadcast packets to
164 * tcp_in.c: fixed bug #34638: Dead code in tcp_receive - pcb->dupacks
183 * sockets.c: fixed bug #34581 missing parentheses in udplite sockets code
382 * etharp.c: Speedup TX by moving code from find_entry to etharp_output/
387 * opt.h, tcpip.c/.h: Added an option to disable tcpip_(un)timeout code
399 on change) plus use SYS_LIGHTWEIGHT_PROT to protect the select code.
400 This should speed up receiving data on sockets as the select code in
486 * dhcp.h, dhcp.c: Reworked the code that parses DHCP options: parse
569 * ppp.c: Fixed bug #32648 (PPP code crashes when terminating a link) by only
860 from struct to typedef (u32_t) - and better code).
[all …]
DCOPYING8 * 1. Redistributions of source code must retain the above copyright notice,
/lib/liblwip/doc/
Dcontrib.txt14 2.1 Source code style:
25 10. use current source code style as further reference.
27 2.2 Source code documentation style:
54 …trivial fixes unless the bugfix is trivial too.Do not reorganize code and rename identifiers in th…
DFILES1 savannah.txt - How to obtain the current development source code.
Drawapi.txt6 to use for communication with the TCP/IP code:
15 code and the application program must reside in different execution
60 better with the TCP/IP code. Program execution is event based by
62 code. The TCP/IP code and the application program both run in the same
67 The raw TCP/IP interface is not only faster in terms of code execution
72 code size and memory usage.
81 C function that is called from within the TCP/IP code. Every callback
241 free the pbuf so that lwIP core code can store it.
281 The pcb is deallocated by the TCP code after a call to tcp_close().
428 your ethernet netif interface. The following code illustrates it's use.
Dsnmp_agent.txt15 more lines of code. IMHO this breaks the idea of "lightweight IP".
178 These trees are updated by e.g. the etharp code
Dsys_arch.txt6 between the lwIP code and the underlying operating system kernel. The
143 present in the mailbox, it immediately returns with the code
/
DREADME7 To build the source code run:
/lib/liblwip/src/
DFILES1 api/ - The code for the high-level wrapper API. Not needed if
/lib/liblwip/src/arch/
Dsys_arch.c130 int code; in sys_thread_new() local
137 code = pthread_create(&tmp, in sys_thread_new()
143 if (0 == code) { in sys_thread_new()
149 code, (unsigned long)st)); in sys_thread_new()
/lib/liblwip/src/include/netif/
Dppp_oe.h85 PACK_STRUCT_FIELD(u8_t code);
/sys/amd64/
Dtrapentry.S204 # Skip error code and vector number
/docs/
DDoxyfile266 # uses this value to replace tabs by spaces in code fragments.
332 # tries to guess whether the code is fixed or free formatted code, this is the
458 # useful for C code in case the coding convention dictates that all compound
467 # code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small
536 # This flag is only useful for Objective-C code. If set to YES, local methods,
1050 # that contain example code fragments that are included (see the \include
1087 # code is scanned, but not when the output code is generated. If lines are added
1136 # The Fortran standard specifies that for fixed formatted Fortran code all
1152 # Note: To get rid of all source code in the generated output, make sure that
1165 # special comment blocks from generated source code fragments. Normal C, C++ and
[all …]