zephyr/include/net
Marcin Niestroj 03c774e58c net: l2: ppp: drop ppp_context's is_network_up
There is already a variable 'network_protos_up', which stores number of
network protocols being up. Additionally each network protocol has its
own state represented by is_ip{,v6}cp_up. Use the latter in FSM up() and
down() callbacks.

This fixes a case when both IPCP and IPv6CP protocols are going
down. When using ctx->is_network_up only one of them (the first) was
deinitialized correctly, second stayed always up (at least partially,
e.g. not calling ppp_network_down()).

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
2020-07-06 17:55:44 -04:00
..
bt.h
buf.h net: buf.h: Add static initialiser to net_buf_struct 2020-07-04 07:08:33 -04:00
can.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
coap_link_format.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
coap.h net: coap: Add coap_get_option_int public method 2020-06-09 21:25:11 +03:00
dhcpv4.h
dns_resolve.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
dummy.h
ethernet_mgmt.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ethernet_vlan.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ethernet.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gptp.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
hostname.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
http_client.h net: http: client: Add port number to HTTP Header 2020-06-15 16:59:20 +02:00
http_parser_state.h
http_parser_url.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
http_parser.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ieee802154_mgmt.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ieee802154_radio.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ieee802154.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ipv4_autoconf.h
lldp.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
lwm2m.h net: lwm2m: Add ObjLnk resource type support 2020-06-15 22:13:34 +03:00
mii.h
mqtt.h net: mqtt: Constify utf8 pointer in mqtt_utf8 struct 2020-06-12 16:47:36 +02:00
net_config.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_conn_mgr.h
net_context.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_core.h net: log_strdup() was missing when printing thread name 2020-06-16 15:54:20 +03:00
net_event.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_if.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_ip.h net: IPv6: Fix source address for mesh multicast destination 2020-06-16 19:14:52 +02:00
net_l2.h net: l2: Remove unnecessary() 2020-06-17 08:55:59 +03:00
net_linkaddr.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_mgmt.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_offload.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_pkt.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_stats.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_timeout.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
openthread.h net: l2: openthread: Implement enable API function 2020-07-02 08:43:45 -04:00
ppp.h net: l2: ppp: drop ppp_context's is_network_up 2020-07-06 17:55:44 -04:00
promiscuous.h
ptp_time.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sntp.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
socket_can.h
socket_net_mgmt.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
socket_offload.h
socket_select.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
socket.h
socketutils.h
tftp.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
tls_credentials.h
trickle.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
udp.h
websocket.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
wifi_mgmt.h net: wifi: add extern "C" to wifi_mgmt.h 2020-06-08 19:48:05 +03:00
wifi.h