summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ipsec-tools: Fix copying fd_set prior to select5-freebsd-12Christian Mauderer2023-05-311-0/+7
| | | | | | | | | | | | | The racoon session code copies an fd_set from one variable into another prior to calling select. That works well for simple structures. In libbsd we have to allocate fd_sets instead of using fixed structures to avoid a problem with file numbers bigger than FD_SETSIZE. The simple assignment didn't work in that case. This patch makes sure that a memcpy is used instead. Close #4914
* if_atsam: Recover from receive freezesSebastian Huber2022-06-011-5/+15
| | | | | | | | | | | Under unknown conditions the receive path ended up in a frozen state. In this state, the DMA and driver descriptor head were equal and all receive descriptors had the used bit set. So, the DMA was unable to store received frames. However, the receive daemon was never woken up to refill the receive buffers. It seems that the RXUBR interrupt can be used to recover from this state. Update #4651.
* if_atsam: Shorten sysctl namesSebastian Huber2022-06-011-27/+27
| | | | Update #4651.
* if_atsam: Add tx/rx desc sysctlsSebastian Huber2022-06-011-0/+77
| | | | Update #4651.
* if_atsam: Add register sysctlsSebastian Huber2022-06-011-2/+39
| | | | Update #4651.
* if_atsam: Allow stats reset via sysctlSebastian Huber2022-06-011-0/+25
| | | | Update #4651.
* tcpdump: Do not use signals and chrootSebastian Huber2022-05-121-2/+20
| | | | Close #4649.
* tcpdump: Ensure loop monitor terminationSebastian Huber2022-05-121-15/+29
| | | | Update #4649.
* tcpdump: No loop monitor if reading from fileSebastian Huber2022-05-121-8/+8
| | | | Update #4649.
* tcpdump: Close pcap dumper at program exitSebastian Huber2022-05-121-0/+13
| | | | Update #4649.
* tcpdump: Use rtems_task_exit()Sebastian Huber2022-05-121-2/+1
| | | | Update #4649.
* tcpdump: Make loop monitor cooperativeSebastian Huber2022-05-121-0/+3
| | | | | | This helps a bit if the fgetc() is non-blocking. Update #4649.
* Add program destructor supportSebastian Huber2022-05-123-0/+64
| | | | Update #4649.
* tcpdump01: New testSebastian Huber2022-05-122-0/+293
| | | | Update #4649.
* if_atsam: Fix interface stopSebastian Huber2022-05-111-2/+15
| | | | Close #4651.
* if_atsam: Support transmit bpfSebastian Huber2022-05-111-0/+2
| | | | Update #4651.
* if_atsam: Do not use rtems_bsdnet_newproc()Sebastian Huber2022-05-111-6/+11
| | | | Update #4651.
* if_atsam: Support IFCAP_VLAN_HWTAGGINGSebastian Huber2022-05-111-1/+13
| | | | | | This is required to enable checksum offload for vlan interfaces. Update #4651.
* if_atsam: Optimize receiveSebastian Huber2022-05-111-116/+72
| | | | | | | | Do not use the interface mutex in the receive loop. Avoid multiple reads of DMA descriptor words. Use a compile-time constant for the receive DMA descriptor count to simplify calculations. Update #4651.
* if_atsam: Optimize transmitSebastian Huber2022-05-111-282/+218
| | | | | | | | Use the transmit interface handler to avoid a transmit task/interrupt. Use a compile-time constant for the transmit DMA descriptor count to simplify calculations. Update #4651.
* if_atsam: Add multicast supportSebastian Huber2022-05-111-36/+75
| | | | Update #4651.
* if_atsam: Fix start/stop of interfaceSebastian Huber2022-05-111-41/+57
| | | | Update #4651.
* if_atsam: Fix interrupt setupSebastian Huber2022-05-111-1/+0
| | | | | | The interrupt is enabled by rtems_interrupt_handler_install(). Update #4651.
* if_atsam: Do not disable the Ethernet CRCSebastian Huber2022-05-111-8/+1
| | | | | | The Ethernet CRC and padding must be always generated by the MAC. Update #4651.
* if_atsam: Enable all capabilitiesSebastian Huber2022-05-111-0/+1
| | | | Update #4651.
* if_atsam: Fix warningsSebastian Huber2022-05-111-11/+6
| | | | Update #4651.
* pfctl: Fix global state initializationSebastian Huber2022-05-114-2/+12
| | | | Close #4653.
* pf02: Fix shell envirionment initializationSebastian Huber2022-05-111-3/+2
| | | | Update #4653.
* ppp: Fix transmitting dataChristian Mauderer2022-02-103-9/+35
| | | | | | | | | | | | The pppstart expected that a driver write would somehow magically process all data passed to the write function. Because ppp disables all buffering that originally has been in termios, that assumption is not true for all but polled drivers. With this patch, the pppstart now gets and processes the feedback that is returned from the driver via rtems_termios_dequeue_characters. Fixes #4494
* bsp/motorola_powerpc: Add dc, ukphy and legacy PCI supportChris Johns2021-09-187-2/+43
| | | | | | | | | | - Add the dc net dev to the BSP - Add the ukphy support - Add PCI Legacy bus support to the PowerPC Closes #4514
* rtemsbsd/bus: Add PCI support to the nexus busChris Johns2021-09-183-123/+321
| | | | | | | | | | | | | | - Add PCI IO region support - Add support map buffers to PCI address space - Add BSP conditional IO space support. Some PC implementations have PCI IO space mapped differently to memory space and this needs to be reflected in the busspace. - Include bsp.h to pick per BSP configuration. Closes #4514
* i386: Remove unneeded include header filesJan Sommer2021-06-091-6/+0
| | | | Closes #4452
* waf_libbsd.py: Apply path-mappings to header-pathsJan Sommer2021-06-092-11/+18
| | | | Update #4452
* ipsec-tools/pfkey: Fix socket leakChristian Mauderer2021-05-111-0/+7
| | | | | | | | | | | setkey uses pfkey_open to open a socket. But setkey doesn't close the socket. The libipsec functions are used only by user space applications (setkey and racoon). Adding the wrapper for socket makes sure that the opened socket is registered and closes if the application exits. Fixes #4404
* ping6: Honor file descriptor maximumChristian Mauderer2021-05-111-0/+11
| | | | | | This is basically the same as the patch for ping. Fix #4361
* racoon/session: Honor file descriptor maximumChristian Mauderer2021-05-112-3/+43
| | | | | | | Dynamically allocate a big enough file descriptor set for select(). A better solution would be to use kqueue() instead of select(). Update #4361
* ehci_pci: Add to build systemMoyano, Gabriel2021-03-081-0/+2
| | | | Closes #4263
* ehci_pci: Import from freebsd-orgMoyano, Gabriel2021-03-082-0/+635
| | | | see #4263
* NVD(4): Fix logical block count calculationSebastian Huber2020-10-271-4/+5
| | | | Close #4165.
* NVD(4): Fix NULL pointer access in nvd_sync()Sebastian Huber2020-10-271-14/+14
| | | | Update #4165.
* mcast01: Fix write to read-only stringSebastian Huber2020-10-271-2/+3
|
* Import FreeBSD license files.Christian Mauderer2020-09-2810-0/+449
| | | | Fix #4082
* builder.py: Add case for plain text files.Christian Mauderer2020-09-281-0/+8
| | | | Update #4082
* Add helper script to find licenses.Christian Mauderer2020-09-281-0/+121
| | | | Update #4082
* mcast01: Add test programSebastian Huber2020-09-102-0/+286
| | | | Close #4073.
* ifmcstat: Port to RTEMSSebastian Huber2020-09-1012-2/+119
| | | | Update #4073.
* ifmcstat: Import from FreeBSDSebastian Huber2020-09-102-0/+1320
| | | | Update #4073.
* nfsclient: Next attempt to fix 64-bit targets5.1-freebsd-12Sebastian Huber2020-08-181-62/+27
| | | | | | | In serporidok use the same structures used to hand over to the XDR encode/decode routines. We must not mix packed and unpacked structures. Close #4024.
* telnet: Use rtems_shell_dup_current_env()Sebastian Huber2020-08-066-6/+6
| | | | Update #3859.
* Fix linker errors with minimal build setSebastian Huber2020-07-082-0/+9
|