aboutsummaryrefslogtreecommitdiffstats
path: root/ell
AgeCommit message (Expand)AuthorFilesLines
3 daysdbus: add dbus-over-tcp supportRam Subramanian1-0/+111
2024-04-16util: Add L_BITS_{SET|CLEAR}Denis Kenzior1-0/+14
2024-04-16util: Add L_BIT_{SET|CLEAR|TEST} macrosDenis Kenzior1-0/+30
2024-04-16util: Remove confusing static keyword useDenis Kenzior1-2/+2
2024-03-28util: Add portable casting preprocessor macros.Grant Erickson1-5/+28
2024-03-19utf8: Do not use strlen when size is providedDenis Kenzior1-4/+4
2024-03-18ecdh: add unlikely() check for NULL parametersJames Prestwood1-0/+7
2024-03-18ecc: add l_ecc_scalar_cloneJames Prestwood3-0/+10
2024-03-11queue: remove unneeded entry advancementJames Prestwood1-2/+0
2024-03-11gvariant-util: remove unneeded initializerJames Prestwood1-1/+0
2024-03-11dbus: remove unused 'type' variableJames Prestwood1-2/+1
2024-03-11cert: remove usused elem_data variableJames Prestwood1-3/+1
2024-02-22queue: Fix names of l_queue_match_func_t parametersSteve Schrock1-1/+1
2024-02-22pem: fix typo in a conditional in pem_next()Ram Subramanian1-1/+1
2024-02-14log: add l_noticeJames Prestwood1-0/+2
2024-02-05utf8: Add l_ascii_strupDenis Kenzior3-0/+34
2024-02-05utf8: Add l_ascii_strdownDenis Kenzior3-0/+36
2024-02-05utf8: Add l_ascii_tolowerDenis Kenzior1-0/+8
2024-02-05utf8: Add l_ascii_toupperDenis Kenzior1-0/+9
2024-02-02useful: Check whether _auto_ is already definedDenis Kenzior1-0/+2
2024-02-01cleanup: Use _l_ preffix for all cleanup functionsDenis Kenzior3-6/+6
2024-02-01useful: Move close cleanup into ell/util.hDenis Kenzior2-14/+11
2024-01-29file: Add l_file_set_contentsDenis Kenzior3-0/+58
2024-01-29dir: Add l_dir_createDenis Kenzior3-0/+55
2024-01-18dhcp: add settable max attempts, fix timeout overflow to zeroJames Prestwood4-3/+42
2024-01-04tls: Fix spelling of similarly, possession and renegotiationMarcel Holtmann2-3/+3
2024-01-04ecc: Fix spelling of numberMarcel Holtmann1-1/+1
2024-01-04netconfig: Fix spelling of disabling and addressMarcel Holtmann1-2/+2
2024-01-04main: Fix spelling of terminateMarcel Holtmann1-1/+1
2024-01-04acd: Fix spelling of announceMarcel Holtmann1-1/+1
2024-01-04dhcp: Fix spelling of simultaneouslyMarcel Holtmann1-1/+1
2024-01-04signal: Fix spelling of opaqueMarcel Holtmann1-1/+1
2024-01-04strv: Fix spelling of emptyMarcel Holtmann1-1/+1
2024-01-04util: Fix spelling of stringMarcel Holtmann1-2/+2
2024-01-04timeout: Fix spelling of opaqueMarcel Holtmann1-1/+1
2024-01-04ringbuf: Fix spelling of opaque and significantMarcel Holtmann1-2/+2
2024-01-04queue: Fix spelling of opaqueMarcel Holtmann1-1/+1
2024-01-04io: Fix spelling of opaqueMarcel Holtmann1-1/+1
2024-01-04idle: Fix spelling of opaqueMarcel Holtmann1-1/+1
2024-01-04hashmap: Fix spelling of opaqueMarcel Holtmann1-1/+1
2024-01-04string: Fix spelling of opaqueMarcel Holtmann1-1/+1
2023-12-11queue: Fix spelling of destroyMarcel Holtmann1-2/+2
2023-12-11hashmap: Fix spelling of destroyMarcel Holtmann1-1/+1
2023-12-11dhcp: Fix spelling of destroyMarcel Holtmann2-3/+3
2023-12-11acd: Fix spelling of destroyMarcel Holtmann2-3/+3
2023-12-11uintset: Move standard includes before C++ guardMarcel Holtmann1-4/+4
2023-12-11timeout: Move standard includes before C++ guardMarcel Holtmann1-2/+2
2023-12-11tester: Move standard includes before C++ guardMarcel Holtmann1-4/+4
2023-12-11random: Move standard includes before C++ guardMarcel Holtmann1-4/+4
2023-12-11time: Move standard includes before C++ guardMarcel Holtmann1-3/+3
2023-11-25netlink: Add workaround for missing NLM_F_ACK_TLVS and NLM_F_CAPPEDMarcel Holtmann1-0/+2
2023-11-24netconfig: Always set DHCP MAC address on startDenis Kenzior1-3/+6
2023-11-19netlink: Workaround missing NETLINK_EXT_ACK defineMarcel Holtmann1-0/+9
2023-11-09ecc: Add helper for creating a scalar modulo curve orderMarcel Holtmann3-0/+38
2023-11-09ecc: Introduce _vli_mmod_slow that works with curve_p and curve_nMarcel Holtmann2-0/+78
2023-11-09ecc: Make product variable of _vli_mmod_fast constMarcel Holtmann2-2/+2
2023-11-09rtnl: Fixup rtnetlink includesDenis Kenzior3-2/+10
2023-11-07ecc: Add helper for multiplying a scalar with a curve generatorMarcel Holtmann3-0/+15
2023-11-02minheap: Add initial implementationDenis Kenzior3-0/+214
2023-10-29util: Add l_newa for on-stack allocationsDenis Kenzior1-0/+20
2023-10-29useful: Add __always_inlineDenis Kenzior1-0/+4
2023-10-17genl: fix ‘attr_grp.next_len’ may be used uninitializedMaxim Lyubimov1-2/+4
2023-10-17ecc: add l_ecc_point_is_infinityJames Prestwood3-0/+7
2023-10-11ecc: fix incorrect derivation of compressed pointsJames Prestwood1-1/+17
2023-10-11useful: Move SWAP macro to useful.hDenis Kenzior2-2/+3
2023-09-22ell: Use SPDX-License-Identifier instead of license boilerplateMarcel Holtmann131-2344/+397
2023-09-22dhcp6: Move includes before the __cplusplus guardMarcel Holtmann1-2/+2
2023-09-22dhcp: Move includes before the __cplusplus guardMarcel Holtmann1-2/+2
2023-09-22dhcp: Add missing HAVE_CONFIG_H guardMarcel Holtmann1-0/+5
2023-09-22cert: Move includes before the __cplusplus guardMarcel Holtmann1-3/+3
2023-09-22acd: Move includes before the __cplusplus guardMarcel Holtmann1-2/+2
2023-09-22ecc: Move includes before the __cplusplus guardMarcel Holtmann1-3/+3
2023-09-22icmp6: Move includes before the __cplusplus guardMarcel Holtmann1-2/+2
2023-09-22key: Move includes before the __cplusplus guardMarcel Holtmann1-4/+4
2023-09-22netconfig: Move includes before the __cplusplus guardMarcel Holtmann1-2/+2
2023-09-22time: Add extra empty lines for visual separationMarcel Holtmann1-0/+2
2023-09-22sysctl: Use the include guard instead of pragma onceMarcel Holtmann1-3/+6
2023-09-22pem: Remove unneeded HAVE_CONFIG_H guardMarcel Holtmann1-4/+0
2023-09-05build: fix symbol visibilityDenis Kenzior1-0/+3
2023-09-04build: Fix symbol visibilityDenis Kenzior1-0/+4
2023-07-17netconfig: Use l_sysctlDenis Kenzior1-50/+22
2023-07-17sysctl: Add initial implementationDenis Kenzior3-0/+152
2023-07-16settings: Use l_safe_atou32Denis Kenzior1-17/+1
2023-07-16util: Add l_safe_atou32 & l_safe_atox{8,16,32} utilitiesDenis Kenzior2-0/+87
2023-05-22genl: fix l_genl_family_cancel to wait for NLMSG_DONEJames Prestwood1-1/+13
2023-04-16cipher: If in is null, skip adding it to iovecDenis Kenzior1-3/+8
2023-04-16treewide: Prefer flexible arrays to zero-length arraysDenis Kenzior3-3/+3
2023-01-23ell: Add l_util_hexstringv and l_util_hexstringv_upperDenis Kenzior3-0/+64
2022-12-30tls: Add l_tls_get_session_resumedAndrew Zaborowski4-0/+13
2022-12-13dhcp: Work around for blocked unicast requestsDenis Kenzior1-1/+16
2022-11-22checksum: commonize checksum creationJames Prestwood1-66/+37
2022-11-09tls: Add missing continue in tls_load_cached_server_sessionAndrew Zaborowski1-0/+1
2022-11-09tls: Implement RFC 5746 Secure RenegotiationAndrew Zaborowski3-5/+216
2022-11-09tls: Improve renegotiationAndrew Zaborowski1-3/+16
2022-11-09tls: Allow ServerHello extensions when resuming sessionAndrew Zaborowski2-21/+19
2022-11-08tls: Server mode session cachingAndrew Zaborowski2-40/+305
2022-11-08tls: Refactor session storage for server modeAndrew Zaborowski3-101/+133
2022-11-01cert: Check validity dates in l_certchain_verifyAndrew Zaborowski1-34/+127
2022-11-01cert: Fix logic in cert_parse_asn1_time checkAndrew Zaborowski1-1/+1
2022-10-28tls: Client session resumptionAndrew Zaborowski3-37/+286
2022-10-28tls: Add support for caching client session statesAndrew Zaborowski4-2/+208
2022-10-28tls: Fix an RFC referenceAndrew Zaborowski1-1/+1
2022-10-28cert: Add l_cert_get_valid_timesAndrew Zaborowski4-0/+190
2022-10-28time: Add time_realtime_nowAndrew Zaborowski2-0/+9
2022-10-07dhcp: Simplify check in BPF filterAndrew Zaborowski1-12/+2
2022-10-07netconfig: Set preferred lifetimes on DHCP addressesAndrew Zaborowski1-2/+2
2022-10-04dhcp6: Don't require Client ID in Information-request replyAndrew Zaborowski1-3/+10
2022-10-04netconfig: Stop ongoing work on failureAndrew Zaborowski1-23/+30
2022-10-04netconfig: Return SLAAC+DHCP6 DNS info from gettersAndrew Zaborowski1-17/+30
2022-10-04netconfig: Enable stateless DHCP modeAndrew Zaborowski1-14/+39
2022-10-04dhcp6: Fix emitting LEASE_OBTAINED in stateless modeAndrew Zaborowski1-4/+7
2022-09-26dhcp: Send LEASE_EXPIRED in case RENEW gets NAKedDenis Kenzior1-2/+4
2022-09-20netconfig: Handle missing optimistic_dad /proc fileAndrew Zaborowski1-3/+5
2022-09-20icmp6,netconfig: Skip SLLAO if RS sent from optimistic addressAndrew Zaborowski4-14/+50
2022-09-20netconfig: Handle DNS data from l_icmp6_routerAndrew Zaborowski1-6/+154
2022-09-20netconfig: Set .v6_configured when we set an addressAndrew Zaborowski1-0/+1
2022-09-20net: Allow padding in net_domain_list_parseAndrew Zaborowski4-6/+12
2022-09-19netconfig: Control optimistic DADAndrew Zaborowski3-1/+51
2022-09-19netconfig: Create SLAAC addressAndrew Zaborowski1-10/+174
2022-09-19netconfig: Decouple icmp6 start from dhcp6 startAndrew Zaborowski2-12/+93
2022-09-19rtnl: Add l_rtnl_address_get_in_addrAndrew Zaborowski3-0/+11
2022-09-19icmp6: Switch socket from AF_INET6 to AF_PACKETAndrew Zaborowski5-118/+213
2022-09-19icmp6: Parse RDNSS and DNSSL optionsAndrew Zaborowski2-2/+106
2022-09-19icmp6: Save SLAAC prefixes from RAsAndrew Zaborowski3-35/+77
2022-08-16netconfig: Add l_netconfig_unconfigureAndrew Zaborowski3-0/+67
2022-08-16netconfig: API to disable/enable ACDAndrew Zaborowski3-12/+30
2022-07-26tls: Do not set verify_data_length unless neededDenis Kenzior3-35/+22
2022-07-26useful: Add maxsize()Denis Kenzior1-0/+8
2022-07-26tls-suites: Add ECDSA suites from RFC 8422Denis Kenzior1-0/+119
2022-07-26tls: Add helper to find hash function by idDenis Kenzior1-5/+12
2022-07-26tls: Add helper for DigitallySigned validationDenis Kenzior1-27/+60
2022-07-26tls: Support peer certificates that use ECDSADenis Kenzior1-5/+19
2022-07-26key: ECDSA data is given in x962 formatDenis Kenzior2-7/+6
2022-07-26cert/key: Add support for EC based certificatesDenis Kenzior4-2/+19
2022-07-26genl: remove 'msg' from l_genl_attrJames Prestwood2-3/+0
2022-07-26genl: make l_genl_attr_recurse take a const pointerJames Prestwood2-2/+3
2022-07-22uintset: add l_uintset_subtractJames Prestwood3-0/+41
2022-07-01netconfig: Fix leaking domain name stringAndrew Zaborowski1-2/+3
2022-07-01netconfig: Restore net.ipv6.conf...disable_ipv6 on stopAndrew Zaborowski1-10/+59
2022-07-01useful: Add a cleanup handler for fd variablesAndrew Zaborowski2-3/+16
2022-07-01dhcp: Set lease->bound_time before emitting eventAndrew Zaborowski1-2/+1
2022-06-22netconfig: Add getters for DNS addresses and domain namesAndrew Zaborowski3-0/+77
2022-06-17netconfig: Add l_netconfig_reset_configAndrew Zaborowski3-0/+22
2022-06-17netconfig: Start ACD before committing static IPv4Andrew Zaborowski1-7/+64
2022-06-17netconfig: Set a limit on number of routes from ICMPv6Andrew Zaborowski1-0/+5
2022-06-17netconfig: Ratelimit route lifetime updatesAndrew Zaborowski1-61/+122
2022-06-17netconfig: Write gateway MAC from DHCP to ARP cacheAndrew Zaborowski1-0/+33
2022-06-17netconfig: Write /proc/sys/net files to enable IPv6Andrew Zaborowski1-2/+64
2022-06-17netconfig: Wait for link-local address before DHCPv6Andrew Zaborowski1-3/+148
2022-06-17netconfig: Expire addresses and routesAndrew Zaborowski2-20/+152
2022-06-17netconfig: Drop rtnl parameter to l_netconfig_apply_rtnlAndrew Zaborowski2-16/+14
2022-06-17netconfig: Don't set prefsrc on gateway route for nowAndrew Zaborowski1-1/+11
2022-06-17netconfig: Reset {v4,v6}_configured to false on netconfig stopAndrew Zaborowski1-0/+2
2022-06-14rtnl: add global RTNL connection getterDenis Kenzior3-0/+18
2022-06-14genl: Restore handling of errorsDenis Kenzior3-17/+29
2022-06-13netlink: Enable extended ACKs if debug handler setAndrew Zaborowski1-1/+35
2022-06-13genl,netlink: Move extended ACK code to netlink-privateAndrew Zaborowski3-57/+75
2022-06-13acd: Emit event as the last statement in handlerAndrew Zaborowski1-4/+4
2022-06-10missing: use PTRDIFF_MAX instead of -1James Prestwood1-1/+1
2022-06-10cert-crypto: pragma false positive (-Wmaybe-uninitialized)James Prestwood1-0/+3
2022-06-09build: util: Quiet clang duplicate 'const' warningDenis Kenzior1-1/+1
2022-06-09dhcp: Remove dead codeDenis Kenzior1-19/+0
2022-06-06build: fix time.h related breakage on muslMilan P. Stanić5-1/+5
2022-06-06dhcp6-transport: Remove udp_fd fieldGreg Depoire--Ferrer1-6/+0
2022-06-06main: Accept FD 0 as epoll_fdGreg Depoire--Ferrer1-9/+7
2022-05-26tls: Fix state check on Client HelloAndrew Zaborowski1-1/+1
2022-05-26tls: Add l_tls_reset functionAndrew Zaborowski3-0/+24
2022-05-26tls: Flush record buffers on l_tls_closeAndrew Zaborowski1-0/+3
2022-05-20netconfig: Avoid returning internal l_queuesAndrew Zaborowski2-26/+29
2022-05-20netconfig: Add missing NULL check for routes from RAAndrew Zaborowski1-2/+3
2022-05-19netconfig: Pass in the addr to netconfig_route_newDenis Kenzior1-2/+1
2022-05-18icmp6: Ignore bad prefixes per RFC4862Andrew Zaborowski1-2/+30
2022-05-18netconfig: Add l_netconfig_get_{dhcp6,icmp6}_clientAndrew Zaborowski3-0/+24
2022-05-18netconfig: Handle DHCPv6 eventsAndrew Zaborowski1-0/+132
2022-05-18netconfig: Create routes from Router AdvertisementsAndrew Zaborowski1-15/+278
2022-05-18rtnl: Move l_rtnl_route declaration to private headerAndrew Zaborowski2-24/+46
2022-05-18netconfig: Support IPv6 static configurationsAndrew Zaborowski1-29/+128
2022-05-18net: Add net_prefix_from_ipv6 utilityAndrew Zaborowski1-0/+18
2022-05-18dhcp: CLIENT_ENTER_STATE should log as INFOMichael Johnson1-3/+1
2022-05-18dhcp-transport: Do not leak fds during bindDenis Kenzior1-0/+4
2022-05-18dhcp: Use bound_time for retransmission timersDenis Kenzior1-5/+6
2022-05-18time: Add converters from struct {timespec|timeval}Denis Kenzior1-7/+13
2022-05-18time: Fixup whitspaceDenis Kenzior1-2/+2
2022-05-18dhcp,dhcp6,icmp6,time: Convert timestamps to CLOCK_BOOTTIMEAndrew Zaborowski5-4/+41
2022-05-17dhcp: Add priority to loggingMichael Johnson2-20/+32
2022-05-16main: warn when fd value is too largeDenis Kenzior1-1/+1
2022-05-16dhcp{6}-transport: Check l_io_new returnDenis Kenzior2-0/+10
2022-05-16icmp6: Check l_io_new return valueDenis Kenzior1-4/+9
2022-05-16acd: Check l_io_new return valueDenis Kenzior1-4/+9
2022-05-16netlink: Simplify creation logicDenis Kenzior1-14/+14
2022-05-16genl: Check return value of l_io_newDenis Kenzior1-1/+6
2022-05-12acd: Print strerror on failureDenis Kenzior1-5/+13
2022-04-26netconfig: Add DHCP override and static IP APIAndrew Zaborowski3-5/+341
2022-04-26net: Rename l_net_subnet_matches to l_net_prefix_matchesAndrew Zaborowski1-1/+1
2022-04-22icmp6: Parse extra optionsAndrew Zaborowski2-14/+110
2022-04-22rtnl: Fix l_rtnl_route_get_protocolAndrew Zaborowski1-1/+1
2022-04-22icmp6,dhcp6,dhcp: Ensure buffer space for SCM_TIMESTAMPAndrew Zaborowski3-7/+14
2022-04-22rtnl: Check return from l_rtnl_route_new_gatewayDenis Kenzior1-0/+3
2022-04-18netconfig: Exit on errors in netconfig_dhcp_event_handlerAndrew Zaborowski1-6/+12
2022-04-18icmp6: Emit L_ICMP6_CLIENT_EVENT_ROUTER_FOUND for all RAsAndrew Zaborowski2-12/+15