zephyr/subsys/net/ip
Marcin Niestroj a542de46ac net: l2: ppp: add initial support for PAP authentication
This patch implements optional authentication phase, which is done
between link establishment and network phases. It is part of LCP option
negotiation to decide whether authentication is needed and which
protocol will be used. For now we add only PAP support and try to
negotiate it when some other protocol (e.g. CHAP or EAP) is proposed
earlier. For simplicity reason we only add one way authentication
support, which means that we try to authenticate to the other peer, but
do not require authentication from it.

This is an important step to make PPP work with cellular network modems,
because most of them require to provide username and password within PPP
authentication phase. Those credentials are used by modem to login to
cellular network. In most cases however it is enough to provide dummy
values, because they are not verified. For this reason and simplicity of
this patch we hardcode PAP Peer-ID and Password now.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
2020-08-18 20:03:05 +03:00
..
6lo_private.h
6lo.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
6lo.h
canbus_socket.c
canbus_socket.h
CMakeLists.txt cmake: fix include directories to work with out-of-tree arch 2020-08-05 08:06:07 -04:00
connection.c net: conn: Handle multi interface AF_PACKET recv() properly 2020-06-24 23:34:27 +03:00
connection.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
dhcpv4.c random: Include header where it is used 2020-07-08 21:05:36 -04:00
dhcpv4.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
icmpv4.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
icmpv4.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
icmpv6.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
icmpv6.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ipv4_autoconf_internal.h
ipv4_autoconf.c random: Include header where it is used 2020-07-08 21:05:36 -04:00
ipv4.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ipv4.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ipv6_fragment.c random: Include header where it is used 2020-07-08 21:05:36 -04:00
ipv6_mld.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ipv6_nbr.c net: ip: Fix IPv6 RS message doesn't comply RFC4291 2020-07-15 13:26:58 +02:00
ipv6.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ipv6.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
Kconfig net: tcp2: Make new TCP stack the default 2020-08-09 09:32:15 -04:00
Kconfig.debug kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.ipv4 net: icmpv4: Add support for Timestamp and RR 2019-12-16 11:35:24 +02:00
Kconfig.ipv6 net: openthread: Simplify openthread enabling 2020-06-30 07:48:08 -04:00
Kconfig.mgmt kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
Kconfig.stack kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stats net/iface: Add PM suspend state statistics 2020-04-02 11:07:45 +03:00
nbr.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
nbr.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_context.c random: Include header where it is used 2020-07-08 21:05:36 -04:00
net_core.c net: Collect net_pkt RX detailed timing stats when passing IP stack 2020-08-07 10:12:51 +03:00
net_if.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
net_mgmt.c net: use kernel stacks 2020-08-01 08:13:15 -04:00
net_pkt.c net: Separate net_pkt priority from traffic class 2020-07-31 18:11:51 +02:00
net_private.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_shell.c net: l2: ppp: add initial support for PAP authentication 2020-08-18 20:03:05 +03:00
net_shell.h
net_stats.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_stats.h net: Collect net_pkt RX detailed timing stats when passing IP stack 2020-08-07 10:12:51 +03:00
net_tc_mapping.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_tc.c net: Collect net_pkt RX detailed timing stats when passing IP stack 2020-08-07 10:12:51 +03:00
packet_socket.c
packet_socket.h
promiscuous.c net: promisc: Refactor because of timeout overhaul 2020-04-09 16:07:03 +03:00
route.c net: route: Remove redundant cast when calling net_ipv6_is_prefix 2020-08-14 13:43:10 +03:00
route.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
tcp2_priv.h net: tcp2: fix unaligned access in the TCP2 stack 2020-07-22 15:08:31 +03:00
tcp2.c net: tcp2: Remove the temporary connection handler 2020-08-07 10:35:48 +03:00
tcp2.h net: tcp2: compile out net_tcp_init() in tcp2.h for non-native stacks 2020-08-11 07:23:59 -05:00
tcp_internal.h random: Include header where it is used 2020-07-08 21:05:36 -04:00
tcp.c net: tcp: Reset net_pkt creation time if packet is resent 2020-08-07 10:12:51 +03:00
tp_priv.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
tp.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
tp.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
trickle.c random: Include header where it is used 2020-07-08 21:05:36 -04:00
udp_internal.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
udp.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
utils.c net: ip: copy to wrong destination in z_vrfy_net_addr_pton() 2020-07-06 18:00:07 -04:00