/Zephyr-latest/include/zephyr/net/ |
D | net_if.h | 200 struct net_if *iface; 227 struct net_if *iface; 553 struct net_if *iface; 714 struct net_if { struct 761 static inline void net_if_lock(struct net_if *iface) in net_if_lock() argument 768 static inline void net_if_unlock(struct net_if *iface) in net_if_unlock() 775 static inline bool net_if_flag_is_set(struct net_if *iface, 778 static inline void net_if_tx_lock(struct net_if *iface) in net_if_tx_lock() 789 static inline void net_if_tx_unlock(struct net_if *iface) in net_if_tx_unlock() 808 static inline void net_if_flag_set(struct net_if *iface, in net_if_flag_set() [all …]
|
D | dsa.h | 70 typedef enum net_verdict (*dsa_net_recv_cb_t)(struct net_if *iface, 81 int dsa_register_recv_callback(struct net_if *iface, dsa_net_recv_cb_t cb); 91 struct net_if *dsa_net_recv(struct net_if *iface, struct net_pkt **pkt); 107 int dsa_register_master_tx(struct net_if *iface, dsa_send_t fn); 117 bool dsa_is_port_master(struct net_if *iface); 129 struct net_if *iface_slave[NET_DSA_PORT_MAX_COUNT]; 132 struct net_if *iface_master; 156 struct net_if *(*dsa_get_iface)(struct net_if *iface, 186 struct net_pkt *(*dsa_xmit_pkt)(struct net_if *iface, 203 struct net_if *dsa_get_slave_port(struct net_if *iface, int slave_num); [all …]
|
D | virtual.h | 98 enum virtual_interface_caps (*get_capabilities)(struct net_if *iface); 107 int (*send)(struct net_if *iface, struct net_pkt *pkt); 115 enum net_verdict (*recv)(struct net_if *iface, struct net_pkt *pkt); 118 int (*attach)(struct net_if *virtual_iface, struct net_if *iface); 121 int (*set_config)(struct net_if *iface, 126 int (*get_config)(struct net_if *iface, 144 struct net_if *virtual_iface; 152 struct net_if *iface; 178 int net_virtual_interface_attach(struct net_if *virtual_iface, 179 struct net_if *iface); [all …]
|
D | ethernet_bridge.h | 48 struct net_if *iface; 51 struct net_if *eth_iface[NET_ETHERNET_BRIDGE_ETH_INTERFACE_COUNT]; 85 int eth_bridge_iface_add(struct net_if *br, struct net_if *iface); 100 int eth_bridge_iface_remove(struct net_if *br, struct net_if *iface); 109 int eth_bridge_get_index(struct net_if *br); 118 struct net_if *eth_bridge_get_by_index(int index);
|
D | conn_mgr_connectivity.h | 119 int conn_mgr_if_connect(struct net_if *iface); 135 int conn_mgr_if_disconnect(struct net_if *iface); 145 bool conn_mgr_if_is_bound(struct net_if *iface); 166 int conn_mgr_if_set_opt(struct net_if *iface, int optname, const void *optval, size_t optlen); 194 int conn_mgr_if_get_opt(struct net_if *iface, int optname, void *optval, size_t *optlen); 208 bool conn_mgr_if_get_flag(struct net_if *iface, enum conn_mgr_if_flag flag); 223 int conn_mgr_if_set_flag(struct net_if *iface, enum conn_mgr_if_flag flag, bool value); 235 int conn_mgr_if_get_timeout(struct net_if *iface); 249 int conn_mgr_if_set_timeout(struct net_if *iface, int timeout);
|
D | wifi_nm.h | 50 struct net_if *iface; 92 struct wifi_nm_instance *wifi_nm_get_instance_iface(struct net_if *iface); 100 unsigned char wifi_nm_get_type_iface(struct net_if *iface); 110 bool wifi_nm_iface_is_sta(struct net_if *iface); 120 bool wifi_nm_iface_is_sap(struct net_if *iface); 133 int wifi_nm_register_mgd_iface(struct wifi_nm_instance *nm, struct net_if *iface); 148 enum wifi_nm_iface_type type, struct net_if *iface); 158 int wifi_nm_unregister_mgd_iface(struct wifi_nm_instance *nm, struct net_if *iface);
|
D | ipv4_autoconf.h | 21 struct net_if; 31 void net_ipv4_autoconf_start(struct net_if *iface); 33 static inline void net_ipv4_autoconf_start(struct net_if *iface) in net_ipv4_autoconf_start() 47 void net_ipv4_autoconf_reset(struct net_if *iface); 49 static inline void net_ipv4_autoconf_reset(struct net_if *iface) in net_ipv4_autoconf_reset()
|
D | dhcpv4_server.h | 32 struct net_if; 72 int net_dhcpv4_server_start(struct net_if *iface, struct in_addr *base_addr); 84 int net_dhcpv4_server_stop(struct net_if *iface); 94 typedef void (*net_dhcpv4_lease_cb_t)(struct net_if *iface, 108 int net_dhcpv4_server_foreach_lease(struct net_if *iface, 127 typedef int (*net_dhcpv4_server_provider_cb_t)(struct net_if *iface,
|
D | ethernet.h | 581 int (*vlan_setup)(const struct device *dev, struct net_if *iface, 612 struct net_if *iface; 641 struct net_if *iface; 667 struct net_if *bridge; 679 struct net_if *iface; 736 void ethernet_init(struct net_if *iface); 952 enum ethernet_hw_caps net_eth_get_hw_capabilities(struct net_if *iface) in net_eth_get_hw_capabilities() 974 int net_eth_get_hw_config(struct net_if *iface, enum ethernet_config_type type, in net_eth_get_hw_config() 997 int net_eth_vlan_enable(struct net_if *iface, uint16_t tag); 999 static inline int net_eth_vlan_enable(struct net_if *iface, uint16_t tag) in net_eth_vlan_enable() [all …]
|
D | net_offload.h | 144 static inline int net_offload_get(struct net_if *iface, in net_offload_get() 170 static inline int net_offload_bind(struct net_if *iface, in net_offload_bind() 194 static inline int net_offload_listen(struct net_if *iface, in net_offload_listen() 234 static inline int net_offload_connect(struct net_if *iface, in net_offload_connect() 279 static inline int net_offload_accept(struct net_if *iface, in net_offload_accept() 321 static inline int net_offload_send(struct net_if *iface, in net_offload_send() 365 static inline int net_offload_sendto(struct net_if *iface, in net_offload_sendto() 416 static inline int net_offload_recv(struct net_if *iface, in net_offload_recv() 445 static inline int net_offload_put(struct net_if *iface, in net_offload_put() 459 static inline int net_offload_get(struct net_if *iface, [all …]
|
D | conn_mgr_monitor.h | 30 struct net_if; 50 void conn_mgr_ignore_iface(struct net_if *iface); 65 void conn_mgr_watch_iface(struct net_if *iface); 74 bool conn_mgr_is_iface_ignored(struct net_if *iface);
|
D | mld.h | 43 int net_ipv6_mld_join(struct net_if *iface, const struct in6_addr *addr); 46 net_ipv6_mld_join(struct net_if *iface, const struct in6_addr *addr) 64 int net_ipv6_mld_leave(struct net_if *iface, const struct in6_addr *addr); 67 net_ipv6_mld_leave(struct net_if *iface, const struct in6_addr *addr) in net_ipv6_mld_leave()
|
D | promiscuous.h | 59 int net_promisc_mode_on(struct net_if *iface); 61 static inline int net_promisc_mode_on(struct net_if *iface) in net_promisc_mode_on() 77 int net_promisc_mode_off(struct net_if *iface); 79 static inline int net_promisc_mode_off(struct net_if *iface) in net_promisc_mode_off()
|
/Zephyr-latest/subsys/net/ip/ |
D | net_stats.h | 36 static inline void net_stats_update_processing_error(struct net_if *iface) in net_stats_update_processing_error() 41 static inline void net_stats_update_ip_errors_protoerr(struct net_if *iface) in net_stats_update_ip_errors_protoerr() 46 static inline void net_stats_update_ip_errors_vhlerr(struct net_if *iface) in net_stats_update_ip_errors_vhlerr() 51 static inline void net_stats_update_bytes_recv(struct net_if *iface, in net_stats_update_bytes_recv() 57 static inline void net_stats_update_bytes_sent(struct net_if *iface, in net_stats_update_bytes_sent() 73 static inline void net_stats_update_ipv6_sent(struct net_if *iface) in net_stats_update_ipv6_sent() 78 static inline void net_stats_update_ipv6_recv(struct net_if *iface) in net_stats_update_ipv6_recv() 83 static inline void net_stats_update_ipv6_drop(struct net_if *iface) in net_stats_update_ipv6_drop() 96 static inline void net_stats_update_ipv6_nd_sent(struct net_if *iface) in net_stats_update_ipv6_nd_sent() 101 static inline void net_stats_update_ipv6_nd_recv(struct net_if *iface) in net_stats_update_ipv6_nd_recv() [all …]
|
D | ipv6.h | 128 int net_ipv6_start_dad(struct net_if *iface, struct net_if_addr *ifaddr); 131 int net_ipv6_send_ns(struct net_if *iface, struct net_pkt *pending, 135 int net_ipv6_send_rs(struct net_if *iface); 136 int net_ipv6_start_rs(struct net_if *iface); 138 int net_ipv6_send_na(struct net_if *iface, const struct in6_addr *src, 211 int net_ipv6_mld_send_single(struct net_if *iface, const struct in6_addr *addr, uint8_t mode); 214 net_ipv6_mld_send_single(struct net_if *iface, const struct in6_addr *addr, uint8_t mode) in net_ipv6_mld_send_single() 278 struct net_nbr *net_ipv6_nbr_lookup(struct net_if *iface, 281 static inline struct net_nbr *net_ipv6_nbr_lookup(struct net_if *iface, in net_ipv6_nbr_lookup() 297 struct net_nbr *net_ipv6_get_nbr(struct net_if *iface, uint8_t idx); [all …]
|
D | route.h | 56 struct net_if *iface; 89 struct net_route_entry *net_route_lookup(struct net_if *iface, 92 static inline struct net_route_entry *net_route_lookup(struct net_if *iface, in net_route_lookup() 114 struct net_route_entry *net_route_add(struct net_if *iface, 138 int net_route_del_by_nexthop(struct net_if *iface, 192 struct net_if *ifaces[CONFIG_NET_MCAST_ROUTE_MAX_IFACES]; 252 struct net_route_entry_mcast *net_route_mcast_add(struct net_if *iface, 284 bool net_route_mcast_iface_add(struct net_route_entry_mcast *entry, struct net_if *iface); 294 bool net_route_mcast_iface_del(struct net_route_entry_mcast *entry, struct net_if *iface); 306 bool net_route_get_info(struct net_if *iface, [all …]
|
/Zephyr-latest/tests/net/conn_mgr_conn/src/ |
D | test_ifaces.h | 18 extern struct net_if *ifa1; 19 extern struct net_if *ifa2; 20 extern struct net_if *ifb; 21 extern struct net_if *ifni; 22 extern struct net_if *ifnull; 23 extern struct net_if *ifnone;
|
D | test_ifaces.c | 16 static void test_iface_init(struct net_if *iface) in test_iface_init() 114 struct net_if *ifa1 = NET_IF_GET(test_iface_a1, 0); 115 struct net_if *ifa2 = NET_IF_GET(test_iface_a2, 0); 116 struct net_if *ifb = NET_IF_GET(test_iface_b, 0); 117 struct net_if *ifni = NET_IF_GET(test_iface_ni, 0); 118 struct net_if *ifnull = NET_IF_GET(test_iface_null, 0); 119 struct net_if *ifnone = NET_IF_GET(test_iface_none, 0);
|
/Zephyr-latest/tests/net/conn_mgr_monitor/src/ |
D | test_ifaces.h | 17 extern struct net_if *if_simp_a; 18 extern struct net_if *if_simp_b; 19 extern struct net_if *if_conn_a; 20 extern struct net_if *if_conn_b; 21 extern struct net_if *if_dummy_eth;
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_raw.c | 17 __weak void ethernet_init(struct net_if *iface) in ethernet_init() 22 __weak void net_eth_carrier_on(struct net_if *iface) in net_eth_carrier_on() 27 __weak void net_eth_carrier_off(struct net_if *iface) in net_eth_carrier_off() 32 __weak int net_recv_data(struct net_if *iface, struct net_pkt *pkt) in net_recv_data() 40 __weak void net_if_carrier_on(struct net_if *iface) in net_if_carrier_on() 45 __weak void net_if_carrier_off(struct net_if *iface) in net_if_carrier_off()
|
/Zephyr-latest/subsys/net/l2/ieee802154/ |
D | ieee802154_utils.h | 24 static inline enum ieee802154_hw_caps ieee802154_radio_get_hw_capabilities(struct net_if *iface) in ieee802154_radio_get_hw_capabilities() 36 static inline int ieee802154_radio_cca(struct net_if *iface) in ieee802154_radio_cca() 48 static inline int ieee802154_radio_set_channel(struct net_if *iface, uint16_t channel) in ieee802154_radio_set_channel() 60 static inline int ieee802154_radio_set_tx_power(struct net_if *iface, int16_t dbm) in ieee802154_radio_set_tx_power() 72 static inline int ieee802154_radio_tx(struct net_if *iface, enum ieee802154_tx_mode mode, in ieee802154_radio_tx() 85 static inline int ieee802154_radio_start(struct net_if *iface) in ieee802154_radio_start() 97 static inline int ieee802154_radio_stop(struct net_if *iface) in ieee802154_radio_stop() 109 static inline int ieee802154_radio_attr_get(struct net_if *iface, in ieee802154_radio_attr_get() 129 static inline void ieee802154_radio_filter_ieee_addr(struct net_if *iface, uint8_t *ieee_addr) in ieee802154_radio_filter_ieee_addr() 148 static inline void ieee802154_radio_filter_short_addr(struct net_if *iface, uint16_t short_addr) in ieee802154_radio_filter_short_addr() [all …]
|
D | ieee802154_priv.h | 38 int ieee802154_radio_send(struct net_if *iface, struct net_pkt *pkt, struct net_buf *frag); 57 int ieee802154_wait_for_clear_channel(struct net_if *iface); 77 bool ieee802154_prepare_for_ack(struct net_if *iface, struct net_pkt *pkt, struct net_buf *frag); 97 int ieee802154_wait_for_ack(struct net_if *iface, bool ack_required);
|
/Zephyr-latest/subsys/net/l2/ethernet/dsa/ |
D | dsa.c | 26 int dsa_register_master_tx(struct net_if *iface, dsa_send_t fn) in dsa_register_master_tx() 35 bool dsa_is_port_master(struct net_if *iface) in dsa_is_port_master() 49 bool dsa_is_port_master(struct net_if *iface) in dsa_is_port_master() 59 static int dsa_check_iface(struct net_if *iface) in dsa_check_iface() 74 int dsa_register_recv_callback(struct net_if *iface, dsa_net_recv_cb_t cb) in dsa_register_recv_callback() 92 struct net_if *dsa_net_recv(struct net_if *iface, struct net_pkt **pkt) in dsa_net_recv() 96 struct net_if *iface_sw; in dsa_net_recv() 145 struct net_if *iface_master, *iface; in dsa_tx() 186 struct net_if *dsa_get_slave_port(struct net_if *iface, int slave_num) in dsa_get_slave_port() 206 int dsa_switch_read(struct net_if *iface, uint16_t reg_addr, uint8_t *value) in dsa_switch_read() [all …]
|
/Zephyr-latest/subsys/net/l2/ppp/ |
D | ppp_mgmt.c | 9 void ppp_mgmt_raise_carrier_on_event(struct net_if *iface) in ppp_mgmt_raise_carrier_on_event() 14 void ppp_mgmt_raise_carrier_off_event(struct net_if *iface) in ppp_mgmt_raise_carrier_off_event() 19 void ppp_mgmt_raise_phase_running_event(struct net_if *iface) in ppp_mgmt_raise_phase_running_event() 24 void ppp_mgmt_raise_phase_dead_event(struct net_if *iface) in ppp_mgmt_raise_phase_dead_event()
|
/Zephyr-latest/subsys/net/l2/ethernet/ |
D | vlan.c | 40 static void vlan_iface_init(struct net_if *iface); 41 static int vlan_interface_attach(struct net_if *vlan_iface, 42 struct net_if *iface); 43 static enum net_verdict vlan_interface_recv(struct net_if *iface, 45 static int vlan_interface_send(struct net_if *iface, struct net_pkt *pkt); 47 static enum virtual_interface_caps vlan_get_capabilities(struct net_if *iface); 54 struct net_if *iface; 55 struct net_if *attached_to; 122 static struct vlan_context *get_vlan_ctx(struct net_if *main_iface, in get_vlan_ctx() 161 static struct vlan_context *get_vlan(struct net_if *iface, in get_vlan() [all …]
|