/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/include/lwip/ |
H A D | netif.h | 136 struct netif { struct 138 struct netif *next; argument 147 netif_input_fn input; argument 151 netif_output_fn output; argument 155 netif_linkoutput_fn linkoutput; argument 157 /** This function is called when the netif state is set to up or down argument 159 netif_status_callback_fn status_callback; argument 164 netif_status_callback_fn link_callback; argument 168 netif_status_callback_fn remove_callback; argument 174 /** the DHCP client state information for this netif */ argument [all …]
|
/nrf52832-nimble/rt-thread/components/net/uip/rt-thread/ |
H A D | uip_netif.h | 94 struct netif { struct 96 struct netif *next; argument 105 err_t (* input)(struct pbuf *p, struct netif *inp); argument 109 err_t (* output)(struct netif *netif, struct pbuf *p, argument 114 err_t (* linkoutput)(struct netif *netif, struct pbuf *p); argument 118 void (* status_callback)(struct netif *netif); argument 123 void (* link_callback)(struct netif *netif); argument 129 /** the DHCP client state information for this netif */ argument 133 /** the AutoIP client state information for this netif */ argument 137 /* the hostname for this netif, NULL is a valid value */ argument [all …]
|
H A D | uip_netif.c | 9 void netif_set_default(struct netif *netif) in netif_set_default() 13 void netif_set_addr(struct netif *netif, struct ip_addr *ipaddr, struct ip_addr *netmask, in netif_set_addr() 27 netif_add(struct netif *netif, struct ip_addr *ipaddr, struct ip_addr *netmask, in netif_add() 30 err_t (* init)(struct netif *netif), in netif_add() 50 err_t etharp_output(struct netif *netif, struct pbuf *q, struct ip_addr *ipaddr) in etharp_output()
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/ |
H A D | netif.h | 215 #define netif_set_client_data(netif, id, data) netif_get_client_data(netif, id) = (data) argument 219 #define netif_get_client_data(netif, id) (netif)->client_data[(id)] argument 225 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 261 netif_output_ip6_fn output_ip6; argument 266 netif_status_callback_fn status_callback; argument [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/ |
H A D | netif.h | 233 #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 …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/ipv4/ |
H A D | autoip.c | 90 #define LWIP_AUTOIP_RAND(netif) ( (((u32_t)((netif->hwaddr[5]) & 0xff) << 24) | \ argument 102 #define LWIP_AUTOIP_CREATE_SEED_ADDR(netif) \ argument 133 autoip_set_struct(struct netif *netif, struct autoip *autoip) in autoip_set_struct() 150 autoip_restart(struct netif *netif) in autoip_restart() 160 autoip_handle_arp_conflict(struct netif *netif) in autoip_handle_arp_conflict() 196 autoip_create_addr(struct netif *netif, ip_addr_t *ipaddr) in autoip_create_addr() 229 autoip_arp_probe(struct netif *netif) in autoip_arp_probe() 242 autoip_arp_announce(struct netif *netif) in autoip_arp_announce() 255 autoip_bind(struct netif *netif) in autoip_bind() 285 autoip_start(struct netif *netif) in autoip_start() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/ipv4/ |
H A D | autoip.c | 76 #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() 124 autoip_restart(struct netif *netif) in autoip_restart() 135 autoip_handle_arp_conflict(struct netif *netif) in autoip_handle_arp_conflict() 168 autoip_create_addr(struct netif *netif, ip4_addr_t *ipaddr) in autoip_create_addr() 203 autoip_arp_probe(struct netif *netif) in autoip_arp_probe() 216 autoip_arp_announce(struct netif *netif) in autoip_arp_announce() 227 autoip_bind(struct netif *netif) in autoip_bind() 254 autoip_start(struct netif *netif) in autoip_start() [all …]
|
H A D | dhcp.c | 99 #define DHCP_MAX_MSG_LEN(netif) (netif->mtu) argument 265 dhcp_handle_nak(struct netif *netif) in dhcp_handle_nak() 291 dhcp_check(struct netif *netif) in dhcp_check() 320 dhcp_handle_offer(struct netif *netif) in dhcp_handle_offer() 352 dhcp_select(struct netif *netif) in dhcp_select() 411 struct netif *netif = netif_list; in dhcp_coarse_tmr() local 451 struct netif *netif = netif_list; in dhcp_fine_tmr() local 483 dhcp_timeout(struct netif *netif) in dhcp_timeout() 530 dhcp_t1_timeout(struct netif *netif) in dhcp_t1_timeout() 558 dhcp_t2_timeout(struct netif *netif) in dhcp_t2_timeout() [all …]
|
H A D | igmp.c | 128 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 486 igmp_joingroup_netif(struct netif *netif, const ip4_addr_t *groupaddr) in igmp_joingroup_netif() 548 struct netif *netif; in igmp_leavegroup() local 581 igmp_leavegroup_netif(struct netif *netif, const ip4_addr_t *groupaddr) in igmp_leavegroup_netif() 641 struct netif *netif = netif_list; in igmp_tmr() local 666 igmp_timeout(struct netif *netif, struct igmp_group *group) in igmp_timeout() [all …]
|
H A D | etharp.c | 100 struct netif *netif; member 121 #define ETHARP_SET_HINT(netif, hint) if (((netif) != NULL) && ((netif)->addr_hint != NULL)) \ argument 124 #define ETHARP_SET_HINT(netif, hint) (etharp_cached_entry = (hint)) argument 258 etharp_find_entry(const ip4_addr_t *ipaddr, u8_t flags, struct netif* netif) in etharp_find_entry() 424 etharp_update_arp_entry(struct netif *netif, const ip4_addr_t *ipaddr, struct eth_addr *ethaddr, u8… 507 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(u8_t i, ip4_addr_t **ipaddr, struct netif **netif, struct eth_addr **eth_ret) 641 etharp_input(struct pbuf *p, struct netif *netif) [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ipv4/ |
H A D | autoip.c | 76 #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 …]
|
H A D | igmp.c | 128 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 …]
|
H A D | dhcp.c | 89 #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 277 dhcp_handle_nak(struct netif *netif) in dhcp_handle_nak() 303 dhcp_check(struct netif *netif) in dhcp_check() 332 dhcp_handle_offer(struct netif *netif, struct dhcp_msg *msg_in) in dhcp_handle_offer() 366 dhcp_select(struct netif *netif) in dhcp_select() 432 struct netif *netif; in dhcp_coarse_tmr() local 470 struct netif *netif; in dhcp_fine_tmr() local 499 dhcp_timeout(struct netif *netif) in dhcp_timeout() [all …]
|
H A D | etharp.c | 99 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 …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/ |
H A D | netif.c | 140 netif_loopif_init(struct netif *netif) in netif_loopif_init() 241 netif_add(struct netif *netif, in netif_add() 352 netif_set_addr(struct netif *netif, const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, in netif_set_addr() 377 netif_remove(struct netif *netif) in netif_remove() 474 struct netif *netif; in netif_find() local 507 netif_set_ipaddr(struct netif *netif, const ip4_addr_t *ipaddr) in netif_set_ipaddr() 557 netif_set_gw(struct netif *netif, const ip4_addr_t *gw) in netif_set_gw() 580 netif_set_netmask(struct netif *netif, const ip4_addr_t *netmask) in netif_set_netmask() 604 netif_set_default(struct netif *netif) in netif_set_default() 624 netif_set_up(struct netif *netif) in netif_set_up() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/ |
H A D | netif.c | 91 netif_loopif_init(struct netif *netif) in netif_loopif_init() 139 netif_add(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask, in netif_add() 221 netif_set_addr(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask, in netif_set_addr() 235 netif_remove(struct netif *netif) in netif_remove() 292 struct netif *netif; in netif_find() local 323 netif_set_ipaddr(struct netif *netif, ip_addr_t *ipaddr) in netif_set_ipaddr() 388 netif_set_gw(struct netif *netif, ip_addr_t *gw) in netif_set_gw() 409 netif_set_netmask(struct netif *netif, ip_addr_t *netmask) in netif_set_netmask() 430 netif_set_default(struct netif *netif) in netif_set_default() 453 void netif_set_up(struct netif *netif) in netif_set_up() [all …]
|
H A D | dhcp.c | 104 #define DHCP_MAX_MSG_LEN(netif) (netif->mtu) argument 197 dhcp_handle_nak(struct netif *netif) in dhcp_handle_nak() 225 dhcp_check(struct netif *netif) in dhcp_check() 252 dhcp_handle_offer(struct netif *netif) in dhcp_handle_offer() 283 dhcp_select(struct netif *netif) in dhcp_select() 339 struct netif *netif = netif_list; in dhcp_coarse_tmr() local 371 struct netif *netif = netif_list; in dhcp_fine_tmr() local 402 dhcp_timeout(struct netif *netif) in dhcp_timeout() 465 dhcp_t1_timeout(struct netif *netif) in dhcp_t1_timeout() 487 dhcp_t2_timeout(struct netif *netif) in dhcp_t2_timeout() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ |
H A D | netif.c | 151 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() 457 netif_do_set_ipaddr(struct netif *netif, const ip4_addr_t *ipaddr, ip_addr_t *old_addr) in netif_do_set_ipaddr() 500 netif_set_ipaddr(struct netif *netif, const ip4_addr_t *ipaddr) in netif_set_ipaddr() 523 netif_do_set_netmask(struct netif *netif, const ip4_addr_t *netmask, ip_addr_t *old_nm) in netif_do_set_netmask() 560 netif_set_netmask(struct netif *netif, const ip4_addr_t *netmask) in netif_set_netmask() 587 netif_do_set_gw(struct netif *netif, const ip4_addr_t *gw, ip_addr_t *old_gw) in netif_do_set_gw() 621 netif_set_gw(struct netif *netif, const ip4_addr_t *gw) in netif_set_gw() 658 netif_set_addr(struct netif *netif, const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, in netif_set_addr() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/netif/ |
H A D | slipif.c | 116 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 …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/netif/ |
H A D | slipif.c | 116 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 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() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/ipv6/ |
H A D | mld6.c | 91 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()
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/netif/ |
H A D | slipif.c | 115 slipif_output(struct netif *netif, struct pbuf *p, ip_addr_t *ipaddr) in slipif_output() 170 slipif_rxbyte(struct netif *netif, u8_t c) in slipif_rxbyte() 267 slipif_rxbyte_input(struct netif *netif, u8_t c) in slipif_rxbyte_input() 290 struct netif *netif = (struct netif *)nf; in slipif_loop_thread() local 318 slipif_init(struct netif *netif) in slipif_init() 380 slipif_poll(struct netif *netif) in slipif_poll() 402 slipif_process_rxqueue(struct netif *netif) in slipif_process_rxqueue() 440 slipif_rxbyte_enqueue(struct netif *netif, u8_t data) in slipif_rxbyte_enqueue() 479 slipif_received_byte(struct netif *netif, u8_t data) in slipif_received_byte() 497 slipif_received_bytes(struct netif *netif, u8_t *data, u8_t len) in slipif_received_bytes()
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ipv6/ |
H A D | mld6.c | 96 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()
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/doc/ |
H A D | NO_SYS_SampleCode.c | 20 static err_t netif_output(struct netif *netif, struct pbuf *p) in netif_output() 41 static void netif_status_callback(struct netif *netif) in netif_status_callback() 46 static err_t netif_init(struct netif *netif) in netif_init() 63 struct netif netif; in main() local
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/doc/ |
H A D | NO_SYS_SampleCode.c | 22 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
|