/lk-master/external/lib/lwip/include/lwip/ |
A D | snmp_asn1.h | 78 err_t snmp_asn1_dec_length(struct pbuf *p, u16_t ofs, u8_t *octets_used, u16_t *length); 79 err_t snmp_asn1_dec_u32t(struct pbuf *p, u16_t ofs, u16_t len, u32_t *value); 80 err_t snmp_asn1_dec_s32t(struct pbuf *p, u16_t ofs, u16_t len, s32_t *value); 81 err_t snmp_asn1_dec_oid(struct pbuf *p, u16_t ofs, u16_t len, struct snmp_obj_id *oid); 82 err_t snmp_asn1_dec_raw(struct pbuf *p, u16_t ofs, u16_t len, u16_t raw_len, u8_t *raw); 85 void snmp_asn1_enc_u32t_cnt(u32_t value, u16_t *octets_needed); 86 void snmp_asn1_enc_s32t_cnt(s32_t value, u16_t *octets_needed); 89 err_t snmp_asn1_enc_length(struct pbuf *p, u16_t ofs, u16_t length); 90 err_t snmp_asn1_enc_u32t(struct pbuf *p, u16_t ofs, u16_t octets_needed, u32_t value); 91 err_t snmp_asn1_enc_s32t(struct pbuf *p, u16_t ofs, u16_t octets_needed, s32_t value); [all …]
|
A D | pbuf.h | 93 u16_t tot_len; 96 u16_t len; 109 u16_t ref; 150 u16_t payload_mem_len); 152 void pbuf_realloc(struct pbuf *p, u16_t size); 161 u16_t pbuf_copy_partial(struct pbuf *p, void *dataptr, u16_t len, u16_t offset); 166 u16_t len, u16_t *chksum); 169 u8_t pbuf_get_at(struct pbuf* p, u16_t offset); 170 u16_t pbuf_memcmp(struct pbuf* p, u16_t offset, const void* s2, u16_t n); 171 u16_t pbuf_memfind(struct pbuf* p, const void* mem, u16_t mem_len, u16_t start_offset); [all …]
|
A D | snmp_structs.h | 81 u16_t v_len; 114 u8_t (*set_test)(struct obj_def *od, u16_t len, void *value); 120 u16_t maxlength; 133 u8_t (*set_test)(struct obj_def *od, u16_t len, void *value); 137 u16_t maxlength; 151 u8_t (*set_test)(struct obj_def *od, u16_t len, void *value); 155 u16_t maxlength; 181 u16_t maxlength; 187 u16_t count; 201 u16_t maxlength; [all …]
|
A D | snmp_msg.h | 105 u16_t seqlen; 107 u16_t olen; 109 u16_t vlen; 121 u16_t seqlen; 147 u16_t ridlen; 149 u16_t pdulen; 151 u16_t comlen; 153 u16_t verlen; 155 u16_t seqlen; 181 u16_t tslen; [all …]
|
A D | udp.h | 56 PACK_STRUCT_FIELD(u16_t src); 57 PACK_STRUCT_FIELD(u16_t dest); /* src/dest UDP ports */ 58 PACK_STRUCT_FIELD(u16_t len); 59 PACK_STRUCT_FIELD(u16_t chksum); 88 ip_addr_t *addr, u16_t port); 101 u16_t local_port, remote_port; 110 u16_t chksum_len_rx, chksum_len_tx; 126 u16_t port); 128 u16_t port); 143 u16_t chksum); [all …]
|
A D | tcp.h | 87 u16_t len); 164 u16_t local_port 175 u16_t remote_port; 204 u16_t mss; /* maximum segment size */ 219 u16_t cwnd; 220 u16_t ssthresh; 227 u16_t snd_wnd; /* sender window */ 230 u16_t acked; 238 u16_t unsent_oversize; 310 u16_t size, [all …]
|
A D | netbuf.h | 51 u16_t port; 56 u16_t toport_chksum; 66 void * netbuf_alloc (struct netbuf *buf, u16_t size); 69 const void *dataptr, u16_t size); 74 void **dataptr, u16_t *len);
|
A D | tcp_impl.h | 160 PACK_STRUCT_FIELD(u16_t src); 161 PACK_STRUCT_FIELD(u16_t dest); 164 PACK_STRUCT_FIELD(u16_t _hdrlen_rsvd_flags); 165 PACK_STRUCT_FIELD(u16_t wnd); 166 PACK_STRUCT_FIELD(u16_t chksum); 167 PACK_STRUCT_FIELD(u16_t urgp); 178 …phdr)->_hdrlen_rsvd_flags = (((phdr)->_hdrlen_rsvd_flags & PP_HTONS((u16_t)(~(u16_t)(TCP_FLAGS))))… 280 u16_t len; /* the TCP length of this segment */ 287 u16_t chksum; 446 u16_t local_port, u16_t remote_port); [all …]
|
A D | dhcp.h | 48 u16_t options_out_len; /* outgoing msg options length */ 49 u16_t request_timeout; /* #ticks with period DHCP_FINE_TIMER_SECS for request timeout */ 50 u16_t t1_timeout; /* #ticks with period DHCP_COARSE_TIMER_SECS for renewal time */ 51 u16_t t2_timeout; /* #ticks with period DHCP_COARSE_TIMER_SECS for rebind time */ 81 PACK_STRUCT_FIELD(u16_t secs); 82 PACK_STRUCT_FIELD(u16_t flags);
|
A D | def.h | 99 u16_t lwip_htons(u16_t x); 100 u16_t lwip_ntohs(u16_t x);
|
/lk-master/external/lib/lwip/core/ipv4/ |
A D | inet_chksum.c | 80 static u16_t 84 u16_t src; in lwip_standard_chksum() 134 static u16_t 190 static u16_t 271 u16_t 331 u16_t 334 u8_t proto, u16_t proto_len, u16_t chksum_len) in inet_chksum_pseudo_partial() 340 u16_t chklen; in inet_chksum_pseudo_partial() 395 u16_t 408 u16_t [all …]
|
/lk-master/external/lib/lwip/include/ipv4/lwip/ |
A D | inet_chksum.h | 73 u16_t inet_chksum(void *dataptr, u16_t len); 74 u16_t inet_chksum_pbuf(struct pbuf *p); 75 u16_t inet_chksum_pseudo(struct pbuf *p, 77 u8_t proto, u16_t proto_len); 78 u16_t inet_chksum_pseudo_partial(struct pbuf *p, 80 u8_t proto, u16_t proto_len, u16_t chksum_len); 82 u16_t lwip_chksum_copy(void *dst, const void *src, u16_t len);
|
/lk-master/external/lib/lwip/core/ipv6/ |
A D | inet6.c | 55 chksum(void *dataptr, u16_t len) in chksum() 57 u16_t *sdataptr = dataptr; in chksum() 79 u16_t 106 acc += ((u16_t *)src->addr)[i] & 0xffff; in inet_chksum_pseudo() 107 acc += ((u16_t *)dest->addr)[i] & 0xffff; in inet_chksum_pseudo() 112 acc += (u16_t)htons((u16_t)proto); in inet_chksum_pseudo() 113 acc += ((u16_t *)&proto_len)[0] & 0xffff; in inet_chksum_pseudo() 114 acc += ((u16_t *)&proto_len)[1] & 0xffff; in inet_chksum_pseudo() 128 u16_t 129 inet_chksum(void *dataptr, u16_t len) in inet_chksum() [all …]
|
/lk-master/external/lib/lwip/include/ipv6/lwip/ |
A D | inet.h | 43 u16_t inet_chksum(void *data, u16_t len); 44 u16_t inet_chksum_pbuf(struct pbuf *p); 45 u16_t inet_chksum_pseudo(struct pbuf *p, 55 u16_t htons(u16_t n); 56 u16_t ntohs(u16_t n);
|
A D | icmp.h | 74 u16_t chksum; 75 u16_t id; 76 u16_t seqno; 82 u16_t chksum; 89 u16_t chksum;
|
/lk-master/external/lib/lwip/netif/ppp/ |
A D | auth.h | 73 void np_up (int, u16_t); 76 void np_down (int, u16_t); 79 void np_finished (int, u16_t); 82 void auth_peer_fail (int, u16_t); 85 void auth_peer_success (int, u16_t, char *, int); 88 void auth_withpeer_fail (int, u16_t); 91 void auth_withpeer_success (int, u16_t);
|
/lk-master/external/lib/lwip/core/ |
A D | pbuf.c | 210 u16_t offset; in pbuf_alloc() 513 u16_t type; in pbuf_header() 620 u16_t type; in pbuf_free() 917 u16_t 921 u16_t left; in pbuf_copy_partial() 1043 u16_t len, u16_t *chksum) in pbuf_fill_chksum() 1103 u16_t 1116 u16_t i; in pbuf_memcmp() 1139 u16_t 1142 u16_t i; in pbuf_memfind() [all …]
|
A D | def.c | 63 u16_t 64 lwip_htons(u16_t n) in lwip_htons() 75 u16_t 76 lwip_ntohs(u16_t n) in lwip_ntohs()
|
A D | tcp_out.c | 94 tcp_output_alloc_header(struct tcp_pcb *pcb, u16_t optlen, u16_t datalen, in tcp_output_alloc_header() 219 tcp_pbuf_prealloc(pbuf_layer layer, u16_t length, u16_t max_length, in tcp_pbuf_prealloc() 272 tcp_seg_add_chksum(u16_t chksum, u16_t len, u16_t *seg_chksum, in tcp_seg_add_chksum() 359 u16_t queuelen; in tcp_write() 363 u16_t oversize = 0; in tcp_write() 423 u16_t space; in tcp_write() 528 u16_t chksum = 0; in tcp_write() 1051 u16_t len; in tcp_output_segment() 1071 u16_t mss; in tcp_output_segment() 1197 u16_t local_port, u16_t remote_port) in tcp_rst() [all …]
|
A D | dns.c | 131 PACK_STRUCT_FIELD(u16_t id); 135 PACK_STRUCT_FIELD(u16_t numanswers); 136 PACK_STRUCT_FIELD(u16_t numauthrr); 137 PACK_STRUCT_FIELD(u16_t numextrarr); 150 u16_t type; 151 u16_t cls; 160 u16_t type; 161 u16_t cls; 163 u16_t len; 735 u16_t i; in dns_recv() [all …]
|
/lk-master/external/lib/lwip/core/snmp/ |
A D | asn1_enc.c | 77 snmp_asn1_enc_u32t_cnt(u32_t value, u16_t *octets_needed) in snmp_asn1_enc_u32t_cnt() 183 u16_t plen, base; in snmp_asn1_enc_type() 213 snmp_asn1_enc_length(struct pbuf *p, u16_t ofs, u16_t length) in snmp_asn1_enc_length() 215 u16_t plen, base; 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() 310 u16_t plen, base; 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() 386 u16_t plen, base; in snmp_asn1_enc_s32t() 440 u16_t plen, base; in snmp_asn1_enc_oid() 562 snmp_asn1_enc_raw(struct pbuf *p, u16_t ofs, u16_t raw_len, u8_t *raw) in snmp_asn1_enc_raw() [all …]
|
A D | asn1_dec.c | 54 u16_t plen, base; in snmp_asn1_dec_type() 85 snmp_asn1_dec_length(struct pbuf *p, u16_t ofs, u8_t *octets_used, u16_t *length) in snmp_asn1_dec_length() 87 u16_t plen, base; in snmp_asn1_dec_length() 240 snmp_asn1_dec_u32t(struct pbuf *p, u16_t ofs, u16_t len, u32_t *value) in snmp_asn1_dec_u32t() 242 u16_t plen, base; in snmp_asn1_dec_u32t() 333 snmp_asn1_dec_s32t(struct pbuf *p, u16_t ofs, u16_t len, s32_t *value) in snmp_asn1_dec_s32t() 335 u16_t plen, base; in snmp_asn1_dec_s32t() 429 snmp_asn1_dec_oid(struct pbuf *p, u16_t ofs, u16_t len, struct snmp_obj_id *oid) in snmp_asn1_dec_oid() 431 u16_t plen, base; in snmp_asn1_dec_oid() 596 snmp_asn1_dec_raw(struct pbuf *p, u16_t ofs, u16_t len, u16_t raw_len, u8_t *raw) in snmp_asn1_dec_raw() [all …]
|
A D | msg_out.c | 117 u16_t tot_len; in snmp_send_response() 142 u16_t ofs; in snmp_send_response() 311 static u16_t 314 u16_t tot_len; in snmp_resp_header_sum() 358 static u16_t 413 static u16_t 479 static u16_t 482 u16_t ofs; in snmp_resp_header_enc() 536 static u16_t 539 u16_t ofs; in snmp_trap_header_enc() [all …]
|
/lk-master/external/lib/lwip/include/netif/ |
A D | etharp.h | 78 PACK_STRUCT_FIELD(u16_t type); 97 PACK_STRUCT_FIELD(u16_t prio_vid); 98 PACK_STRUCT_FIELD(u16_t tpid); 116 PACK_STRUCT_FIELD(u16_t hwtype); 117 PACK_STRUCT_FIELD(u16_t proto); 120 PACK_STRUCT_FIELD(u16_t opcode); 205 const u16_t opcode);
|
A D | ppp_oe.h | 86 PACK_STRUCT_FIELD(u16_t session); 87 PACK_STRUCT_FIELD(u16_t plen); 99 PACK_STRUCT_FIELD(u16_t tag); 100 PACK_STRUCT_FIELD(u16_t len); 155 u16_t sc_session; /* PPPoE session id */
|