Home
last modified time | relevance | path

Searched defs:netif (Results 1 – 25 of 84) sorted by relevance

1234

/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/
A Dnetif.h225 struct netif { struct
227 struct netif *next; argument
236 /** Array of IPv6 addresses for this netif. */ argument
244 netif_input_fn input; argument
250 netif_output_fn output; argument
255 netif_linkoutput_fn linkoutput; argument
284 /** is this netif enabled for IPv6 autoconfiguration */ argument
292 /* the hostname for this netif, NULL is a valid value */ argument
304 /** flags (@see @ref netif_flags) */ argument
318 struct stats_mib2_netif_ctrs mib2_counters; argument
[all …]
A Detharp.h89 #define etharp_gratuitous(netif) etharp_request((netif), netif_ip4_addr(netif)) argument
91 #define etharp_gratuitous(netif) argument
A Dip.h234 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument
242 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \ argument
263 #define ip_netif_get_local_ip(netif, dest) (IP_IS_V6(dest) ? \ argument
274 #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
282 #define ip_netif_get_local_ip(netif, dest) \ argument
292 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument
294 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \ argument
300 #define ip_netif_get_local_ip(netif, dest) \ argument
308 #define ip_route_get_local_ip(src, dest, netif, ipaddr) do { \ argument
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/
A Dnetif.h229 struct netif { struct
231 struct netif *next; argument
240 /** Array of IPv6 addresses for this netif. */ argument
248 netif_input_fn input; argument
254 netif_output_fn output; argument
259 netif_linkoutput_fn linkoutput; argument
288 /** is this netif enabled for IPv6 autoconfiguration */ argument
296 /* the hostname for this netif, NULL is a valid value */ argument
308 /** flags (@see @ref netif_flags) */ argument
325 struct stats_mib2_netif_ctrs mib2_counters; argument
[all …]
A Dip6_zone.h198 #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
A Dip.h235 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument
243 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \ argument
264 #define ip_netif_get_local_ip(netif, dest) (IP_IS_V6(dest) ? \ argument
275 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument
277 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \ argument
283 #define ip_netif_get_local_ip(netif, dest) \ argument
293 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument
295 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \ argument
301 #define ip_netif_get_local_ip(netif, dest) \ argument
309 #define ip_route_get_local_ip(src, dest, netif, ipaddr) do { \ argument
/AliOS-Things-master/components/lwip/lwip2.0.0/core/ipv4/
A Dautoip.c89 #define LWIP_AUTOIP_CREATE_SEED_ADDR(netif) \ argument
127 autoip_restart(struct netif *netif) in autoip_restart()
138 autoip_handle_arp_conflict(struct netif *netif) in autoip_handle_arp_conflict()
206 autoip_arp_probe(struct netif *netif) in autoip_arp_probe()
219 autoip_arp_announce(struct netif *netif) in autoip_arp_announce()
230 autoip_bind(struct netif *netif) in autoip_bind()
257 autoip_start(struct netif *netif) in autoip_start()
301 autoip_start_probing(struct netif *netif) in autoip_start_probing()
335 autoip_network_changed(struct netif *netif) in autoip_network_changed()
351 autoip_stop(struct netif *netif) in autoip_stop()
[all …]
A Ddhcp.c283 dhcp_check(struct netif *netif) in dhcp_check()
344 dhcp_select(struct netif *netif) in dhcp_select()
475 dhcp_timeout(struct netif *netif) in dhcp_timeout()
713 dhcp_start(struct netif *netif) in dhcp_start()
811 dhcp_inform(struct netif *netif) in dhcp_inform()
928 dhcp_decline(struct netif *netif) in dhcp_decline()
1026 dhcp_bind(struct netif *netif) in dhcp_bind()
1140 dhcp_renew(struct netif *netif) in dhcp_renew()
1192 dhcp_rebind(struct netif *netif) in dhcp_rebind()
1242 dhcp_reboot(struct netif *netif) in dhcp_reboot()
[all …]
A Digmp.c129 igmp_start(struct netif *netif) in igmp_start()
161 igmp_stop(struct netif *netif) in igmp_stop()
193 igmp_report_groups(struct netif *netif) in igmp_report_groups()
283 igmp_remove_group(struct netif* netif, struct igmp_group *group) in igmp_remove_group()
445 struct netif *netif; in igmp_joingroup() local
479 igmp_joingroup_netif(struct netif *netif, const ip4_addr_t *groupaddr) in igmp_joingroup_netif()
541 struct netif *netif; in igmp_leavegroup() local
574 igmp_leavegroup_netif(struct netif *netif, const ip4_addr_t *groupaddr) in igmp_leavegroup_netif()
634 struct netif *netif = netif_list; in igmp_tmr() local
659 igmp_timeout(struct netif *netif, struct igmp_group *group) in igmp_timeout()
[all …]
A Detharp.c96 struct netif *netif; member
120 #define ETHARP_SET_HINT(netif, hint) (etharp_cached_entry = (hint)) argument
277 etharp_find_entry(const ip4_addr_t *ipaddr, u8_t flags, struct netif* netif) in etharp_find_entry()
526 struct netif *netif; local
578 etharp_cleanup_netif(struct netif *netif)
602 etharp_find_addr(struct netif *netif, const ip4_addr_t *ipaddr,
660 etharp_input(struct pbuf *p, struct netif *netif)
834 etharp_output(struct netif *netif, struct pbuf *q, const ip4_addr_t *ipaddr)
975 etharp_query(struct netif *netif, const ip4_addr_t *ipaddr, struct pbuf *q)
1147 etharp_raw(struct netif *netif, const struct eth_addr *ethsrc_addr,
[all …]
A Dip4.c129 struct netif *netif = LWIP_HOOK_IP4_ROUTE_SRC(dest, src); in ip4_route_src() local
164 struct netif *netif; in ip4_route() local
280 struct netif *netif; in ip4_forward() local
387 struct netif *netif; local
759 u8_t proto, struct netif *netif)
773 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
799 u8_t proto, struct netif *netif)
811 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
989 struct netif *netif; local
1026 struct netif *netif; local
/AliOS-Things-master/components/lwip/lwip2.0.0/core/
A Dnetif.c143 netif_loopif_init(struct netif *netif) in netif_loopif_init()
244 netif_add(struct netif *netif, in netif_add()
390 netif_remove(struct netif *netif) in netif_remove()
487 struct netif *netif; in netif_find() local
511 struct netif *netif; in netif_find_by_index() local
634 netif_set_default(struct netif *netif) in netif_set_default()
654 netif_set_up(struct netif *netif) in netif_set_up()
712 netif_set_down(struct netif *netif) in netif_set_down()
765 netif_set_link_up(struct netif *netif) in netif_set_link_up()
935 netif_poll(struct netif *netif) in netif_poll()
[all …]
A Dudp.c544 struct netif *netif; in udp_sendto_chksum() local
617 const ip_addr_t *dst_ip, u16_t dst_port, struct netif *netif) in udp_sendto_if()
626 u16_t dst_port, struct netif *netif, u8_t have_chksum, in udp_sendto_if_chksum()
686 const ip_addr_t *dst_ip, u16_t dst_port, struct netif *netif, const ip_addr_t *src_ip) in udp_sendto_if_src()
695 u16_t dst_port, struct netif *netif, u8_t have_chksum, in udp_sendto_if_src_chksum()
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/
A Dslipif.c116 slipif_output(struct netif *netif, struct pbuf *p) in slipif_output()
172 slipif_output_v4(struct netif *netif, struct pbuf *p, const ip4_addr_t *ipaddr) in slipif_output_v4()
207 slipif_rxbyte(struct netif *netif, u8_t c) in slipif_rxbyte()
310 slipif_rxbyte_input(struct netif *netif, u8_t c) in slipif_rxbyte_input()
333 struct netif *netif = (struct netif *)nf; in slipif_loop_thread() local
361 slipif_init(struct netif *netif) in slipif_init()
427 slipif_poll(struct netif *netif) in slipif_poll()
449 slipif_process_rxqueue(struct netif *netif) in slipif_process_rxqueue()
487 slipif_rxbyte_enqueue(struct netif *netif, u8_t data) in slipif_rxbyte_enqueue()
526 slipif_received_byte(struct netif *netif, u8_t data) in slipif_received_byte()
[all …]
A Dethernet.c77 ethernet_input(struct pbuf *p, struct netif *netif)
260 ethernet_output(struct netif* netif, struct pbuf* p,
A Dlowpan6.c210 lowpan6_frag(struct netif *netif, struct pbuf *p, const struct ieee_802154_addr *src, const struct … in lowpan6_frag()
595 lowpan4_output(struct netif *netif, struct pbuf *q, const ip4_addr_t *ipaddr) in lowpan4_output()
617 lowpan6_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr) in lowpan6_output()
979 lowpan6_input(struct pbuf * p, struct netif *netif) in lowpan6_input()
1161 lowpan6_if_init(struct netif *netif) in lowpan6_if_init()
/AliOS-Things-master/components/lwip/lwip2.0.0/core/ipv6/
A Dmld6.c91 mld6_stop(struct netif *netif) in mld6_stop()
120 mld6_report_groups(struct netif *netif) in mld6_report_groups()
189 mld6_remove_group(struct netif *netif, struct mld_group *group) in mld6_remove_group()
307 struct netif *netif; in mld6_joingroup() local
337 mld6_joingroup_netif(struct netif *netif, const ip6_addr_t *groupaddr) in mld6_joingroup_netif()
380 struct netif *netif; in mld6_leavegroup() local
410 mld6_leavegroup_netif(struct netif *netif, const ip6_addr_t *groupaddr) in mld6_leavegroup_netif()
459 struct netif *netif = netif_list; in mld6_tmr() local
525 mld6_send(struct netif *netif, struct mld_group *group, u8_t type) in mld6_send()
A Dip6.c86 struct netif *netif; in ip6_route() local
211 ip6_select_source_address(struct netif *netif, const ip6_addr_t *dest) in ip6_select_source_address()
295 struct netif *netif; in ip6_forward() local
397 struct netif *netif = NULL; in ip6_input() local
816 u8_t nexth, struct netif *netif) in ip6_output_if()
840 u8_t nexth, struct netif *netif) in ip6_output_if_src()
938 struct netif *netif; in ip6_output() local
996 struct netif *netif; in ip6_output_hinted() local
A Dnd6.c695 struct netif *netif; in nd6_tmr() local
1056 nd6_send_rs(struct netif *netif) in nd6_send_rs()
1340 nd6_is_prefix_in_netif(const ip6_addr_t *ip6addr, struct netif *netif) in nd6_is_prefix_in_netif()
1369 nd6_select_router(const ip6_addr_t *ip6addr, struct netif *netif) in nd6_select_router()
1428 nd6_get_router(const ip6_addr_t *router_addr, struct netif *netif) in nd6_get_router()
1453 nd6_new_router(const ip6_addr_t *router_addr, struct netif *netif) in nd6_new_router()
1510 nd6_get_onlink_prefix(ip6_addr_t *prefix, struct netif *netif) in nd6_get_onlink_prefix()
1534 nd6_new_onlink_prefix(ip6_addr_t *prefix, struct netif *netif) in nd6_new_onlink_prefix()
1569 nd6_get_next_hop_entry(const ip6_addr_t *ip6addr, struct netif *netif) in nd6_get_next_hop_entry()
1867 nd6_get_destination_mtu(const ip6_addr_t *ip6addr, struct netif *netif) in nd6_get_destination_mtu()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/aos/
A Dethernetif.c102 static void low_level_init(struct netif *netif) in low_level_init()
139 static err_t low_level_output(struct netif *netif, struct pbuf *p) in low_level_output()
172 static err_t low_level_output_mii(struct netif *netif, struct pbuf *p) in low_level_output_mii()
215 void ethernetif_recv(struct netif *netif, int total_len) in ethernetif_recv()
257 void ethernetif_mii_recv(struct netif *netif, int total_len) in ethernetif_mii_recv()
297 err_t ethernetif_init(struct netif *netif) in ethernetif_init()
323 err_t ethernetif_mii_init(struct netif *netif) in ethernetif_mii_init()
/AliOS-Things-master/components/netmgr/netdev/src/
A Dnetdev_lwip.c47 static int lwip_netdev_set_default(struct netdev *netif) in lwip_netdev_set_default()
55 static int lwip_netdev_set_up(struct netdev *netif) in lwip_netdev_set_up()
79 static int lwip_netdev_set_down(struct netdev *netif) in lwip_netdev_set_down()
88 static int lwip_netdev_set_addr_info(struct netdev *netif, ip_addr_t *ip_addr, ip_addr_t *netmask, … in lwip_netdev_set_addr_info()
116 static int lwip_netdev_set_dns_server(struct netdev *netif, uint8_t dns_num, ip_addr_t *dns_server) in lwip_netdev_set_dns_server()
125 static int lwip_netdev_set_dhcp(struct netdev *netif, bool is_enabled) in lwip_netdev_set_dhcp()
145 static int lwip_netdev_set_dhcpd(struct netdev *netif, bool is_enabled) in lwip_netdev_set_dhcpd()
168 int lwip_netdev_ping(struct netdev *netif, const char *host, size_t data_len, in lwip_netdev_ping()
256 void lwip_netdev_netstat(struct netdev *netif) in lwip_netdev_netstat()
364 struct netif * netif = netif_list; in set_if() local
[all …]
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/snmp/
A Dsnmp_mib2_interfaces.c68 struct netif *netif = netif_list; in interfaces_get_value() local
99 struct netif *netif; in interfaces_Table_get_cell_instance() local
129 struct netif *netif; in interfaces_Table_get_next_cell_instance() local
165 struct netif *netif = (struct netif*)instance->reference.ptr; in interfaces_Table_get_value() local
302 struct netif *netif = (struct netif*)instance->reference.ptr; in interfaces_Table_set_value() local
A Dsnmp_mib2_ip.c210 ip_AddrTable_get_cell_value_core(struct netif *netif, const u32_t* column, union snmp_variant_value… in ip_AddrTable_get_cell_value_core()
254 struct netif *netif; in ip_AddrTable_get_cell_value() local
282 struct netif *netif; in ip_AddrTable_get_next_cell_instance_and_value() local
323 ip_RouteTable_get_cell_value_core(struct netif *netif, u8_t default_route, const u32_t* column, uni… in ip_RouteTable_get_cell_value_core()
405 struct netif *netif; in ip_RouteTable_get_cell_value() local
442 struct netif *netif; in ip_RouteTable_get_next_cell_instance_and_value() local
500 struct netif *netif; in ip_NetToMediaTable_get_cell_value_core() local
546 struct netif *netif; in ip_NetToMediaTable_get_cell_value() local
574 struct netif *netif; in ip_NetToMediaTable_get_next_cell_instance_and_value() local
/AliOS-Things-master/components/lwip/lwip2.0.0/api/
A Dnetifapi.c125 netifapi_netif_add(struct netif *netif, in netifapi_netif_add()
170 netifapi_netif_set_addr(struct netif *netif, in netifapi_netif_set_addr()
206 netifapi_netif_common(struct netif *netif, netifapi_void_fn voidfunc, in netifapi_netif_common()
/AliOS-Things-master/hardware/board/haas100/drivers/
A Dch395_lwip.c63 static err_t low_level_output(struct netif *netif, struct pbuf *p) in low_level_output()
116 static struct pbuf *low_level_input(struct netif *netif, uint8_t *data, uint32_t datalen) in low_level_input()
164 struct netif *netif = (struct netif *)argument; in ethernetif_input() local
211 static int low_level_init(struct netif *netif) in low_level_init()
277 static err_t ethernetif_init(struct netif *netif) in ethernetif_init()

Completed in 155 milliseconds

1234