Home
last modified time | relevance | path

Searched +defs:p +defs:code (Results 1 – 25 of 33) sorted by relevance

12

/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ipv6/
H A Dicmp6.c83 icmp6_input(struct pbuf *p, struct netif *inp) in icmp6_input()
220 icmp6_dest_unreach(struct pbuf *p, enum icmp6_dur_code c) in icmp6_dest_unreach()
236 icmp6_packet_too_big(struct pbuf *p, u32_t mtu) in icmp6_packet_too_big()
252 icmp6_time_exceeded(struct pbuf *p, enum icmp6_te_code c) in icmp6_time_exceeded()
273 icmp6_time_exceeded_with_addrs(struct pbuf *p, enum icmp6_te_code c, in icmp6_time_exceeded_with_addrs()
292 icmp6_param_problem(struct pbuf *p, enum icmp6_pp_code c, const void *pointer) in icmp6_param_problem()
309 icmp6_send_response(struct pbuf *p, u8_t code, u32_t data, u8_t type) in icmp6_send_response()
346 icmp6_send_response_with_addrs(struct pbuf *p, u8_t code, u32_t data, u8_t type, in icmp6_send_response_with_addrs()
385 icmp6_send_response_with_addrs_and_netif(struct pbuf *p, u8_t code, u32_t data, u8_t type, in icmp6_send_response_with_addrs_and_netif()
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/ipv4/
H A Dicmp.c77 icmp_input(struct pbuf *p, struct netif *inp) in icmp_input()
81 u8_t code; in icmp_input() local
261 icmp_dest_unreach(struct pbuf *p, enum icmp_dur_type t) in icmp_dest_unreach()
275 icmp_time_exceeded(struct pbuf *p, enum icmp_te_type t) in icmp_time_exceeded()
291 icmp_send_response(struct pbuf *p, u8_t type, u8_t code) in icmp_send_response()
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/ipv4/
H A Dicmp.c80 icmp_input(struct pbuf *p, struct netif *inp) in icmp_input()
84 u8_t code; in icmp_input() local
301 icmp_dest_unreach(struct pbuf *p, enum icmp_dur_type t) in icmp_dest_unreach()
316 icmp_time_exceeded(struct pbuf *p, enum icmp_te_type t) in icmp_time_exceeded()
333 icmp_send_response(struct pbuf *p, u8_t type, u8_t code) in icmp_send_response()
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ipv4/
H A Dicmp.c80 icmp_input(struct pbuf *p, struct netif *inp) in icmp_input()
84 u8_t code; in icmp_input() local
308 icmp_dest_unreach(struct pbuf *p, enum icmp_dur_type t) in icmp_dest_unreach()
323 icmp_time_exceeded(struct pbuf *p, enum icmp_te_type t) in icmp_time_exceeded()
340 icmp_send_response(struct pbuf *p, u8_t type, u8_t code) in icmp_send_response()
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/netif/ppp/
H A Dfsm.c320 u_char code, id; in fsm_input() local
393 int code, reject_if_disagree; in fsm_rconfreq() local
515 static void fsm_rconfnakrej(fsm *f, int code, int id, u_char *inp, int len) { in fsm_rconfnakrej()
580 static void fsm_rtermreq(fsm *f, int id, u_char *p, int len) { in fsm_rtermreq()
646 u_char code, id; in fsm_rcoderej() local
708 struct pbuf *p; in fsm_sconfreq() local
770 void fsm_sdata(fsm *f, u_char code, u_char id, const u_char *data, int datalen) { in fsm_sdata()
772 struct pbuf *p; in fsm_sdata() local
H A Dchap-new.c225 struct pbuf *p; in chap_timeout() local
259 unsigned char *p; in chap_generate_challenge() local
287 struct pbuf *p; local
439 struct pbuf *p; local
497 static void chap_handle_status(ppp_pcb *pcb, int code, int id,
536 unsigned char code, id; local
593 static int chap_print_pkt(const unsigned char *p, int plen,
595 int code, id, len; local
H A Dupap.c307 u_char code, id; in upap_input() local
530 struct pbuf *p; in upap_sauthreq() local
567 static void upap_sresp(ppp_pcb *pcb, u_char code, u_char id, const char *msg, int msglen) { in upap_sresp()
568 struct pbuf *p; in upap_sresp() local
602 static int upap_printpkt(const u_char *p, int plen, void (*printer) (void *, const char *, ...), vo… in upap_printpkt()
603 int code, id, len; in upap_printpkt() local
H A Dlcp.c509 static void lcp_input(ppp_pcb *pcb, u_char *p, int len) { in lcp_input()
523 static int lcp_extcode(fsm *f, int code, int id, u_char *inp, int len) { in lcp_extcode()
632 void lcp_sprotrej(ppp_pcb *pcb, u_char *p, int len) { in lcp_sprotrej()
947 static int lcp_ackci(fsm *f, u_char *p, int len) { in lcp_ackci()
1127 static int lcp_nakci(fsm *f, u_char *p, int len, int treat_as_reject) { in lcp_nakci()
1158 #define NAKCICHAP(opt, neg, code) \ in lcp_nakci() argument
1171 #define NAKCICHAR(opt, neg, code) \ in lcp_nakci() argument
1182 #define NAKCISHORT(opt, neg, code) \ in lcp_nakci() argument
1193 #define NAKCILONG(opt, neg, code) \ in lcp_nakci() argument
1205 #define NAKCILQR(opt, neg, code) \ in lcp_nakci() argument
[all …]
H A Dipcp.c533 char *p; local
556 parse_dotted_ip(p, vp) in parse_dotted_ip() argument
691 static void ipcp_input(ppp_pcb *pcb, u_char *p, int len) { in ipcp_input()
921 static int ipcp_ackci(fsm *f, u_char *p, int len) { in ipcp_ackci()
1076 static int ipcp_nakci(fsm *f, u_char *p, int len, int treat_as_reject) { in ipcp_nakci()
1099 #define NAKCIADDRS(opt, neg, code) \ in ipcp_nakci() argument
1115 #define NAKCIVJ(opt, neg, code) \ in ipcp_nakci() argument
1128 #define NAKCIADDR(opt, neg, code) \ in ipcp_nakci() argument
1142 #define NAKCIDNS(opt, neg, code) \ in ipcp_nakci() argument
1341 static int ipcp_rejci(fsm *f, u_char *p, int len) { in ipcp_rejci()
[all …]
H A Dccp.c455 static void ccp_input(ppp_pcb *pcb, u_char *p, int len) { in ccp_input()
487 static int ccp_extcode(fsm *f, int code, int id, u_char *p, int len) { in ccp_extcode()
768 static void ccp_addci(fsm *f, u_char *p, int *lenp) { in ccp_addci()
835 static int ccp_ackci(fsm *f, u_char *p, int len) { in ccp_ackci()
928 static int ccp_nakci(fsm *f, u_char *p, int len, int treat_as_reject) { in ccp_nakci()
1021 static int ccp_rejci(fsm *f, u_char *p, int len) { in ccp_rejci()
1105 static int ccp_reqci(fsm *f, u_char *p, int *lenp, int dont_nak) { in ccp_reqci()
1400 char *p = result; in method_name() local
1522 static int ccp_printpkt(const u_char *p, int plen, void (*printer) (void *, const char *, ...), voi… in ccp_printpkt()
1524 int code, id, len; in ccp_printpkt() local
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/netif/ppp/
H A Dfsm.c320 u_char code, id; in fsm_input() local
393 int code, reject_if_disagree; in fsm_rconfreq() local
515 static void fsm_rconfnakrej(fsm *f, int code, int id, u_char *inp, int len) { in fsm_rconfnakrej()
580 static void fsm_rtermreq(fsm *f, int id, u_char *p, int len) { in fsm_rtermreq()
646 u_char code, id; in fsm_rcoderej() local
708 struct pbuf *p; in fsm_sconfreq() local
770 void fsm_sdata(fsm *f, u_char code, u_char id, const u_char *data, int datalen) { in fsm_sdata()
772 struct pbuf *p; in fsm_sdata() local
H A Dchap-new.c225 struct pbuf *p; in chap_timeout() local
259 unsigned char *p; in chap_generate_challenge() local
287 struct pbuf *p; local
439 struct pbuf *p; local
497 static void chap_handle_status(ppp_pcb *pcb, int code, int id,
536 unsigned char code, id; local
593 static int chap_print_pkt(const unsigned char *p, int plen,
595 int code, id, len; local
H A Dupap.c307 u_char code, id; in upap_input() local
530 struct pbuf *p; in upap_sauthreq() local
567 static void upap_sresp(ppp_pcb *pcb, u_char code, u_char id, const char *msg, int msglen) { in upap_sresp()
568 struct pbuf *p; in upap_sresp() local
602 static int upap_printpkt(const u_char *p, int plen, void (*printer) (void *, const char *, ...), vo… in upap_printpkt()
603 int code, id, len; in upap_printpkt() local
H A Dlcp.c509 static void lcp_input(ppp_pcb *pcb, u_char *p, int len) { in lcp_input()
523 static int lcp_extcode(fsm *f, int code, int id, u_char *inp, int len) { in lcp_extcode()
632 void lcp_sprotrej(ppp_pcb *pcb, u_char *p, int len) { in lcp_sprotrej()
947 static int lcp_ackci(fsm *f, u_char *p, int len) { in lcp_ackci()
1127 static int lcp_nakci(fsm *f, u_char *p, int len, int treat_as_reject) { in lcp_nakci()
1158 #define NAKCICHAP(opt, neg, code) \ in lcp_nakci() argument
1171 #define NAKCICHAR(opt, neg, code) \ in lcp_nakci() argument
1182 #define NAKCISHORT(opt, neg, code) \ in lcp_nakci() argument
1193 #define NAKCILONG(opt, neg, code) \ in lcp_nakci() argument
1205 #define NAKCILQR(opt, neg, code) \ in lcp_nakci() argument
[all …]
H A Dipcp.c533 char *p; local
556 parse_dotted_ip(p, vp) in parse_dotted_ip() argument
691 static void ipcp_input(ppp_pcb *pcb, u_char *p, int len) { in ipcp_input()
921 static int ipcp_ackci(fsm *f, u_char *p, int len) { in ipcp_ackci()
1076 static int ipcp_nakci(fsm *f, u_char *p, int len, int treat_as_reject) { in ipcp_nakci()
1099 #define NAKCIADDRS(opt, neg, code) \ in ipcp_nakci() argument
1115 #define NAKCIVJ(opt, neg, code) \ in ipcp_nakci() argument
1128 #define NAKCIADDR(opt, neg, code) \ in ipcp_nakci() argument
1142 #define NAKCIDNS(opt, neg, code) \ in ipcp_nakci() argument
1341 static int ipcp_rejci(fsm *f, u_char *p, int len) { in ipcp_rejci()
[all …]
H A Dccp.c455 static void ccp_input(ppp_pcb *pcb, u_char *p, int len) { in ccp_input()
487 static int ccp_extcode(fsm *f, int code, int id, u_char *p, int len) { in ccp_extcode()
768 static void ccp_addci(fsm *f, u_char *p, int *lenp) { in ccp_addci()
835 static int ccp_ackci(fsm *f, u_char *p, int len) { in ccp_ackci()
928 static int ccp_nakci(fsm *f, u_char *p, int len, int treat_as_reject) { in ccp_nakci()
1021 static int ccp_rejci(fsm *f, u_char *p, int len) { in ccp_rejci()
1105 static int ccp_reqci(fsm *f, u_char *p, int *lenp, int dont_nak) { in ccp_reqci()
1400 char *p = result; in method_name() local
1522 static int ccp_printpkt(const u_char *p, int plen, void (*printer) (void *, const char *, ...), voi… in ccp_printpkt()
1524 int code, id, len; in ccp_printpkt() local
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/apps/snmp/
H A Dsnmp_msg.c179 snmp_receive(void *handle, struct pbuf *p, const ip_addr_t *source_ip, u16_t port) in snmp_receive()
579 #define PARSE_EXEC(code, retValue) \ argument
593 #define BUILD_EXEC(code, retValue) \ argument
599 #define IF_PARSE_EXEC(code) PARSE_EXEC(code, ERR_ARG) argument
600 #define IF_PARSE_ASSERT(code) PARSE_ASSERT(code, ERR_ARG) argument
987 #define OF_BUILD_EXEC(code) BUILD_EXEC(code, ERR_ARG) argument
1249 #define OVB_BUILD_EXEC(code) BUILD_EXEC(code, ERR_ARG) argument
1572 snmp_vb_enumerator_init(struct snmp_varbind_enumerator* enumerator, struct pbuf* p, u16_t offset, u… in snmp_vb_enumerator_init()
1578 #define VB_PARSE_EXEC(code) PARSE_EXEC(code, SNMP_VB_ENUMERATOR_ERR_ASN1ERROR) argument
1579 #define VB_PARSE_ASSERT(code) PARSE_ASSERT(code, SNMP_VB_ENUMERATOR_ERR_ASN1ERROR) argument
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/netif/ppp/
H A Dlcp.c395 lcp_input(int unit, u_char *p, int len) in lcp_input()
407 lcp_extcode(fsm *f, int code, u_char id, u_char *inp, int len) in lcp_extcode()
503 lcp_sprotrej(int unit, u_char *p, int len) in lcp_sprotrej()
637 lcp_ackci(fsm *f, u_char *p, int len) in lcp_ackci()
759 lcp_nakci(fsm *f, u_char *p, int len) in lcp_nakci()
779 #define NAKCIVOID(opt, neg, code) \ in lcp_nakci() argument
789 #define NAKCICHAP(opt, neg, code) \ in lcp_nakci() argument
801 #define NAKCICHAR(opt, neg, code) \ in lcp_nakci() argument
812 #define NAKCISHORT(opt, neg, code) \ in lcp_nakci() argument
823 #define NAKCILONG(opt, neg, code) \ in lcp_nakci() argument
[all …]
H A Dfsm.c385 u_char code, id; in fsm_input() local
464 int code, reject_if_disagree; in fsm_rconfreq() local
594 fsm_rconfnakrej(fsm *f, int code, int id, u_char *inp, int len) in fsm_rconfnakrej()
654 fsm_rtermreq(fsm *f, int id, u_char *p, int len) in fsm_rtermreq()
735 u_char code, id; in fsm_rcoderej() local
867 fsm_sdata( fsm *f, u_char code, u_char id, u_char *data, int datalen) in fsm_sdata()
H A Dchap.c367 u_char code, id; in ChapInput() local
525 int code; in ChapReceiveResponse() local
746 ChapSendStatus(chap_state *cstate, int code) in ChapSendStatus()
849 ChapPrintPkt( u_char *p, int plen, void (*printer) (void *, char *, ...), void *arg) in ChapPrintPkt()
851 int code, id, len; in ChapPrintPkt() local
H A Dipcp.c258 ipcp_input(int unit, u_char *p, int len) in ipcp_input()
425 ipcp_ackci(fsm *f, u_char *p, int len) in ipcp_ackci()
545 ipcp_nakci(fsm *f, u_char *p, int len) in ipcp_nakci()
563 #define NAKCIADDR(opt, neg, old, code) \ in ipcp_nakci() argument
583 #define NAKCIVJ(opt, neg, code) \ in ipcp_nakci() argument
595 #define NAKCIDNS(opt, neg, code) \ in ipcp_nakci() argument
750 ipcp_rejci(fsm *f, u_char *p, int len) in ipcp_rejci()
886 u_char *p; /* Pointer to next char to parse */ in ipcp_reqci() local
1350 ipcp_printpkt(u_char *p, int plen, void (*printer) (void *, char *, ...), void *arg) in ipcp_printpkt()
H A Dpap.c338 u_char code, id; in upap_input() local
584 upap_sresp(upap_state *u, u_char code, u_char id, char *msg, int msglen) in upap_sresp()
612 u_char *p, in upap_printpkt()
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/ipv6/
H A Dicmp6.c81 icmp6_input(struct pbuf *p, struct netif *inp) in icmp6_input()
217 icmp6_dest_unreach(struct pbuf *p, enum icmp6_dur_code c) in icmp6_dest_unreach()
230 icmp6_packet_too_big(struct pbuf *p, u32_t mtu) in icmp6_packet_too_big()
243 icmp6_time_exceeded(struct pbuf *p, enum icmp6_te_code c) in icmp6_time_exceeded()
257 icmp6_param_problem(struct pbuf *p, enum icmp6_pp_code c, u32_t pointer) in icmp6_param_problem()
272 icmp6_send_response(struct pbuf *p, u8_t code, u32_t data, u8_t type) in icmp6_send_response()
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/apps/snmp/
H A Dsnmp_msg.c272 snmp_receive(void *handle, struct pbuf *p, const ip_addr_t *source_ip, u16_t port) in snmp_receive()
734 #define PARSE_EXEC(code, retValue) \ argument
748 #define BUILD_EXEC(code, retValue) \ argument
754 #define IF_PARSE_EXEC(code) PARSE_EXEC(code, ERR_ARG) argument
755 #define IF_PARSE_ASSERT(code) PARSE_ASSERT(code, ERR_ARG) argument
1265 #define OF_BUILD_EXEC(code) BUILD_EXEC(code, ERR_ARG) argument
1529 #define OVB_BUILD_EXEC(code) BUILD_EXEC(code, ERR_ARG) argument
1854 snmp_vb_enumerator_init(struct snmp_varbind_enumerator *enumerator, struct pbuf *p, u16_t offset, u… in snmp_vb_enumerator_init()
1860 #define VB_PARSE_EXEC(code) PARSE_EXEC(code, SNMP_VB_ENUMERATOR_ERR_ASN1ERROR) argument
1861 #define VB_PARSE_ASSERT(code) PARSE_ASSERT(code, SNMP_VB_ENUMERATOR_ERR_ASN1ERROR) argument
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/snmp/
H A Dasn1_enc.c181 snmp_asn1_enc_type(struct pbuf *p, u16_t ofs, u8_t type) in snmp_asn1_enc_type()
213 snmp_asn1_enc_length(struct pbuf *p, u16_t ofs, u16_t length) in snmp_asn1_enc_length()
308 snmp_asn1_enc_u32t(struct pbuf *p, u16_t ofs, u16_t octets_needed, u32_t value) in snmp_asn1_enc_u32t()
384 snmp_asn1_enc_s32t(struct pbuf *p, u16_t ofs, u16_t octets_needed, s32_t value) in snmp_asn1_enc_s32t()
438 snmp_asn1_enc_oid(struct pbuf *p, u16_t ofs, u8_t ident_len, s32_t *ident) in snmp_asn1_enc_oid()
499 u8_t code; in snmp_asn1_enc_oid() local
562 snmp_asn1_enc_raw(struct pbuf *p, u16_t ofs, u16_t raw_len, u8_t *raw) in snmp_asn1_enc_raw()

12