| /lib/liblwip/src/include/lwip/ |
| D | api_msg.h | 74 u8_t proto; 85 u8_t local; 91 u8_t apiflags; 102 u8_t shut; 114 u8_t backlog;
|
| D | raw.h | 60 typedef u8_t (*raw_recv_fn)(void *arg, struct raw_pcb *pcb, struct pbuf *p, 69 u8_t protocol; 79 struct raw_pcb * raw_new (u8_t proto); 89 u8_t raw_input (struct pbuf *p, struct netif *inp);
|
| D | api.h | 182 u8_t flags; 215 netconn *netconn_new_with_proto_and_callback(enum netconn_type t, u8_t proto, 222 u16_t *port, u8_t local); 229 err_t netconn_listen_with_backlog(struct netconn *conn, u8_t backlog); 239 u8_t apiflags, size_t *bytes_written); 243 err_t netconn_shutdown(struct netconn *conn, u8_t shut_rx, u8_t shut_tx);
|
| D | tcp_impl.h | 66 struct tcp_pcb * tcp_alloc (u8_t prio); 188 #define TF_RESET (u8_t)0x08U /* Connection was reset. */ 189 #define TF_CLOSED (u8_t)0x10U /* Connection was sucessfully closed. */ 190 #define TF_GOT_FIN (u8_t)0x20U /* Connection was closed by the remote end. */ 288 u8_t chksum_swapped; 290 u8_t flags; 291 #define TF_SEG_OPTS_MSS (u8_t)0x01U /* Include MSS option. */ 292 #define TF_SEG_OPTS_TS (u8_t)0x02U /* Include timestamp option. */ 293 #define TF_SEG_DATA_CHECKSUMMED (u8_t)0x04U /* ALL data (not the header) is 308 extern u8_t tcp_active_pcbs_changed; [all …]
|
| D | udp.h | 99 u8_t flags; 142 struct netif *netif, u8_t have_chksum, 146 u8_t have_chksum, u16_t chksum); 148 u8_t have_chksum, u16_t chksum);
|
| D | sys.h | 45 typedef u8_t sys_sem_t; 46 typedef u8_t sys_mutex_t; 47 typedef u8_t sys_mbox_t; 139 err_t sys_sem_new(sys_sem_t *sem, u8_t count);
|
| D | dns.h | 108 void dns_setserver(u8_t numdns, ip_addr_t *dnsserver); 109 ip_addr_t dns_getserver(u8_t numdns);
|
| /lib/liblwip/src/include/netif/ |
| D | slipif.h | 72 void slipif_received_byte(struct netif *netif, u8_t data); 73 void slipif_received_bytes(struct netif *netif, u8_t *data, u8_t len);
|
| D | ppp_oe.h | 84 PACK_STRUCT_FIELD(u8_t vertype); 85 PACK_STRUCT_FIELD(u8_t code); 161 u8_t sc_ac_cookie[PPPOE_MAX_AC_COOKIE_LEN]; /* content of AC cookie we must echo back */ 164 u8_t *sc_hunique; /* content of host unique we must echo back */
|
| D | etharp.h | 60 PACK_STRUCT_FIELD(u8_t addr[ETHARP_HWADDR_LEN]); 74 PACK_STRUCT_FIELD(u8_t padding[ETH_PAD_SIZE]); 118 PACK_STRUCT_FIELD(u8_t hwlen); 119 PACK_STRUCT_FIELD(u8_t protolen);
|
| /lib/liblwip/test/unit/tcp/ |
| D | tcp_helper.h | 25 u8_t copy_tx_packets; 34 u32_t seqno, u32_t ackno, u8_t headerflags); 36 u32_t seqno_offset, u32_t ackno_offset, u8_t headerflags); 38 u32_t seqno_offset, u32_t ackno_offset, u8_t headerflags, u16_t wnd);
|
| /lib/liblwip/src/include/ipv4/lwip/ |
| D | igmp.h | 80 u8_t last_reporter_flag; 82 u8_t group_state; 86 u8_t use;
|
| D | ip_addr.h | 203 u8_t ip4_addr_isbroadcast(u32_t addr, const struct netif *netif); 206 u8_t ip4_addr_netmask_valid(u32_t netmask); 220 #define ip4_addr1(ipaddr) (((u8_t*)(ipaddr))[0]) 221 #define ip4_addr2(ipaddr) (((u8_t*)(ipaddr))[1]) 222 #define ip4_addr3(ipaddr) (((u8_t*)(ipaddr))[2]) 223 #define ip4_addr4(ipaddr) (((u8_t*)(ipaddr))[3])
|
| D | ip_frag.h | 59 u8_t flags; 60 u8_t timer;
|
| /lib/liblwip/src/core/snmp/ |
| D | mib_structs.c | 55 u8_t r_nl; 57 static u8_t node_stack_cnt; 452 snmp_search_tree(struct mib_node *node, u8_t ident_len, s32_t *ident, struct snmp_name_ptr *np) in snmp_search_tree() 454 u8_t node_type, ext_level; in snmp_search_tree() 639 static u8_t 642 u8_t node_type; in empty_table() 643 u8_t empty = 0; in empty_table() 683 snmp_expand_tree(struct mib_node *node, u8_t ident_len, s32_t *ident, struct snmp_obj_id *oidret) in snmp_expand_tree() 685 u8_t node_type, ext_level, climb_tree; in snmp_expand_tree() 740 u8_t j; in snmp_expand_tree() [all …]
|
| D | msg_in.c | 74 u8_t i; in snmp_init() 106 snmp_error_response(struct snmp_msg_pstat *msg_ps, u8_t error) in snmp_error_response() 162 snmp_msg_get_event(u8_t request_id, struct snmp_msg_pstat *msg_ps) in snmp_msg_get_event() 214 vb->value_len = (u8_t)msg_ps->ext_object_def.v_len; in snmp_msg_get_event() 327 vb->value_len = (u8_t)object_def.v_len; in snmp_msg_get_event() 393 snmp_msg_getnext_event(u8_t request_id, struct snmp_msg_pstat *msg_ps) in snmp_msg_getnext_event() 429 (u8_t)msg_ps->ext_object_def.v_len); in snmp_msg_getnext_event() 502 vb = snmp_varbind_alloc(&oid, object_def.asn_type, (u8_t)object_def.v_len); in snmp_msg_getnext_event() 538 snmp_msg_set_event(u8_t request_id, struct snmp_msg_pstat *msg_ps) in snmp_msg_set_event() 797 snmp_msg_event(u8_t request_id) in snmp_msg_event() [all …]
|
| /lib/liblwip/src/core/ipv6/ |
| D | inet6.c | 67 acc += htons((u16_t)(*(u8_t *)dataptr) << 8); in chksum() 82 u8_t proto, u32_t proto_len) in inet_chksum_pseudo() 86 u8_t swapped, i; in inet_chksum_pseudo() 144 u8_t swapped; in inet_chksum_pbuf()
|
| D | ip6_addr.c | 37 u8_t 48 u8_t 67 u8_t
|
| D | ip6.c | 261 u8_t ttl, in ip_output_if() 262 u8_t proto, struct netif *netif) in ip_output_if() 318 u8_t ttl, u8_t proto) in ip_output() 333 u8_t ttl, u8_t tos, u8_t proto, u8_t *addr_hint) in ip_output_hinted()
|
| /lib/liblwip/src/netif/ |
| D | etharp.c | 116 u8_t state; 117 u8_t ctime; 123 static u8_t etharp_cached_entry; 208 u8_t i; in etharp_tmr() 213 u8_t state = arp_table[i].state; in etharp_tmr() 266 etharp_find_entry(ip_addr_t *ipaddr, u8_t flags) in etharp_find_entry() 270 u8_t i = 0, age_pending = 0, age_stable = 0; in etharp_find_entry() 274 u8_t age_queue = 0; in etharp_find_entry() 292 u8_t state = arp_table[i].state; in etharp_find_entry() 448 etharp_update_arp_entry(struct netif *netif, ip_addr_t *ipaddr, struct eth_addr *ethaddr, u8_t flag… [all …]
|
| /lib/liblwip/src/netif/ppp/ |
| D | ppp_oe.c | 89 *(PTR)++ = (u8_t)((VAL) / 256); \ 90 *(PTR)++ = (u8_t)((VAL) % 256) 134 static err_t pppoe_send_padt(struct netif *, u_int, const u8_t *); 138 static struct pppoe_softc * pppoe_find_softc_by_hunique(u8_t *, size_t, struct netif *); 239 pppoe_find_softc_by_hunique(u8_t *token, size_t len, struct netif *rcvif) in pppoe_find_softc_by_hunique() 292 u8_t *ac_cookie; in pppoe_dispatch_disc_pkt() 295 u8_t *hunique; in pppoe_dispatch_disc_pkt() 347 MEMCPY(&pt, (u8_t*)pb->payload + off, sizeof(pt)); in pppoe_dispatch_disc_pkt() 366 hunique = (u8_t*)pb->payload + off + sizeof(pt); in pppoe_dispatch_disc_pkt() 369 sc = pppoe_find_softc_by_hunique((u8_t*)pb->payload + off + sizeof(pt), len, netif); in pppoe_dispatch_disc_pkt() [all …]
|
| /lib/liblwip/src/include/ipv6/lwip/ |
| D | ip_addr.h | 76 u8_t ip_addr_netcmp(struct ip_addr *addr1, struct ip_addr *addr2, 78 u8_t ip_addr_cmp(struct ip_addr *addr1, struct ip_addr *addr2); 80 u8_t ip_addr_isany(struct ip_addr *addr);
|
| /lib/liblwip/src/core/ |
| D | dhcp.c | 133 u8_t dhcp_rx_options_given[DHCP_OPTION_IDX_MAX]; 137 static u8_t xid_initialised; 157 static void dhcp_set_state(struct dhcp *dhcp, u8_t new_state); 169 static err_t dhcp_create_msg(struct netif *netif, struct dhcp *dhcp, u8_t message_type); 173 static void dhcp_option(struct dhcp *dhcp, u8_t option_type, u8_t option_len); 175 static void dhcp_option_byte(struct dhcp *dhcp, u8_t value); 512 u8_t n; in dhcp_handle_ack() 975 u8_t first_octet = ip4_addr1(&dhcp->offered_ip_addr); in dhcp_bind() 1253 dhcp_set_state(struct dhcp *dhcp, u8_t new_state) in dhcp_set_state() 1268 dhcp_option(struct dhcp *dhcp, u8_t option_type, u8_t option_len) in dhcp_option() [all …]
|
| D | tcp_out.c | 159 tcp_create_segment(struct tcp_pcb *pcb, struct pbuf *p, u8_t flags, u32_t seqno, u8_t optflags) in tcp_create_segment() 162 u8_t optlen = LWIP_TCP_OPT_LENGTH(optflags); in tcp_create_segment() 220 u16_t *oversize, struct tcp_pcb *pcb, u8_t apiflags, in tcp_pbuf_prealloc() 221 u8_t first_seg) in tcp_pbuf_prealloc() 273 u8_t *seg_chksum_swapped) in tcp_seg_add_chksum() 354 tcp_write(struct tcp_pcb *pcb, const void *arg, u16_t len, u8_t apiflags) in tcp_write() 360 u8_t optlen = 0; in tcp_write() 361 u8_t optflags = 0; in tcp_write() 368 u8_t concat_chksum_swapped = 0; in tcp_write() 485 …TCP_DATA_COPY2(concat_p->payload, (u8_t*)arg + pos, seglen, &concat_chksum, &concat_chksum_swapped… in tcp_write() [all …]
|
| /lib/liblwip/src/core/ipv4/ |
| D | ip.c | 458 struct udp_hdr *udphdr = (struct udp_hdr *)((u8_t *)iphdr + iphdr_hlen); 642 u8_t ttl, u8_t tos, 643 u8_t proto, struct netif *netif) 656 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, 819 u8_t ttl, u8_t tos, u8_t proto) 858 u8_t ttl, u8_t tos, u8_t proto, u8_t *addr_hint)
|