/third_party/lwip/src/include/lwip/ |
H A D | netif.h | 3 * netif API (to be used from TCPIP thread) 69 /** The size of a fully constructed netif name which the 70 * netif can be identified by in APIs. Composed of 77 * @ingroup netif 84 * It must be set by the startup code before this netif can be used 88 /** If set, the netif has broadcast capability. 89 * Set by the netif driver in its init function. */ 93 * Either set by the netif driver in its init function (if the link 97 /** If set, the netif is an ethernet device using ARP. 98 * Set by the netif drive 263 struct netif { global() struct [all...] |
H A D | dhcp.h | 45 #include "lwip/netif.h" 143 void dhcp_set_struct(struct netif *netif, struct dhcp *dhcp); 144 /** Remove a struct dhcp previously set to the netif using dhcp_set_struct() */ 145 #define dhcp_remove_struct(netif) netif_set_client_data(netif, LWIP_NETIF_CLIENT_DATA_INDEX_DHCP, NULL) 146 void dhcp_cleanup(struct netif *netif); 147 err_t dhcp_start(struct netif *netif); [all...] |
H A D | autoip.h | 48 #include "lwip/netif.h" 60 /** AutoIP state information per netif */ 78 void autoip_set_struct(struct netif *netif, struct autoip *autoip); 79 /** Remove a struct autoip previously set to the netif using autoip_set_struct() */ 80 #define autoip_remove_struct(netif) do { (netif)->autoip = NULL; } while (0) 81 err_t autoip_start(struct netif *netif); 82 err_t autoip_stop(struct netif *neti [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/ |
H A D | netif.h | 3 * netif API (to be used from TCPIP thread) 52 #include "netif/etharp.h" 53 #include "netif/driverif.h" 77 * @ingroup netif 84 * It must be set by the startup code before this netif can be used 88 /** If set, the netif has broadcast capability. 89 * Set by the netif driver in its init function. */ 93 * Either set by the netif driver in its init function (if the link 97 /** If set, the netif is an ethernet device using ARP. 98 * Set by the netif drive 411 struct netif { global() struct [all...] |
H A D | netifapi.h | 3 * netif API (to be used from non-TCPIP threads) 42 #include "lwip/netif.h" 61 typedef void (*netifapi_void_fn)(struct netif *netif); 62 typedef err_t (*netifapi_arg_fn)(struct netif *netif, void *arg); 64 typedef err_t (*netifapi_errt_fn)(struct netif *netif); 77 struct netif *p_netif; 83 struct netif *neti member [all...] |
H A D | nd6.h | 94 struct netif; 96 void nd6_remove_netif_neighbor_cache_entries(struct netif *netif); 109 void nd6_input(struct pbuf *p, struct netif *inp); 110 void nd6_rs_input(struct pbuf *p, struct netif *inp, u8_t flags); 111 err_t nd6_send_ra(struct netif *netif, const ip6_addr_t *target_addr, u8_t flags); 113 struct netif *nd6_find_route(const ip6_addr_t *ip6addr); 114 err_t nd6_get_next_hop_addr_or_queue(struct netif *netif, struc [all...] |
H A D | dhcp.h | 45 #include "lwip/netif.h" 126 #define DHCP_MAX_MSG_LEN(netif) (netif->mtu) 229 /* cli_idx = LWIP_DHCP_NATIVE_IDX always means the client for the netif */ 266 struct netif *netif; member 276 void dhcp_set_struct(struct netif *netif, struct dhcp *dhcp); 277 /* Remove a struct dhcp previously set to the netif using dhcp_set_struct() */ 278 void dhcp_remove_struct(struct netif *neti [all...] |
H A D | etharp.h | 5 * To be used in most low-level netif implementations 51 #include "lwip/netif.h" 119 struct netif *netif; member 127 s8_t etharp_find_addr(struct netif *netif, const ip4_addr_t *ipaddr, 131 u8_t etharp_get_entry(u8_t i, ip4_addr_t **ipaddr, struct netif **netif, struct eth_addr **eth_ret); 133 err_t etharp_output(struct netif *netif, struc [all...] |
H A D | mld6.h | 51 #include "lwip/netif.h" 78 err_t mld6_stop(struct netif *netif); 79 void mld6_report_groups(struct netif *netif); 81 struct mld_group *mld6_lookfor_group(struct netif *ifp, const ip6_addr_t *addr); 82 void mld6_input(struct pbuf *p, struct netif *inp); 84 err_t mld6_joingroup_netif(struct netif *netif, const ip6_addr_t *groupaddr); 85 err_t mld6_join_staticgroup_netif(struct netif *neti [all...] |
H A D | autoip.h | 48 #include "lwip/netif.h" 59 /* AutoIP state information per netif */ 75 void autoip_set_struct(struct netif *netif, struct autoip *autoip); 76 /* Remove a struct autoip previously set to the netif using autoip_set_struct() */ 77 #define autoip_remove_struct(netif) do { (netif)->autoip = NULL; } while (0) 78 err_t autoip_start(struct netif *netif); 79 err_t autoip_stop(struct netif *neti [all...] |
/third_party/lwip/src/core/ |
H A D | netif.c | 5 * @defgroup netif Network interface (NETIF) 9 * @ingroup netif 12 * @ingroup netif 15 * Store data (void*) on a netif for application usage. 17 * @ingroup netif 59 #include "lwip/netif.h" 75 #include "netif/ethernet.h" 111 struct netif *netif_list; 113 struct netif *netif_default; 127 static void netif_issue_reports(struct netif *neti 146 get_net_group_from_netif(struct netif *netif) get_net_group_from_netif() argument 164 netif_loopif_init(struct netif *netif) netif_loopif_init() argument 279 netif_add_noaddr(struct netif *netif, struct net_group *group, void *state, netif_init_fn init, netif_input_fn input) netif_add_noaddr() argument 324 netif_add(struct netif *netif, struct net_group *group, const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, const ip4_addr_t *gw, void *state, netif_init_fn init, netif_input_fn input) global() argument 540 netif_do_set_ipaddr(struct netif *netif, const ip4_addr_t *ipaddr, ip_addr_t *old_addr) global() argument 583 netif_set_ipaddr(struct netif *netif, const ip4_addr_t *ipaddr) global() argument 606 netif_do_set_netmask(struct netif *netif, const ip4_addr_t *netmask, ip_addr_t *old_nm) global() argument 643 netif_set_netmask(struct netif *netif, const ip4_addr_t *netmask) global() argument 670 netif_do_set_gw(struct netif *netif, const ip4_addr_t *gw, ip_addr_t *old_gw) global() argument 704 netif_set_gw(struct netif *netif, const ip4_addr_t *gw) global() argument 741 netif_set_addr(struct netif *netif, const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, const ip4_addr_t *gw) global() argument 820 netif_remove(struct netif *netif) global() argument 929 netif_set_default(struct netif *netif, struct net_group *group) global() argument 954 netif_set_default2(struct netif *netif) global() argument 965 netif_set_up(struct netif *netif) global() argument 996 netif_issue_reports(struct netif *netif, u8_t report_type) global() argument 1040 netif_set_down(struct netif *netif) global() argument 1078 netif_set_status_callback(struct netif *netif, netif_status_callback_fn status_callback) global() argument 1094 netif_set_remove_callback(struct netif *netif, netif_status_callback_fn remove_callback) global() argument 1109 netif_set_link_up(struct netif *netif) global() argument 1147 netif_set_link_down(struct netif *netif) global() argument 1176 netif_set_link_callback(struct netif *netif, netif_status_callback_fn link_callback) global() argument 1203 netif_loop_output(struct netif *netif, struct pbuf *p) global() argument 1313 netif_loop_output_ipv4(struct netif *netif, struct pbuf *p, const ip4_addr_t *addr) global() argument 1322 netif_loop_output_ipv6(struct netif *netif, struct pbuf *p, const ip6_addr_t *addr) global() argument 1338 netif_poll(struct netif *netif) global() argument 1414 struct netif *netif; global() local 1458 netif_ip6_addr_set(struct netif *netif, s8_t addr_idx, const ip6_addr_t *addr6) global() argument 1480 netif_ip6_addr_set_parts(struct netif *netif, s8_t addr_idx, u32_t i0, u32_t i1, u32_t i2, u32_t i3) global() argument 1497 ip6_addr_assign_zone(ip_2_ip6(&new_ipaddr), IP6_UNICAST, netif); global() local 1537 netif_ip6_addr_set_state(struct netif *netif, s8_t addr_idx, u8_t state) global() argument 1568 IP6_ADDR_ZONECHECK_NETIF(netif_ip6_addr(netif, addr_idx), netif); global() local 1608 netif_get_ip6_addr_match(struct netif *netif, const ip6_addr_t *ip6addr) global() argument 1641 netif_create_ip6_linklocal_address(struct netif *netif, u8_t from_mac_48bit) global() argument 1709 netif_add_ip6_address(struct netif *netif, const ip6_addr_t *ip6addr, s8_t *chosen_idx) global() argument 1749 netif_null_output_ip6(struct netif *netif, struct pbuf *p, const ip6_addr_t *ipaddr) global() argument 1763 netif_null_output_ip4(struct netif *netif, struct pbuf *p, const ip4_addr_t *ipaddr) global() argument 1783 struct netif *netif = netif_find(name); global() local 1807 struct netif *netif = netif_get_by_index(idx, group); global() local 1834 struct netif *netif; global() local 1865 struct netif *netif; global() local 1951 netif_invoke_ext_callback(struct netif *netif, netif_nsc_reason_t reason, const netif_ext_callback_args_t *args) global() argument [all...] |
/third_party/lwip/src/core/ipv4/ |
H A D | autoip.c | 66 #include "lwip/netif.h" 73 /** Pseudo random macro based on netif informations. 76 #define LWIP_AUTOIP_RAND(netif) ( (((u32_t)((netif->hwaddr[5]) & 0xff) << 24) | \ 77 ((u32_t)((netif->hwaddr[3]) & 0xff) << 16) | \ 78 ((u32_t)((netif->hwaddr[2]) & 0xff) << 8) | \ 79 ((u32_t)((netif->hwaddr[4]) & 0xff))) + \ 80 (netif_autoip_data(netif)? netif_autoip_data(netif)->tried_llipaddr : 0)) 88 #define LWIP_AUTOIP_CREATE_SEED_ADDR(netif) \ 106 autoip_set_struct(struct netif *netif, struct autoip *autoip) autoip_set_struct() argument 125 autoip_restart(struct netif *netif) autoip_restart() argument 136 autoip_handle_arp_conflict(struct netif *netif) autoip_handle_arp_conflict() argument 169 autoip_create_addr(struct netif *netif, ip4_addr_t *ipaddr) autoip_create_addr() argument 204 autoip_arp_probe(struct netif *netif) autoip_arp_probe() argument 217 autoip_arp_announce(struct netif *netif) autoip_arp_announce() argument 228 autoip_bind(struct netif *netif) autoip_bind() argument 255 autoip_start(struct netif *netif) autoip_start() argument 299 autoip_start_probing(struct netif *netif) autoip_start_probing() argument 333 autoip_network_changed(struct netif *netif) autoip_network_changed() argument 349 autoip_stop(struct netif *netif) autoip_stop() argument 368 struct netif *netif = NULL; autoip_tmr_tick() local 392 struct netif *netif; autoip_tmr() local 476 autoip_arp_reply(struct netif *netif, struct etharp_hdr *hdr) autoip_arp_reply() argument 534 autoip_supplied_address(const struct netif *netif) autoip_supplied_address() argument 544 autoip_accept_packet(struct netif *netif, const ip4_addr_t *addr) autoip_accept_packet() argument [all...] |
H A D | igmp.c | 93 #include "lwip/netif.h" 99 static struct igmp_group *igmp_lookup_group(struct netif *ifp, const ip4_addr_t *addr); 100 static err_t igmp_remove_group(struct netif *netif, struct igmp_group *group); 101 static void igmp_timeout(struct netif *netif, struct igmp_group *group); 104 static err_t igmp_ip_output_if(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, struct netif *netif); 105 static void igmp_send(struct netif *netif, struc 128 igmp_start(struct netif *netif) igmp_start() argument 160 igmp_stop(struct netif *netif) igmp_stop() argument 192 igmp_report_groups(struct netif *netif) igmp_report_groups() argument 295 igmp_remove_group(struct netif *netif, struct igmp_group *group) igmp_remove_group() argument 452 struct netif *netif; global() local 489 igmp_joingroup_netif(struct netif *netif, const ip4_addr_t *groupaddr) global() argument 553 struct netif *netif; global() local 589 igmp_leavegroup_netif(struct netif *netif, const ip4_addr_t *groupaddr) global() argument 651 struct netif *netif; global() local 676 struct netif *netif = NULL; global() local 704 igmp_timeout(struct netif *netif, struct igmp_group *group) global() argument 778 igmp_ip_output_if(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, struct netif *netif) global() argument 795 igmp_send(struct netif *netif, struct igmp_group *group, u8_t type) global() argument [all...] |
H A D | dhcp.c | 74 #include "lwip/netif.h" 89 #define LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, state, msg, msg_type, options_len_ptr) 92 #define LWIP_HOOK_DHCP_PARSE_OPTION(netif, dhcp, state, msg, msg_type, option, len, pbuf, offset) do { LWIP_UNUSED_ARG(msg); } while(0) 113 #define DHCP_MAX_MSG_LEN(netif) (netif->mtu) 197 static err_t dhcp_discover(struct netif *netif); 198 static err_t dhcp_select(struct netif *netif); 199 static void dhcp_bind(struct netif *neti 283 dhcp_handle_nak(struct netif *netif) dhcp_handle_nak() argument 309 dhcp_check(struct netif *netif) dhcp_check() argument 338 dhcp_handle_offer(struct netif *netif, struct dhcp_msg *msg_in) dhcp_handle_offer() argument 372 dhcp_select(struct netif *netif) dhcp_select() argument 438 struct netif *netif; global() local 476 struct netif *netif; global() local 509 struct netif *netif; global() local 539 struct netif *netif; global() local 572 dhcp_timeout(struct netif *netif) global() argument 619 dhcp_t1_timeout(struct netif *netif) global() argument 646 dhcp_t2_timeout(struct netif *netif) global() argument 672 dhcp_handle_ack(struct netif *netif, struct dhcp_msg *msg_in) global() argument 763 dhcp_set_struct(struct netif *netif, struct dhcp *dhcp) global() argument 785 dhcp_cleanup(struct netif *netif) global() argument 810 dhcp_start(struct netif *netif) global() argument 887 dhcp_inform(struct netif *netif) global() argument 931 dhcp_network_changed(struct netif *netif) global() argument 976 dhcp_arp_reply(struct netif *netif, const ip4_addr_t *addr) global() argument 1008 dhcp_decline(struct netif *netif) global() argument 1054 dhcp_discover(struct netif *netif) global() argument 1113 dhcp_bind(struct netif *netif) global() argument 1216 dhcp_renew(struct netif *netif) global() argument 1272 dhcp_rebind(struct netif *netif) global() argument 1326 dhcp_reboot(struct netif *netif) global() argument 1384 dhcp_release_and_stop(struct netif *netif) global() argument 1461 dhcp_release(struct netif *netif) global() argument 1473 dhcp_stop(struct netif *netif) global() argument 1540 dhcp_option_hostname(u16_t options_out_len, u8_t *options, struct netif *netif) global() argument 1825 struct netif *netif = ip_current_input_netif(); global() local 1943 dhcp_create_msg(struct netif *netif, struct dhcp *dhcp, u8_t message_type, u16_t *options_out_len) global() argument 2049 dhcp_supplied_address(const struct netif *netif) global() argument [all...] |
H A D | etharp.c | 56 #include "netif/ethernet.h" 99 struct netif *netif; member 120 #define ETHARP_SET_ADDRHINT(netif, addrhint) do { if (((netif) != NULL) && ((netif)->hints != NULL)) { \ 121 (netif)->hints->addr_hint = (addrhint); }} while(0) 123 #define ETHARP_SET_ADDRHINT(netif, addrhint) (etharp_cached_entry = (addrhint)) 133 static err_t etharp_request_dst(struct netif *netif, cons 285 etharp_find_entry(const ip4_addr_t *ipaddr, u8_t flags, struct netif *netif) etharp_find_entry() argument 451 etharp_update_arp_entry(struct netif *netif, const ip4_addr_t *ipaddr, struct eth_addr *ethaddr, u8_t flags) global() argument 534 struct netif *netif; global() local 591 etharp_cleanup_netif(struct netif *netif) global() argument 615 etharp_find_addr(struct netif *netif, const ip4_addr_t *ipaddr, struct eth_addr **eth_ret, const ip4_addr_t **ip_ret) global() argument 644 etharp_get_entry(size_t i, ip4_addr_t **ipaddr, struct netif **netif, struct eth_addr **eth_ret) global() argument 673 etharp_input(struct pbuf *p, struct netif *netif) global() argument 780 etharp_output_to_arp_index(struct netif *netif, struct pbuf *q, netif_addr_idx_t arp_idx) global() argument 823 etharp_output(struct netif *netif, struct pbuf *q, const ip4_addr_t *ipaddr) global() argument 965 etharp_query(struct netif *netif, const ip4_addr_t *ipaddr, struct pbuf *q) global() argument 1141 etharp_raw(struct netif *netif, const struct eth_addr *ethsrc_addr, const struct eth_addr *ethdst_addr, const struct eth_addr *hwsrc_addr, const ip4_addr_t *ipsrc_addr, const struct eth_addr *hwdst_addr, const ip4_addr_t *ipdst_addr, const u16_t opcode) global() argument 1221 etharp_request_dst(struct netif *netif, const ip4_addr_t *ipaddr, const struct eth_addr *hw_dst_addr) global() argument 1238 etharp_request(struct netif *netif, const ip4_addr_t *ipaddr) global() argument [all...] |
H A D | ip4.c | 50 #include "lwip/netif.h" 86 * netif is down. 110 /** The default netif used for multicast */ 111 static struct netif *ip4_default_multicast_netif; 115 * Set a default netif for IPv4 multicast. */ 117 ip4_set_default_multicast_netif(struct netif *default_multicast_netif) in ip4_set_default_multicast_netif() 128 struct netif * 137 struct netif *netif = LWIP_HOOK_IP4_ROUTE_SRC(src, dest); in ip4_route_src() local 138 if (netif ! in ip4_route_src() 167 struct netif *netif; global() local 316 struct netif *netif; global() local 407 ip4_input_accept(struct netif *netif) global() argument 462 struct netif *netif; global() local 828 ip4_output_if(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif) global() argument 843 ip4_output_if_opt(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, u16_t optlen) global() argument 868 ip4_output_if_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif) global() argument 881 ip4_output_if_opt_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, u16_t optlen) global() argument 1072 struct netif *netif; global() local 1114 struct netif *netif; global() local [all...] |
/third_party/lwip/src/netif/ |
H A D | slipif.c | 35 * This file is built upon the file: src/arch/rtxc/netif/sioslip.c 46 * This is an arch independent SLIP netif. The specific serial hooks must be 49 * Usage: This netif can be used in three ways:\n 53 * completed packets are fed into netif->input().\n 62 #include "netif/slipif.h" 77 /** Maximum packet size that is received by this netif */ 111 * @param netif the lwip network interface structure for this slipif 116 slipif_output(struct netif *netif, struct pbuf *p) in slipif_output() argument 123 LWIP_ASSERT("netif ! in slipif_output() 172 slipif_output_v4(struct netif *netif, struct pbuf *p, const ip4_addr_t *ipaddr) slipif_output_v4() argument 191 slipif_output_v6(struct netif *netif, struct pbuf *p, const ip6_addr_t *ipaddr) slipif_output_v6() argument 207 slipif_rxbyte(struct netif *netif, u8_t c) slipif_rxbyte() argument 310 slipif_rxbyte_input(struct netif *netif, u8_t c) slipif_rxbyte_input() argument 333 struct netif *netif = (struct netif *)nf; slipif_loop_thread() local 360 slipif_init(struct netif *netif) slipif_init() argument 426 slipif_poll(struct netif *netif) slipif_poll() argument 449 slipif_process_rxqueue(struct netif *netif) slipif_process_rxqueue() argument 488 slipif_rxbyte_enqueue(struct netif *netif, u8_t data) slipif_rxbyte_enqueue() argument 528 slipif_received_byte(struct netif *netif, u8_t data) slipif_received_byte() argument 547 slipif_received_bytes(struct netif *netif, u8_t *data, u8_t len) slipif_received_bytes() argument [all...] |
H A D | lowpan6_ble.c | 50 * - add this netif 58 * - call netif->input 69 #include "netif/lowpan6_ble.h" 76 #include "lwip/netif.h" 176 rfc7668_set_local_addr_eui64(struct netif *netif, const u8_t *local_addr, size_t local_addr_len) in rfc7668_set_local_addr_eui64() argument 178 /* netif not used for now, the address is stored globally... */ in rfc7668_set_local_addr_eui64() 179 LWIP_UNUSED_ARG(netif); in rfc7668_set_local_addr_eui64() 187 rfc7668_set_local_addr_mac48(struct netif *netif, cons argument 198 rfc7668_set_peer_addr_eui64(struct netif *netif, const u8_t *peer_addr, size_t peer_addr_len) rfc7668_set_peer_addr_eui64() argument 209 rfc7668_set_peer_addr_mac48(struct netif *netif, const u8_t *peer_addr, size_t peer_addr_len, int is_public_addr) rfc7668_set_peer_addr_mac48() argument 230 rfc7668_compress(struct netif *netif, struct pbuf *p) rfc7668_compress() argument 328 rfc7668_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr) rfc7668_output() argument 347 rfc7668_input(struct pbuf * p, struct netif *netif) rfc7668_input() argument 410 rfc7668_if_init(struct netif *netif) rfc7668_if_init() argument [all...] |
/third_party/lwip/doc/ |
H A D | NO_SYS_SampleCode.c | 22 netif_output(struct netif *netif, struct pbuf *p) in netif_output() argument 27 MIB2_STATS_NETIF_ADD(netif, ifoutoctets, p->tot_len); in netif_output() 30 MIB2_STATS_NETIF_INC(netif, ifoutucastpkts); in netif_output() 32 MIB2_STATS_NETIF_INC(netif, ifoutnucastpkts); in netif_output() 44 netif_status_callback(struct netif *netif) in netif_status_callback() argument 46 printf("netif status changed %s\n", ip4addr_ntoa(netif_ip4_addr(netif))); in netif_status_callback() 50 netif_init(struct netif *neti argument 68 struct netif netif; main() local [all...] |
/third_party/lwip/src/core/ipv6/ |
H A D | mld6.c | 10 * netif since it must always be received for correct IPv6 operation (e.g. SLAAC). 11 * Ensure the netif filters are configured accordingly!\n 12 * The netif flags also need NETIF_FLAG_MLD6 flag set to enable MLD6 on a 13 * netif ("netif->flags |= NETIF_FLAG_MLD6;").\n 66 #include "lwip/netif.h" 84 static struct mld_group *mld6_new_group(struct netif *ifp, const ip6_addr_t *addr); 85 static err_t mld6_remove_group(struct netif *netif, struct mld_group *group); 87 static void mld6_send(struct netif *neti 96 mld6_stop(struct netif *netif) mld6_stop() argument 125 mld6_report_groups(struct netif *netif) mld6_report_groups() argument 194 mld6_remove_group(struct netif *netif, struct mld_group *group) mld6_remove_group() argument 318 struct netif *netif; global() local 351 mld6_joingroup_netif(struct netif *netif, const ip6_addr_t *groupaddr) global() argument 411 struct netif *netif; global() local 445 mld6_leavegroup_netif(struct netif *netif, const ip6_addr_t *groupaddr) global() argument 506 struct netif *netif; global() local 538 struct netif *netif = NULL; global() local 604 mld6_send(struct netif *netif, struct mld_group *group, u8_t type) global() argument 663 MLD6_HL, 0, IP6_NEXTH_HOPBYHOP, netif); global() local [all...] |
H A D | nd6.c | 58 #include "lwip/netif.h" 112 static int nd6_is_prefix_in_netif(const ip6_addr_t *ip6addr, struct netif *netif); 113 static s8_t nd6_select_router(const ip6_addr_t *ip6addr, struct netif *netif); 114 static s8_t nd6_get_router(const ip6_addr_t *router_addr, struct netif *netif); 115 static s8_t nd6_new_router(const ip6_addr_t *router_addr, struct netif *netif); 116 static s8_t nd6_get_onlink_prefix(const ip6_addr_t *prefix, struct netif *neti 147 nd6_duplicate_addr_detected(struct netif *netif, s8_t addr_idx) nd6_duplicate_addr_detected() argument 186 nd6_process_autoconfig_prefix(struct netif *netif, struct prefix_option *prefix_opt, const ip6_addr_t *prefix_addr) nd6_process_autoconfig_prefix() argument 962 struct netif *netif; global() local 1176 struct netif *netif = NULL; global() local 1289 nd6_send_ns(struct netif *netif, const ip6_addr_t *target_addr, u8_t flags) global() argument 1374 nd6_send_na(struct netif *netif, const ip6_addr_t *target_addr, u8_t flags) global() argument 1449 nd6_send_rs(struct netif *netif) global() argument 1750 nd6_is_prefix_in_netif(const ip6_addr_t *ip6addr, struct netif *netif) global() argument 1790 nd6_select_router(const ip6_addr_t *ip6addr, struct netif *netif) global() argument 1864 struct netif *netif; global() local 1898 nd6_get_router(const ip6_addr_t *router_addr, struct netif *netif) global() argument 1925 nd6_new_router(const ip6_addr_t *router_addr, struct netif *netif) global() argument 1988 nd6_get_onlink_prefix(const ip6_addr_t *prefix, struct netif *netif) global() argument 2012 nd6_new_onlink_prefix(const ip6_addr_t *prefix, struct netif *netif) global() argument 2044 nd6_get_next_hop_entry(const ip6_addr_t *ip6addr, struct netif *netif) global() argument 2367 nd6_get_next_hop_addr_or_queue(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr, const u8_t **hwaddrp) global() argument 2408 nd6_get_destination_mtu(const ip6_addr_t *ip6addr, struct netif *netif) global() argument 2482 nd6_cleanup_netif(struct netif *netif) global() argument 2519 nd6_adjust_mld_membership(struct netif *netif, s8_t addr_idx, u8_t new_state) global() argument 2546 nd6_restart_netif(struct netif *netif) global() argument [all...] |
H A D | dhcp6.c | 16 * - only start requests if a valid local address is available on the netif 19 * dhcp6_enable_stateful() enables stateful DHCPv6 for a netif (stateless disabled)\n 20 * dhcp6_enable_stateless() enables stateless DHCPv6 for a netif (stateful disabled)\n 21 * dhcp6_disable() disable DHCPv6 for a netif 74 #define LWIP_HOOK_DHCP6_APPEND_OPTIONS(netif, dhcp6, state, msg, msg_type, options_len_ptr, max_len) 77 #define LWIP_HOOK_DHCP6_PARSE_OPTION(netif, dhcp6, state, msg, msg_type, option, len, pbuf, offset) do { LWIP_UNUSED_ARG(msg); } while(0) 163 /** Free DHCP PCB if the last netif stops using it */ 181 * @param netif the netif for which to set the struct dhcp 185 dhcp6_set_struct(struct netif *neti argument 206 dhcp6_cleanup(struct netif *netif) dhcp6_cleanup() argument 217 dhcp6_get_struct(struct netif *netif, const char *dbg_requester) dhcp6_get_struct() argument 299 dhcp6_enable_stateful(struct netif *netif) dhcp6_enable_stateful() argument 316 dhcp6_enable_stateless(struct netif *netif) dhcp6_enable_stateless() argument 346 dhcp6_disable(struct netif *netif) dhcp6_disable() argument 377 dhcp6_create_msg(struct netif *netif, struct dhcp6 *dhcp6, u8_t message_type, u16_t opt_len_alloc, u16_t *options_out_len) dhcp6_create_msg() argument 452 dhcp6_information_request(struct netif *netif, struct dhcp6 *dhcp6) dhcp6_information_request() argument 499 dhcp6_request_config(struct netif *netif, struct dhcp6 *dhcp6) dhcp6_request_config() argument 523 dhcp6_handle_config_reply(struct netif *netif, struct pbuf *p_msg_in) dhcp6_handle_config_reply() argument 586 dhcp6_nd6_ra_trigger(struct netif *netif, u8_t managed_addr_config, u8_t other_config) dhcp6_nd6_ra_trigger() argument 700 struct netif *netif = ip_current_input_netif(); dhcp6_recv() local 775 dhcp6_timeout(struct netif *netif, struct dhcp6 *dhcp6) dhcp6_timeout() argument 801 struct netif *netif; global() local 830 struct netif *netif = NULL; global() local [all...] |
/third_party/lwip/test/fuzz/ |
H A D | fuzz.c | 34 #include "lwip/netif.h" 36 #include "netif/etharp.h" 61 static err_t lwip_tx_func(struct netif *netif, struct pbuf *p) in lwip_tx_func() argument 63 LWIP_UNUSED_ARG(netif); in lwip_tx_func() 68 static err_t testif_init(struct netif *netif) in testif_init() argument 70 netif->name[0] = 'f'; in testif_init() 71 netif->name[1] = 'z'; in testif_init() 72 netif in testif_init() 95 input_pkt(struct netif *netif, const u8_t *data, size_t len) input_pkt() argument 113 input_pkts(struct netif *netif, const u8_t *data, size_t len) input_pkts() argument [all...] |
/third_party/lwip/src/include/lwip/apps/ |
H A D | mdns.h | 42 #include "lwip/netif.h" 68 * use for the name for the netif or a service and is safe to use, or MDNS_PROBING_CONFLICT 70 typedef void (*mdns_name_result_cb_t)(struct netif* netif, u8_t result); 76 err_t mdns_resp_add_netif(struct netif *netif, const char *hostname, u32_t dns_ttl); 77 err_t mdns_resp_remove_netif(struct netif *netif); 78 err_t mdns_resp_rename_netif(struct netif *netif, cons [all...] |
/third_party/lwip/src/apps/snmp/ |
H A D | snmp_mib2_interfaces.c | 42 #include "lwip/netif.h" 68 struct netif *netif; in interfaces_get_value() local 69 NETIF_FOREACH(netif) { in interfaces_get_value() 82 { 1, 0xff } /* netif->num is u8_t */ 98 struct netif *netif; in interfaces_Table_get_cell_instance() local 107 /* get netif index from incoming OID */ in interfaces_Table_get_cell_instance() 110 /* find netif with index */ in interfaces_Table_get_cell_instance() 111 NETIF_FOREACH(netif) { in interfaces_Table_get_cell_instance() 126 struct netif *netif; interfaces_Table_get_next_cell_instance() local 159 struct netif *netif = (struct netif *)instance->reference.ptr; interfaces_Table_get_value() local 295 struct netif *netif = (struct netif *)instance->reference.ptr; interfaces_Table_set_value() local [all...] |