Home
last modified time | relevance | path

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

1234

/third_party/lwip/src/include/lwip/
Dnetif.h236 #define netif_set_client_data(netif, id, data) netif_get_client_data(netif, id) = (data) argument
240 #define netif_get_client_data(netif, id) (netif)->client_data[(id)] argument
263 struct netif { struct
266 struct netif *next; argument
276 /** Array of IPv6 addresses for this netif. */ argument
291 netif_input_fn input; argument
297 netif_output_fn output; argument
302 netif_linkoutput_fn linkoutput; argument
308 netif_output_ip6_fn output_ip6; argument
313 netif_status_callback_fn status_callback; argument
[all …]
Dip.h263 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument
271 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \ argument
276 #define ip_output_if_hdrincl(p, src, dest, netif) \ argument
304 #define ip_netif_get_local_ip(netif, dest) (IP_IS_V6(dest) ? \ argument
315 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument
317 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \ argument
321 #define ip_output_if_hdrincl(p, src, dest, netif) \ argument
325 #define ip_netif_get_local_ip(netif, dest) \ argument
335 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ argument
337 #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
293 #define IP6_ADDR_ZONECHECK_NETIF(ip6addr, netif) LWIP_ASSERT("IPv6 netif zone check failed", \ argument
302 #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
/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 …]
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; local
476 struct netif *netif; local
509 struct netif *netif; local
[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; local
489 igmp_joingroup_netif(struct netif *netif, const ip4_addr_t *groupaddr)
553 struct netif *netif; local
589 igmp_leavegroup_netif(struct netif *netif, const ip4_addr_t *groupaddr)
651 struct netif *netif; local
676 struct netif *netif = NULL; local
[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
285 etharp_find_entry(const ip4_addr_t *ipaddr, u8_t flags, struct netif *netif) in etharp_find_entry()
451 etharp_update_arp_entry(struct netif *netif, const ip4_addr_t *ipaddr, struct eth_addr *ethaddr, u8…
534 struct netif *netif; local
591 etharp_cleanup_netif(struct netif *netif)
615 etharp_find_addr(struct netif *netif, const ip4_addr_t *ipaddr,
644 etharp_get_entry(size_t i, ip4_addr_t **ipaddr, struct netif **netif, struct eth_addr **eth_ret)
673 etharp_input(struct pbuf *p, struct netif *netif)
[all …]
Dip4.c137 struct netif *netif = LWIP_HOOK_IP4_ROUTE_SRC(src, dest); in ip4_route_src() local
167 struct netif *netif; local
316 struct netif *netif; local
407 ip4_input_accept(struct netif *netif)
462 struct netif *netif; local
830 u8_t proto, struct netif *netif)
844 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
870 u8_t proto, struct netif *netif)
882 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
1072 struct netif *netif; local
[all …]
/third_party/lwip/src/core/
Dnetif.c146 struct net_group *get_net_group_from_netif(struct netif *netif) { in get_net_group_from_netif()
164 netif_loopif_init(struct netif *netif) in netif_loopif_init()
279 netif_add_noaddr(struct netif *netif, struct net_group *group, void *state, netif_init_fn init, net… in netif_add_noaddr()
324 netif_add(struct netif *netif, struct net_group *group,
540 netif_do_set_ipaddr(struct netif *netif, const ip4_addr_t *ipaddr, ip_addr_t *old_addr)
583 netif_set_ipaddr(struct netif *netif, const ip4_addr_t *ipaddr)
606 netif_do_set_netmask(struct netif *netif, const ip4_addr_t *netmask, ip_addr_t *old_nm)
643 netif_set_netmask(struct netif *netif, const ip4_addr_t *netmask)
670 netif_do_set_gw(struct netif *netif, const ip4_addr_t *gw, ip_addr_t *old_gw)
704 netif_set_gw(struct netif *netif, const ip4_addr_t *gw)
[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()
/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; local
351 mld6_joingroup_netif(struct netif *netif, const ip6_addr_t *groupaddr)
411 struct netif *netif; local
445 mld6_leavegroup_netif(struct netif *netif, const ip6_addr_t *groupaddr)
506 struct netif *netif; local
538 struct netif *netif = NULL; local
604 mld6_send(struct netif *netif, struct mld_group *group, u8_t type)
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; local
1176 struct netif *netif = NULL; local
1289 nd6_send_ns(struct netif *netif, const ip6_addr_t *target_addr, u8_t flags)
1374 nd6_send_na(struct netif *netif, const ip6_addr_t *target_addr, u8_t flags)
1449 nd6_send_rs(struct netif *netif)
1750 nd6_is_prefix_in_netif(const ip6_addr_t *ip6addr, struct netif *netif)
1790 nd6_select_router(const ip6_addr_t *ip6addr, struct netif *netif)
1864 struct netif *netif; local
[all …]
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 …]
Dip6.c335 ip6_select_source_address(struct netif *netif, const ip6_addr_t *dest)
420 struct netif *netif; local
521 ip6_input_accept(struct netif *netif)
564 struct netif *netif; local
1211 u8_t nexth, struct netif *netif)
1235 u8_t nexth, struct netif *netif)
1354 struct netif *netif; local
1425 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/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/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/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
/third_party/libcoap/examples/lwip/
Dserver.c66 struct netif *netif = (struct netif *)arg; in wait_for_input() local
78 struct netif netif; in main() local
Dclient.c67 struct netif *netif = (struct netif *)arg; in wait_for_input() local
79 struct netif netif; in main() local

1234