Home
last modified time | relevance | path

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

1234

/third_party/lwip/src/include/lwip/
Dnetif.h233 #define netif_set_client_data(netif, id, data) netif_get_client_data(netif, id) = (data) argument
237 #define netif_get_client_data(netif, id) (netif)->client_data[(id)] argument
260 struct netif { struct
263 struct netif *next; argument
273 /** Array of IPv6 addresses for this netif. */ argument
288 netif_input_fn input; argument
294 netif_output_fn output; argument
299 netif_linkoutput_fn linkoutput; argument
305 netif_output_ip6_fn output_ip6; argument
310 netif_status_callback_fn status_callback; argument
[all …]
Dip.h236 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument
244 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \ argument
249 #define ip_output_if_hdrincl(p, src, dest, netif) \ argument
270 #define ip_netif_get_local_ip(netif, dest) (IP_IS_V6(dest) ? \ argument
281 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument
283 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \ argument
287 #define ip_output_if_hdrincl(p, src, dest, netif) \ argument
291 #define ip_netif_get_local_ip(netif, dest) \ argument
301 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument
303 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \ argument
[all …]
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
Ddhcp6.h78 #define dhcp6_remove_struct(netif) netif_set_client_data(netif, LWIP_NETIF_CLIENT_DATA_INDEX_DHCP6,… argument
96 #define netif_dhcp6_data(netif) ((struct dhcp6*)netif_get_client_data(netif, LWIP_NETIF_CLIENT_DATA… argument
Dautoip.h80 #define autoip_remove_struct(netif) do { (netif)->autoip = NULL; } while (0) argument
91 #define netif_autoip_data(netif) ((struct autoip*)netif_get_client_data(netif, LWIP_NETIF_CLIENT_DA… argument
/third_party/lwip/src/core/ipv4/
Dautoip.c76 #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 …]
Digmp.c128 igmp_start(struct netif *netif) in igmp_start()
160 igmp_stop(struct netif *netif) in igmp_stop()
192 igmp_report_groups(struct netif *netif) in igmp_report_groups()
295 igmp_remove_group(struct netif *netif, struct igmp_group *group) in igmp_remove_group()
452 struct netif *netif; in igmp_joingroup() local
485 igmp_joingroup_netif(struct netif *netif, const ip4_addr_t *groupaddr) in igmp_joingroup_netif()
549 struct netif *netif; in igmp_leavegroup() local
581 igmp_leavegroup_netif(struct netif *netif, const ip4_addr_t *groupaddr) in igmp_leavegroup_netif()
643 struct netif *netif; in igmp_tmr() local
667 igmp_timeout(struct netif *netif, struct igmp_group *group) in igmp_timeout()
[all …]
Ddhcp.c89 #define LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, state, msg, msg_type, options_len_ptr) argument
92 #define LWIP_HOOK_DHCP_PARSE_OPTION(netif, dhcp, state, msg, msg_type, option, len, pbuf, offset) d… argument
113 #define DHCP_MAX_MSG_LEN(netif) (netif->mtu) argument
283 dhcp_handle_nak(struct netif *netif) in dhcp_handle_nak()
309 dhcp_check(struct netif *netif) in dhcp_check()
338 dhcp_handle_offer(struct netif *netif, struct dhcp_msg *msg_in) in dhcp_handle_offer()
372 dhcp_select(struct netif *netif) in dhcp_select()
438 struct netif *netif; in dhcp_coarse_tmr() local
476 struct netif *netif; in dhcp_fine_tmr() local
505 dhcp_timeout(struct netif *netif) in dhcp_timeout()
[all …]
Detharp.c99 struct netif *netif; member
120 #define ETHARP_SET_ADDRHINT(netif, addrhint) do { if (((netif) != NULL) && ((netif)->hints != NULL… argument
123 #define ETHARP_SET_ADDRHINT(netif, addrhint) (etharp_cached_entry = (addrhint)) argument
256 etharp_find_entry(const ip4_addr_t *ipaddr, u8_t flags, struct netif *netif) in etharp_find_entry()
422 etharp_update_arp_entry(struct netif *netif, const ip4_addr_t *ipaddr, struct eth_addr *ethaddr, u8…
505 struct netif *netif; local
559 etharp_cleanup_netif(struct netif *netif)
583 etharp_find_addr(struct netif *netif, const ip4_addr_t *ipaddr,
612 etharp_get_entry(size_t i, ip4_addr_t **ipaddr, struct netif **netif, struct eth_addr **eth_ret)
641 etharp_input(struct pbuf *p, struct netif *netif)
[all …]
Dip4.c133 struct netif *netif = LWIP_HOOK_IP4_ROUTE_SRC(src, dest); in ip4_route_src() local
155 struct netif *netif; in ip4_route() local
283 struct netif *netif; in ip4_forward() local
374 ip4_input_accept(struct netif *netif) in ip4_input_accept()
429 struct netif *netif; local
789 u8_t proto, struct netif *netif)
803 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
829 u8_t proto, struct netif *netif)
841 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
1031 struct netif *netif; local
[all …]
/third_party/lwip/src/core/
Dnetif.c151 netif_loopif_init(struct netif *netif) in netif_loopif_init()
239 netif_add_noaddr(struct netif *netif, void *state, netif_init_fn init, netif_input_fn input) in netif_add_noaddr()
276 netif_add(struct netif *netif, in netif_add()
460 netif_do_set_ipaddr(struct netif *netif, const ip4_addr_t *ipaddr, ip_addr_t *old_addr) in netif_do_set_ipaddr()
503 netif_set_ipaddr(struct netif *netif, const ip4_addr_t *ipaddr) in netif_set_ipaddr()
526 netif_do_set_netmask(struct netif *netif, const ip4_addr_t *netmask, ip_addr_t *old_nm) in netif_do_set_netmask()
563 netif_set_netmask(struct netif *netif, const ip4_addr_t *netmask) in netif_set_netmask()
590 netif_do_set_gw(struct netif *netif, const ip4_addr_t *gw, ip_addr_t *old_gw) in netif_do_set_gw()
624 netif_set_gw(struct netif *netif, const ip4_addr_t *gw) in netif_set_gw()
661 netif_set_addr(struct netif *netif, const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, in netif_set_addr()
[all …]
/third_party/lwip/src/netif/
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()
191 slipif_output_v6(struct netif *netif, struct pbuf *p, const ip6_addr_t *ipaddr) in slipif_output_v6()
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
360 slipif_init(struct netif *netif) in slipif_init()
426 slipif_poll(struct netif *netif) in slipif_poll()
449 slipif_process_rxqueue(struct netif *netif) in slipif_process_rxqueue()
488 slipif_rxbyte_enqueue(struct netif *netif, u8_t data) in slipif_rxbyte_enqueue()
[all …]
Dlowpan6_ble.c176 rfc7668_set_local_addr_eui64(struct netif *netif, const u8_t *local_addr, size_t local_addr_len) in rfc7668_set_local_addr_eui64()
187 rfc7668_set_local_addr_mac48(struct netif *netif, const u8_t *local_addr, size_t local_addr_len, in… in rfc7668_set_local_addr_mac48()
198 rfc7668_set_peer_addr_eui64(struct netif *netif, const u8_t *peer_addr, size_t peer_addr_len) in rfc7668_set_peer_addr_eui64()
209 rfc7668_set_peer_addr_mac48(struct netif *netif, const u8_t *peer_addr, size_t peer_addr_len, int i… in rfc7668_set_peer_addr_mac48()
230 rfc7668_compress(struct netif *netif, struct pbuf *p) in rfc7668_compress()
328 rfc7668_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr) in rfc7668_output()
347 rfc7668_input(struct pbuf * p, struct netif *netif) in rfc7668_input()
410 rfc7668_if_init(struct netif *netif) in rfc7668_if_init()
Dethernet.c81 ethernet_input(struct pbuf *p, struct netif *netif)
270 ethernet_output(struct netif * netif, struct pbuf * p,
/third_party/lwip/src/core/ipv6/
Dmld6.c96 mld6_stop(struct netif *netif) in mld6_stop()
125 mld6_report_groups(struct netif *netif) in mld6_report_groups()
194 mld6_remove_group(struct netif *netif, struct mld_group *group) in mld6_remove_group()
318 struct netif *netif; in mld6_joingroup() local
347 mld6_joingroup_netif(struct netif *netif, const ip6_addr_t *groupaddr) in mld6_joingroup_netif()
407 struct netif *netif; in mld6_leavegroup() local
437 mld6_leavegroup_netif(struct netif *netif, const ip6_addr_t *groupaddr) in mld6_leavegroup_netif()
498 struct netif *netif; in mld6_tmr() local
563 mld6_send(struct netif *netif, struct mld_group *group, u8_t type) in mld6_send()
Ddhcp6.c74 #define LWIP_HOOK_DHCP6_APPEND_OPTIONS(netif, dhcp6, state, msg, msg_type, options_len_ptr, max_len) argument
77 #define LWIP_HOOK_DHCP6_PARSE_OPTION(netif, dhcp6, state, msg, msg_type, option, len, pbuf, offset)… argument
185 dhcp6_set_struct(struct netif *netif, struct dhcp6 *dhcp6) in dhcp6_set_struct()
206 void dhcp6_cleanup(struct netif *netif) in dhcp6_cleanup()
217 dhcp6_get_struct(struct netif *netif, const char *dbg_requester) in dhcp6_get_struct()
299 dhcp6_enable_stateful(struct netif *netif) in dhcp6_enable_stateful()
316 dhcp6_enable_stateless(struct netif *netif) in dhcp6_enable_stateless()
346 dhcp6_disable(struct netif *netif) in dhcp6_disable()
377 dhcp6_create_msg(struct netif *netif, struct dhcp6 *dhcp6, u8_t message_type, in dhcp6_create_msg()
452 dhcp6_information_request(struct netif *netif, struct dhcp6 *dhcp6) in dhcp6_information_request()
[all …]
Dnd6.c147 nd6_duplicate_addr_detected(struct netif *netif, s8_t addr_idx) in nd6_duplicate_addr_detected()
186 nd6_process_autoconfig_prefix(struct netif *netif, in nd6_process_autoconfig_prefix()
962 struct netif *netif; in nd6_tmr() local
1181 nd6_send_ns(struct netif *netif, const ip6_addr_t *target_addr, u8_t flags) in nd6_send_ns()
1266 nd6_send_na(struct netif *netif, const ip6_addr_t *target_addr, u8_t flags) in nd6_send_na()
1341 nd6_send_rs(struct netif *netif) in nd6_send_rs()
1642 nd6_is_prefix_in_netif(const ip6_addr_t *ip6addr, struct netif *netif) in nd6_is_prefix_in_netif()
1682 nd6_select_router(const ip6_addr_t *ip6addr, struct netif *netif) in nd6_select_router()
1756 struct netif *netif; in nd6_find_route() local
1790 nd6_get_router(const ip6_addr_t *router_addr, struct netif *netif) in nd6_get_router()
[all …]
Dip6.c283 ip6_select_source_address(struct netif *netif, const ip6_addr_t *dest) in ip6_select_source_address()
368 struct netif *netif; in ip6_forward() local
469 ip6_input_accept(struct netif *netif) in ip6_input_accept()
512 struct netif *netif; local
1151 u8_t nexth, struct netif *netif)
1175 u8_t nexth, struct netif *netif)
1294 struct netif *netif; local
1353 struct netif *netif; local
/third_party/lwip/doc/
DNO_SYS_SampleCode.c22 netif_output(struct netif *netif, struct pbuf *p) in netif_output()
44 netif_status_callback(struct netif *netif) in netif_status_callback()
50 netif_init(struct netif *netif) in netif_init()
68 struct netif netif; in main() local
/third_party/lwip/test/fuzz/
Dfuzz.c61 static err_t lwip_tx_func(struct netif *netif, struct pbuf *p) in lwip_tx_func()
68 static err_t testif_init(struct netif *netif) in testif_init()
95 static void input_pkt(struct netif *netif, const u8_t *data, size_t len) in input_pkt()
113 static void input_pkts(struct netif *netif, const u8_t *data, size_t len) in input_pkts()
/third_party/lwip/test/unit/tcp/
Dtest_tcp.c104 struct netif netif; in START_TEST() local
166 struct netif netif; in START_TEST() local
212 struct netif netif; in START_TEST() local
304 struct netif netif; in START_TEST() local
338 struct netif netif; in START_TEST() local
388 struct netif netif; in START_TEST() local
447 struct netif netif; in START_TEST() local
629 struct netif netif; in START_TEST() local
717 struct netif netif; in START_TEST() local
793 struct netif netif; in test_tcp_tx_full_window_lost() local
[all …]
/third_party/lwip/test/unit/core/
Dtest_netif.c32 testif_tx_func(struct netif *netif, struct pbuf *p) in testif_tx_func()
40 testif_init(struct netif *netif) in testif_init()
67 test_netif_ext_callback_dummy(struct netif* netif, netif_nsc_reason_t reason, const netif_ext_callb… in test_netif_ext_callback_dummy()
77 test_netif_ext_callback(struct netif* netif, netif_nsc_reason_t reason, const netif_ext_callback_ar… in test_netif_ext_callback()
/third_party/lwip/src/apps/snmp/
Dsnmp_mib2_interfaces.c68 struct netif *netif; in interfaces_get_value() local
98 struct netif *netif; in interfaces_Table_get_cell_instance() local
126 struct netif *netif; in interfaces_Table_get_next_cell_instance() local
159 struct netif *netif = (struct netif *)instance->reference.ptr; in interfaces_Table_get_value() local
295 struct netif *netif = (struct netif *)instance->reference.ptr; in interfaces_Table_set_value() local
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
279 struct netif *netif; in ip_AddrTable_get_next_cell_instance_and_value() local
317 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()
399 struct netif *netif; in ip_RouteTable_get_cell_value() local
433 struct netif *netif; in ip_RouteTable_get_next_cell_instance_and_value() local
488 struct netif *netif; in ip_NetToMediaTable_get_cell_value_core() local
534 struct netif *netif; in ip_NetToMediaTable_get_cell_value() local
562 struct netif *netif; in ip_NetToMediaTable_get_next_cell_instance_and_value() local
/third_party/lwip/test/unit/mqtt/
Dtest_mqtt.c12 static err_t test_mqtt_netif_output(struct netif *netif, struct pbuf *p, in test_mqtt_netif_output()
22 test_mqtt_init_netif(struct netif *netif, const ip_addr_t *ip_addr, const ip_addr_t *netmask) in test_mqtt_init_netif()
74 struct netif netif; in START_TEST() local

1234