zephyr/subsys
Seppo Takalo d5f4ca3b64 net: ppp: Allow peer-options to be rejected
There are cases, for example when peer is requesting two DNS
addresses, but we can only give one, we should reject the secondary
DNS request first, before sending NAK to acceptable options.

Option parser can reject a parameter by returning -ENOTSUP and when
it wants to NAK the parameter, it returns -EINVAL.

On RFC 1661:
Configure-Reject
  If some Configuration Options received in a Configure-Request are
  not recognizable or are not acceptable for negotiation (as
  configured by a network administrator), then the implementation
  MUST transmit a Configure-Reject.

Configure-Nak
  If every instance of the received Configuration Options is
  recognizable, but some values are not acceptable, then the
  implementation MUST transmit a Configure-Nak.

So as stated by RFC, we should start the negotiation by rejecting all
parameters that we cannot configure. I added an example of rejecting
DNS requests, if we don't have those.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2025-07-19 13:24:41 -04:00
..
bindesc bindesc: fix typo in errno (ENONET->ENOENT) 2025-06-20 13:21:39 -04:00
bluetooth bluetooth: classic: add role switch API 2025-07-19 09:59:16 +02:00
canbus kconfig: fix typo in (soc, subsys) 2025-07-01 10:58:54 -10:00
console
dap dap: add DAP backend USB 2025-03-11 18:54:24 +01:00
debug kconfig: fix typo in (soc, subsys) 2025-07-01 10:58:54 -10:00
demand_paging demand_paging: use ram backend by default 2025-01-09 15:50:37 +01:00
dfu dfu: Add support for new MCUboot swap using offset mode 2025-02-10 19:05:25 +01:00
disk
dsp
emul
fb cfb: added API for drawing a circle 2025-06-26 22:09:48 -05:00
fs subsys/fs/fuse_fs_access: Remove NATIVE_APPLICATION support 2025-07-19 09:38:15 +02:00
input input: Fix function signature of input_thread 2025-06-18 07:41:25 +02:00
ipc ipc_service: ipc_icbmsg: fix unchecked error in icmsg_open() 2025-07-11 13:15:04 -10:00
jwt modules: mbedtls: make key exchange Kconfigs depend on, not select 2025-05-13 22:22:43 -04:00
llext llext: adopt SHELL_HELP macro 2025-06-21 18:34:08 +02:00
logging kconfig: fix typo in (soc, subsys) 2025-07-01 10:58:54 -10:00
lorawan lorawan: add link check support. 2025-04-17 17:23:12 +02:00
mem_mgmt
mgmt net: Fix alignment error with net_ipaddr_copy() 2025-07-04 13:16:32 -05:00
modbus modbus: fix Apache-2.0 SPDX License identifier case 2025-06-11 10:23:46 -07:00
modem ubx: Refactor codebase in order to improve usability 2025-05-30 19:40:19 +02:00
net net: ppp: Allow peer-options to be rejected 2025-07-19 13:24:41 -04:00
pm pm: fix typo in KConfig 2025-07-04 13:05:56 -05:00
pmci pmci: mctp: I2C+GPIO Target binding 2025-07-19 09:53:21 +02:00
portability subsys/portability/cmsis_rtos_v2: Fix code compliance issues 2025-05-21 12:35:28 +02:00
profiling arch: Unify declaration of text region 2025-04-23 02:15:25 +02:00
random random: Correct Mutex define 2025-03-04 21:55:45 +01:00
retention
rtio rtio: workq: Restructure workqueue as a threads pool with a queue 2025-07-08 18:35:26 -05:00
sd sd: fix incorrect error logging 2025-06-05 15:02:15 -05:00
secure_storage secure_storage: its: transform: improve expandability 2025-05-27 15:46:37 +02:00
sensing sensing: Fix static assert in get_sensor_by_dev() 2025-01-18 12:40:03 +01:00
settings settings: Add TF-M ITS backend 2025-07-19 09:45:56 +02:00
shell net: mgmt: Convert the mgmt API to use 64-bit masks 2025-06-18 10:54:44 +02:00
sip_svc
stats
storage storage: flash_map: Add support for sub-partitions 2025-06-11 10:13:56 -07:00
task_wdt task_wdt: Add suspend and resume API functions 2025-04-02 13:05:14 +02:00
testsuite tests: ztest: add test hold status in DEVICE_PM 2025-07-11 13:44:16 -05:00
timing
tracing subsys/tracing/backend_posix: Remove NATIVE_APPLICATION support 2025-07-19 09:38:15 +02:00
usb usb: device_next: uac2: support higher bInterval values 2025-06-27 09:02:29 -10:00
zbus zbus: add user-configurable HEAP_MEM_POOL_ADD_SIZE_ZBUS 2025-07-19 09:56:21 +02:00
CMakeLists.txt pmci: Move MCTP into the PMCI subsys 2025-04-21 12:43:33 +02:00
Kconfig pmci: Move MCTP into the PMCI subsys 2025-04-21 12:43:33 +02:00