Home
last modified time | relevance | path

Searched refs:netif (Results 151 - 175 of 193) sorted by relevance

12345678

/device/qemu/riscv32_virt/liteos_m/board/
H A Dmain.c27 #include "lwip/netif.h"
36 extern struct netif *VirtnetInit(void); in net_init()
44 printf("netif init start...\n"); in net_init()
45 struct netif *pnetif = VirtnetInit(); in net_init()
58 printf("netif init succeed!\n"); in net_init()
61 printf("netif init failed!\n"); in net_init()
/third_party/lwip/src/core/
H A Dtcp.c917 * Binds the connection to a netif and IP address.
919 * are guaranteed to have come in via the specified netif, and all
920 * outgoing packets will go out via the specified netif.
923 * @param netif the netif to bind to. Can be NULL.
926 tcp_bind_netif(struct tcp_pcb *pcb, const struct netif *netif) argument
929 if (netif != NULL) {
930 pcb->netif_idx = netif_get_index(netif);
1236 struct netif *neti local
[all...]
H A Dip.c151 * Don't call directly, pass to netif_add() and call netif->input().
154 ip_input(struct pbuf *p, struct netif *inp) in ip_input()
/third_party/lwip/src/include/lwip/apps/
H A Dsnmp_core.h320 struct netif;
321 u8_t netif_to_num(const struct netif *netif);
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/hdfadapt/
H A Dnet_adpater.c37 #include "lwip/netif.h"
293 输入参数 : oal_netif *netif, netif_flow_ctrl_enum_uint8 status
331 hi_s32 hwal_lwip_remove_user(oal_lwip_netif *netif, oal_linklayer_addr *mac_addr) in hwal_lwip_remove_user() argument
338 if (netif == HI_NULL) { in hwal_lwip_remove_user()
343 netdev = (oal_net_device_stru *)netif->state; in hwal_lwip_remove_user()
404 hi_s32 hwal_lwip_set_beacon_priority(oal_lwip_netif *netif, hi_u8 prio) in hwal_lwip_set_beacon_priority() argument
411 if (netif == HI_NULL) { in hwal_lwip_set_beacon_priority()
416 netdev = (oal_net_device_stru *)netif->state; in hwal_lwip_set_beacon_priority()
461 hi_s32 hwal_lwip_set_mnid(oal_lwip_netif *netif, oal_uniqid_t us_mnid) in hwal_lwip_set_mnid() argument
468 if (oal_unlikely(netif in hwal_lwip_set_mnid()
[all...]
/third_party/lwip/src/core/ipv6/
H A Dip6_frag.c392 * @todo It is possible that due to netif destruction and recreation, the in ip6_reass()
395 * Ideally, netif destruction would clean up matching pending reassembly in ip6_reass()
728 * Fragment an IPv6 datagram if too large for the netif or path MTU.
734 * @param netif the netif on which to send
740 ip6_frag(struct pbuf *p, struct netif *netif, const ip6_addr_t *dest) in ip6_frag() argument
753 const u16_t mtu = nd6_get_destination_mtu(dest, netif); in ip6_frag()
866 netif->output_ip6(netif, rambu in ip6_frag()
[all...]
/third_party/lwip/src/include/lwip/
H A Dip_addr.h218 #define ip_addr_isbroadcast(ipaddr, netif) ((IP_IS_V6(ipaddr)) ? \
220 ip4_addr_isbroadcast(ip_2_ip4(ipaddr), netif))
304 #define ip_addr_isbroadcast(addr, netif) ip4_addr_isbroadcast(addr, netif)
352 #define ip_addr_isbroadcast(addr, netif) 0
H A Dicmp6.h47 #include "lwip/netif.h"
56 void icmp6_input(struct pbuf *p, struct netif *inp);
H A Dicmp.h43 #include "lwip/netif.h"
80 void icmp_input(struct pbuf *p, struct netif *inp);
H A Dtcp.h469 void tcp_bind_netif(struct tcp_pcb *pcb, const struct netif *netif);
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/priv/
H A Draw_priv.h51 u8_t raw_input(struct pbuf *p, struct netif *inp);
/third_party/FreeBSD/sys/dev/usb/net/
H A Dusb_ethernet.c42 struct netif *pnetif_usb0 = NULL;
590 struct netif *netif = &(ue->ue_drv_sc->ac_if); in uether_rxflush() local
612 driverif_input(netif, m); in uether_rxflush()
H A Dif_urndis.c25 #include <lwip/netif.h>
192 struct netif *netif; in urndis_attach() local
296 netif = &(ue->ue_drv_sc->ac_if); in urndis_attach()
297 if (!netif_is_up(netif)) { in urndis_attach()
298 (void)netifapi_netif_set_up(netif); in urndis_attach()
/third_party/lwip/src/api/
H A Dtcpip.c51 #include "netif/ethernet.h"
179 if (msg->msg.inp.input_fn(msg->msg.inp.p, msg->msg.inp.netif) != ERR_OK) { in tcpip_thread_handle_msg()
307 tcpip_inpkt(struct pbuf *p, struct netif *inp, netif_input_fn input_fn) in tcpip_inpkt()
331 msg->msg.inp.netif = inp; in tcpip_inpkt()
345 * and call netif->input().
353 tcpip_input(struct pbuf *p, struct netif *inp) in tcpip_input()
/third_party/lwip/src/include/lwip/priv/
H A Draw_priv.h59 raw_input_state_t raw_input(struct pbuf *p, struct netif *inp);
/third_party/NuttX/drivers/usbdev/gadget/
H A Drndis.c423 struct netif *netif = &dev->netdev.ac_if; in link_status_check_func() local
426 if (netif_is_up(netif) && !link_status) in link_status_check_func()
428 (void)netifapi_netif_set_link_down(netif); in link_status_check_func()
429 (void)netifapi_netif_set_down(netif); in link_status_check_func()
432 else if (!netif_is_up(netif) && link_status) in link_status_check_func()
434 (void)netifapi_netif_set_link_up(netif); in link_status_check_func()
435 (void)netifapi_netif_set_up(netif); in link_status_check_func()
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/src/
H A Dnetcfg_sample.c19 #include "lwip/netif.h"
37 struct netif *g_staNetif = NULL;
146 static void StaResetAddr(struct netif *ptrLwipNetif) in StaResetAddr()
207 printf("[sample] Get netif failed\n"); in StaStart()
/third_party/libcoap/examples/riot/examples_libcoap_server/
H A Dserver-coap.c127 gnrc_netif_t *netif = gnrc_netif_iter(NULL); in init_coap_context_endpoints() local
137 if (gnrc_netif_ipv6_addrs_get(netif, &addr, sizeof(addr)) < 0) { in init_coap_context_endpoints()
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
H A Dicmp.h43 #include "lwip/netif.h"
80 void icmp_input(struct pbuf *p, struct netif *inp);
/third_party/lwip/src/apps/snmp/
H A Dsnmp_raw.c66 struct netif *dst_if; in snmp_get_local_ip_for_dst()
H A Dsnmp_netconn.c98 struct netif *dst_if; in snmp_get_local_ip_for_dst()
/third_party/lwip/src/netif/
H A Dlowpan6_common.c48 * 6LowPAN netif implementation
51 #include "netif/lowpan6_common.h"
58 #include "lwip/netif.h"
132 lowpan6_compress_headers(struct netif *netif, u8_t *inbuf, size_t inbuf_size, u8_t *outbuf, size_t outbuf_size, in lowpan6_compress_headers() argument
143 LWIP_ASSERT("netif != NULL", netif != NULL); in lowpan6_compress_headers()
165 ip6_addr_assign_zone(ip_2_ip6(&ip6dst), IP6_UNKNOWN, netif); in lowpan6_compress_headers() local
167 ip6_addr_assign_zone(ip_2_ip6(&ip6src), IP6_UNKNOWN, netif); in lowpan6_compress_headers() local
/third_party/libcoap/examples/lwip/
H A DMakefile126 LWIP_SRC = def.c init.c tapif.c etharp.c netif.c timeouts.c stats.c udp.c \
130 lwip/src/netif/ lwip/src/core/ipv4/ lwip-contrib/ports/unix/port/ \
131 lwip-contrib/ports/unix/port/netif/
/third_party/eudev/src/udev/
H A Dudev-event.c967 log_debug("renamed netif to '%s' for collision avoidance\n", newifname);
969 log_error("could not rename netif to '%s' for collision avoidance\n",newifname);
987 log_debug("renamed netif to '%s'\n", finalifname);
/third_party/libcoap/src/
H A Dcoap_address.c704 netif_t *netif = NULL; in coap_resolve_address_info() local
712 if (netutils_get_ipv6(&addr_ipv6, &netif, (const char *)address->s) >= 0) { in coap_resolve_address_info()
781 info->addr.addr.sin6.sin6_scope_id = (uint32_t)netif_get_id(netif); in coap_resolve_address_info()

Completed in 20 milliseconds

12345678