| /device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/ |
| D | netif.h | 381 #define netif_set_client_data(netif, id, data) netif_get_client_data(netif, id) = (data) argument 385 #define netif_get_client_data(netif, id) (netif)->client_data[(id)] argument 402 #define LWIP_IS_DAD_ENABLED(netif) (((netif)->ipv6_flags & LWIP_IPV6_ND6_FLAG_DAD)) argument 404 #define LWIP_IS_DAD_ENABLED(netif) 0 argument 411 struct netif { struct 414 struct netif *next; argument 417 netif_linklayer_event_fn linklayer_event; /* registered by lwip and called by linklayer */ argument 419 netif_remove_peer_fn remove_peer; argument 420 netif_set_beacon_prio_fn set_beacon_prio; argument 421 netif_set_unique_id_fn set_unique_id; argument [all …]
|
| D | ip.h | 284 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument 292 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \ argument 297 #define ip_output_if_hdrincl(p, src, dest, netif) \ argument 347 #define ip_netif_get_local_ip(netif, dest) (IP_IS_V6(dest) ? \ argument 365 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument 367 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \ argument 371 #define ip_output_if_hdrincl(p, src, dest, netif) \ argument 382 #define ip_netif_get_local_ip(netif, dest) \ argument 394 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument 396 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \ argument [all …]
|
| D | ip6_zone.h | 180 #define ip6_addr_assign_zone(ip6addr, type, netif) \ argument 203 #define ip6_addr_test_zone(ip6addr, netif) \ argument 256 #define ip6_addr_assign_zone(ip6addr, type, netif) argument 257 #define ip6_addr_test_zone(ip6addr, netif) (1) argument 270 #define IP6_ADDR_ZONECHECK_NETIF(ip6addr, netif) LWIP_ASSERT("IPv6 netif zone check failed", \ argument 279 #define IP6_ADDR_ZONECHECK_NETIF(ip6addr, netif) argument
|
| /device/soc/hisilicon/ws63v100/sdk/open_source/lwip/lwip_v2.1.3/src/include/lwip/ |
| D | netif.h | 360 #define netif_set_client_data(netif, id, data) netif_get_client_data(netif, id) = (data) argument 364 #define netif_get_client_data(netif, id) (netif)->client_data[(id)] argument 422 #define LWIP_IS_DAD_ENABLED(netif) (((netif)->ipv6_flags & LWIP_IPV6_ND6_FLAG_DAD)) argument 424 #define LWIP_IS_DAD_ENABLED(netif) 0 argument 431 struct netif { struct 434 struct netif *next; argument 437 netif_linklayer_event_fn linklayer_event; /* registered by lwip and called by linklayer */ argument 439 netif_remove_peer_fn remove_peer; argument 440 netif_set_beacon_prio_fn set_beacon_prio; argument 441 netif_set_unique_id_fn set_unique_id; argument [all …]
|
| D | ip.h | 268 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument 276 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \ argument 281 #define ip_output_if_hdrincl(p, src, dest, netif) \ argument 302 #define ip_netif_get_local_ip(netif, dest) (IP_IS_V6(dest) ? \ argument 313 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument 315 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \ argument 319 #define ip_output_if_hdrincl(p, src, dest, netif) \ argument 323 #define ip_netif_get_local_ip(netif, dest) \ argument 333 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument 335 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \ argument [all …]
|
| D | ip6_zone.h | 198 #define ip6_addr_assign_zone(ip6addr, type, netif) \ argument 221 #define ip6_addr_test_zone(ip6addr, netif) \ argument 285 #define IP6_ADDR_ZONECHECK_NETIF(ip6addr, netif) LWIP_ASSERT("IPv6 netif zone check failed", \ argument 294 #define IP6_ADDR_ZONECHECK_NETIF(ip6addr, netif) argument
|
| /device/soc/hisilicon/ws63v100/sdk/open_source/lwip/lwip_v2.1.3/src/core/ipv4/ |
| D | autoip.c | 76 #define LWIP_AUTOIP_RAND(netif) ( (((u32_t)((netif->hwaddr[5]) & 0xff) << 24) | \ argument 88 #define LWIP_AUTOIP_CREATE_SEED_ADDR(netif) \ argument 106 autoip_set_struct(struct netif *netif, struct autoip *autoip) in autoip_set_struct() 125 autoip_restart(struct netif *netif) in autoip_restart() 136 autoip_handle_arp_conflict(struct netif *netif) in autoip_handle_arp_conflict() 169 autoip_create_addr(struct netif *netif, ip4_addr_t *ipaddr) in autoip_create_addr() 204 autoip_arp_probe(struct netif *netif) in autoip_arp_probe() 217 autoip_arp_announce(struct netif *netif) in autoip_arp_announce() 228 autoip_bind(struct netif *netif) in autoip_bind() 255 autoip_start(struct netif *netif) in autoip_start() [all …]
|
| D | dhcp.c | 93 #define LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, state, msg, msg_type, options_len_ptr) argument 96 #define LWIP_HOOK_DHCP_PARSE_OPTION(netif, dhcp, state, msg, msg_type, option, len, pbuf, offset) d… argument 310 dhcp_mac_to_idx(struct netif *netif, const u8_t *hwaddr, u8_t hwaddr_len, dhcp_num_t *mac_idx) in dhcp_mac_to_idx() 325 dhcp_idx_to_mac(struct netif *netif, dhcp_num_t mac_idx, in dhcp_idx_to_mac() 416 dhcp_handle_nak(struct netif *netif, struct dhcp_client *dhcp) in dhcp_handle_nak() 442 dhcp_check(struct netif *netif, struct dhcp_client *dhcp) in dhcp_check() 472 dhcp_handle_offer(struct netif *netif, struct dhcp_client *dhcp) in dhcp_handle_offer() 516 dhcp_fill_options(struct netif *netif, struct dhcp_client *dhcp, u8_t message_type, u32_t opt_flags… in dhcp_fill_options() 576 dhcp_select(struct netif *netif, struct dhcp_client *dhcp) in dhcp_select() 627 dhcp_client_coarse_tmr(struct netif *netif, struct dhcp_client *dhcp) in dhcp_client_coarse_tmr() [all …]
|
| D | igmp.c | 128 igmp_start(struct netif *netif) in igmp_start() 163 igmp_stop(struct netif *netif) in igmp_stop() 202 igmp_report_groups(struct netif *netif) in igmp_report_groups() 311 igmp_remove_group(struct netif *netif, struct igmp_group *group) in igmp_remove_group() 468 struct netif *netif; in igmp_joingroup() local 501 igmp_joingroup_netif(struct netif *netif, const ip4_addr_t *groupaddr) in igmp_joingroup_netif() 573 struct netif *netif = NULL; in igmp_leavegroup() local 607 igmp_leavegroup_netif(struct netif *netif, const ip4_addr_t *groupaddr) in igmp_leavegroup_netif() 674 struct netif *netif; in igmp_tmr() local 696 struct netif *netif; in igmp_tmr_tick() local [all …]
|
| D | etharp.c | 99 #define ETHARP_SET_ADDRHINT(netif, addrhint) do { if (((netif) != NULL) && ((netif)->hints != NULL… argument 102 #define ETHARP_SET_ADDRHINT(netif, addrhint) (etharp_cached_entry = (addrhint)) argument 200 etharp_gratuitous_start(struct netif *netif) in etharp_gratuitous_start() 217 struct netif *netif; in etharp_gratuitous_retransmit() local 326 etharp_find_entry(const ip4_addr_t *ipaddr, u8_t flags, struct netif *netif) in etharp_find_entry() 492 etharp_update_arp_entry(struct netif *netif, const ip4_addr_t *ipaddr, struct eth_addr *ethaddr, u8… 586 etharp_delete_arp_entry(struct netif *netif, const ip4_addr_t *ipaddr) 624 struct netif *netif; local 678 etharp_cleanup_netif(struct netif *netif) 702 etharp_find_addr(struct netif *netif, const ip4_addr_t *ipaddr, [all …]
|
| D | ip4.c | 168 struct netif *netif = LWIP_HOOK_IP4_ROUTE_SRC(src, dest); in ip4_route_src() local 190 struct netif *netif; in ip4_route() local 333 struct netif *netif; in ip4_forward() local 437 ip4_input_accept(struct netif *netif) in ip4_input_accept() 492 struct netif *netif; in ip4_input() local 897 u8_t proto, struct netif *netif) in ip4_output_if() 911 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, in ip4_output_if_opt() 932 ip4_iphdr_chksum(struct ip_hdr *iphdr, struct netif *netif, u16_t *chksum) in ip4_iphdr_chksum() 985 u8_t proto, struct netif *netif) in ip4_output_if_src() 997 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, in ip4_output_if_opt_src() [all …]
|
| D | dhcps.c | 200 err_t dhcps_find_client_lease(struct netif *netif, const u8_t *mac, u8_t maclen, ip_addr_t *ip) in dhcps_find_client_lease() 345 dhcp_option_dns_server(struct dhcp_msg *msg_out, struct netif *netif, u16_t *options_out_len) in dhcp_option_dns_server() 380 static void handle_discover(struct netif *netif, struct dhcps *dhcps, in handle_discover() 523 static ip4_addr_t validate_request_message(const struct netif *netif, const struct dhcp_msg *client… in validate_request_message() 600 static void handle_request(struct netif *netif, struct dhcps *dhcps, struct dhcp_msg *client_msg, in handle_request() 791 static void handle_inform(struct netif *netif, struct dhcps *dhcps, const struct dhcp_msg *client_m… in handle_inform() 840 static void handle_client_messages(struct netif *netif, struct dhcps *dhcps, in handle_client_messages() 1097 struct netif *netif = (struct netif *)arg; local 1205 err_t dhcps_start(struct netif *netif, const char *start_ip, u16_t ip_num) 1323 void dhcps_stop(struct netif *netif) [all …]
|
| /device/soc/hisilicon/ws63v100/sdk/open_source/lwip/lwip_v2.1.3/src/core/ |
| D | netif.c | 202 netif_loopif_init(struct netif *netif) in netif_loopif_init() 239 netif_dhcp_off(struct netif *netif) in netif_dhcp_off() 271 u8_t netif_ip6_addr_isdhcp6(struct netif *netif, s8_t i) in netif_ip6_addr_isdhcp6() 297 struct netif *netif = NULL; in netif_ipaddr_isbrdcast() local 371 netif_add_noaddr(struct netif *netif) in netif_add_noaddr() 382 struct netif *netif = NULL; in netif_check_num_isusing() local 410 struct netif *netif = NULL; in netif_find_by_ifindex() local 472 netif_add(struct netif *netif in netif_add() 702 netif_do_set_ipaddr(struct netif *netif, const ip4_addr_t *ipaddr, ip_addr_t *old_addr) in netif_do_set_ipaddr() 745 netif_set_ipaddr(struct netif *netif, const ip4_addr_t *ipaddr) in netif_set_ipaddr() [all …]
|
| D | udp.c | 546 struct netif *netif; in udp_sendto_chksum() local 654 const ip_addr_t *dst_ip, u16_t dst_port, struct netif *netif) in udp_sendto_if() 663 u16_t dst_port, struct netif *netif, u8_t have_chksum, in udp_sendto_if_chksum() 731 … const ip_addr_t *dst_ip, u16_t dst_port, struct netif *netif, const ip_addr_t *src_ip) in udp_sendto_if_src() 740 u16_t dst_port, struct netif *netif, u8_t have_chksum, in udp_sendto_if_src_chksum() 1091 udp_bind_netif(struct udp_pcb *pcb, const struct netif *netif) in udp_bind_netif() 1123 struct netif *netif = NULL; in udp_connect() local
|
| D | mdns.c | 110 #define NETIF_TO_HOST(netif) (struct mdns_host*)(netif_get_client_data(netif, mdns_netif_client_id)) argument 202 struct netif *netif; member 225 struct netif *netif; member 735 check_host(struct netif *netif, struct mdns_rr_info *rr, u8_t *reverse_v6_reply) in check_host() 1237 mdns_add_a_answer(struct mdns_outpacket *reply, u16_t cache_flush, struct netif *netif) in mdns_add_a_answer() 1250 mdns_add_hostv4_ptr_answer(struct mdns_outpacket *reply, u16_t cache_flush, struct netif *netif) in mdns_add_hostv4_ptr_answer() 1266 mdns_add_aaaa_answer(struct mdns_outpacket *reply, u16_t cache_flush, struct netif *netif, int addr… in mdns_add_aaaa_answer() 1279 mdns_add_hostv6_ptr_answer(struct mdns_outpacket *reply, u16_t cache_flush, struct netif *netif, in… in mdns_add_hostv6_ptr_answer() 1622 mdns_announce(struct netif *netif, const ip_addr_t *destination) in mdns_announce() 2022 mdns_netif_ext_status_callback(struct netif *netif, netif_nsc_reason_t reason, const netif_ext_call… in mdns_netif_ext_status_callback() [all …]
|
| /device/soc/hisilicon/ws63v100/sdk/open_source/lwip/lwip_v2.1.3/src/api/ |
| D | netifapi.c | 154 netifapi_wake_queue(struct netif *netif) in netifapi_wake_queue() 160 netifapi_stop_queue(struct netif *netif) in netifapi_stop_queue() 321 netifapi_netif_add(struct netif *netif in netifapi_netif_add() 356 netifapi_netif_reset(struct netif *netif) in netifapi_netif_reset() 377 struct netif *netif = NULL; in netifapi_netif_find_by_name() local 406 struct netif *netif = NULL; in netifapi_netif_find_by_ifindex() local 434 struct netif *netif = NULL; in netifapi_netif_find_by_ipaddr() local 457 netifapi_netif_set_addr(struct netif *netif, in netifapi_netif_set_addr() 486 netifapi_netif_get_addr(struct netif *netif, in netifapi_netif_get_addr() 513 netifapi_netif_common(struct netif *netif, netifapi_void_fn voidfunc, in netifapi_netif_common() [all …]
|
| D | ethtool.c | 22 static s32_t ethtool_get_link(struct netif *netif, struct ethtool_value *edata) in ethtool_get_link() 40 static s32_t ethtool_get_settings(struct netif *netif, struct ethtool_cmd *edata) in ethtool_get_settings() 55 static s32_t ethtool_set_settings(struct netif *netif, struct ethtool_cmd *edata) in ethtool_set_settings() 71 s32_t dev_ethtool(struct netif *netif, struct ifreq *ifr) in dev_ethtool()
|
| /device/soc/hisilicon/ws63v100/sdk/open_source/lwip/lwip_v2.1.3/src/core/ipv6/ |
| D | mld6.c | 108 mld6_stop(struct netif *netif) in mld6_stop() 139 mld6_report_groups(struct netif *netif) in mld6_report_groups() 217 mld6_remove_group(struct netif *netif, struct mld_group *group) in mld6_remove_group() 442 struct netif *netif; in mld6_joingroup() local 471 mld6_join_staticgroup_netif(struct netif *netif, const ip6_addr_t *groupaddr) in mld6_join_staticgroup_netif() 508 mld6_joingroup_netif(struct netif *netif, const ip6_addr_t *groupaddr) in mld6_joingroup_netif() 581 struct netif *netif; in mld6_leavegroup() local 611 mld6_leavegroup_netif(struct netif *netif, const ip6_addr_t *groupaddr) in mld6_leavegroup_netif() 708 struct netif *netif; in mld6_tmr() local 771 struct netif *netif = netif_list; in mld6_tmr_tick() local [all …]
|
| D | nd6.c | 162 void nd6_remove_netif_neighbor_cache_entries(struct netif *netif) in nd6_remove_netif_neighbor_cache_entries() 336 nd6_add_neighbor_cache_entry(struct netif *netif, in nd6_add_neighbor_cache_entry() 564 nd6_duplicate_addr_detected(struct netif *netif, s8_t addr_idx) in nd6_duplicate_addr_detected() 603 nd6_process_autoconfig_prefix(struct netif *netif, in nd6_process_autoconfig_prefix() 983 nd6_send_ra(struct netif *netif, const ip6_addr_t *target_addr, u8_t flags) in nd6_send_ra() 2156 struct netif *netif = NULL; in beacon_priority_set() local 2226 struct netif *netif = NULL; in nd6_tmr() local 2514 struct netif *netif = NULL; in nd6_tmr_tick() local 2641 nd6_send_ns(struct netif *netif, const ip6_addr_t *target_addr, u8_t flags) in nd6_send_ns() 2740 nd6_send_na(struct netif *netif, const ip6_addr_t *target_addr, u8_t flags) in nd6_send_na() [all …]
|
| D | dhcp6.c | 91 #define LWIP_HOOK_DHCP6_APPEND_OPTIONS(netif, dhcp6, state, msg, msg_type, options_len_ptr, max_len) argument 94 #define LWIP_HOOK_DHCP6_PARSE_OPTION(netif, dhcp6, state, msg, msg_type, option, len, pbuf, offset)… argument 235 dhcp6_set_struct(struct netif *netif, struct dhcp6 *dhcp6) in dhcp6_set_struct() 256 void dhcp6_cleanup(struct netif *netif) in dhcp6_cleanup() 273 dhcp6_get_struct(struct netif *netif, const char *dbg_requester) in dhcp6_get_struct() 363 dhcp6_enable_stateful(struct netif *netif) in dhcp6_enable_stateful() 436 dhcp6_enable_stateless(struct netif *netif) in dhcp6_enable_stateless() 475 dhcp6_disable(struct netif *netif) in dhcp6_disable() 508 dhcp6_release_stateful(struct netif *netif) in dhcp6_release_stateful() 560 dhcp6_create_msg(struct netif *netif, struct dhcp6 *dhcp6, u8_t message_type, in dhcp6_create_msg() [all …]
|
| /device/soc/hisilicon/ws63v100/sdk/open_source/lwip/lwip_v2.1.3/src/api/nettool/ |
| D | ifconfig.c | 103 int print_netif_ip(struct netif *netif, char *print_buf, unsigned int buf_len) in print_netif_ip() 164 print_netif_hw(struct netif *netif, char *print_buf, unsigned int buf_len) in print_netif_hw() 205 print_netif_link(struct netif *netif, char *print_buf, unsigned int buf_len) in print_netif_link() 235 print_netif_mib(struct netif *netif, char *print_buf, unsigned int buf_len) in print_netif_mib() 269 print_netif(struct netif *netif, char *print_buf, unsigned int buf_len) in print_netif() 348 struct netif *netif = NULL; in lwip_ifconfig_show_internal() local 406 lwip_ifconfig_ip(struct netif *netif, struct ifconfig_option *ifconfig_cmd) in lwip_ifconfig_ip() 477 lwip_ifconfig_netmask(struct netif *netif, struct ifconfig_option *ifconfig_cmd) in lwip_ifconfig_netmask() 528 lwip_ifconfig_gw(struct netif *netif, struct ifconfig_option *ifconfig_cmd) in lwip_ifconfig_gw() 573 struct netif *netif = NULL; in lwip_ifconfig_internal() local [all …]
|
| /device/soc/hisilicon/ws63v100/sdk/open_source/lwip/lwip_v2.1.3/src/netif/ |
| D | driverif.c | 71 driverif_output(struct netif *netif, struct pbuf *p) in driverif_output() 111 driverif_input(struct netif *netif, struct pbuf *p) in driverif_input() 225 driverif_init(struct netif *netif) in driverif_init()
|
| D | ethernet.c | 85 ethernet_input(struct pbuf *p, struct netif *netif) 318 ethernet_input_list(struct pbuf *p, struct netif *netif) 346 ethernet_output(struct netif * netif, struct pbuf * p,
|
| /device/soc/hisilicon/ws63v100/sdk/open_source/wpa_supplicant/liteos_wpa_src/ |
| D | l2_packet_rtos.c | 18 struct l2_packet_netif *netif; member 64 struct l2_packet_netif *netif = eloop_ctx; in l2_packet_receive() local 110 struct l2_packet_netif *netif = (struct l2_packet_netif *)context; in l2_packet_eapol_callback() local 125 struct l2_packet_netif *netif = NULL; in l2_packet_init() local 202 struct l2_packet_netif *netif = NULL; in l2_packet_deinit() local
|
| /device/qemu/riscv32_virt/liteos_m/board/driver/ |
| D | virtnet.c | 145 struct netif *netif = dev; in Feature0() local 345 static err_t LowLevelOutput(struct netif *netif, struct pbuf *p) in LowLevelOutput() 393 static struct pbuf *LowLevelInput(const struct netif *netif, const struct VirtqUsedElem *e) in LowLevelInput() 419 static void VirtnetRxHandle(struct netif *netif) in VirtnetRxHandle() 468 struct netif *netif = (struct netif *)param; in VirtnetIRQhandle() local 482 static err_t LowLevelInit(struct netif *netif) in LowLevelInit() 519 static err_t EthernetIfInit(struct netif *netif) in EthernetIfInit() 547 static void VirtnetDeInit(struct netif *netif) in VirtnetDeInit() 572 struct netif *netif = NULL; in VirtnetInit() local
|