David Lamparter 
							
						 
					 
					
						
						
						
						
							
						
						
							acddc0ed3c 
							
						 
					 
					
						
						
							
							*: auto-convert to SPDX License IDs  
						
						... 
						
						
						
						Done with a combination of regex'ing and banging my head against a wall.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org> 
						
					 
					
						2023-02-09 14:09:11 +01:00 
						 
				 
			
				
					
						
							
							
								Donatas Abraitis 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							96475dfde9 
							
						 
					 
					
						
						
							
							Merge pull request  #12707  from donaldsharp/missed_enums  
						
						... 
						
						
						
						Missed enums 
						
					 
					
						2023-02-07 22:22:27 +02:00 
						 
				 
			
				
					
						
							
							
								Sam James 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3c8c112df4 
							
						 
					 
					
						
						
							
							pceplib: add <time.h> include for time_t  
						
						... 
						
						
						
						Fixes build on musl. Used for time_t in the header.
Bug: https://bugs.gentoo.org/862558 
Signed-off-by: Sam James <sam@gentoo.org> 
						
					 
					
						2023-02-06 20:31:22 +00:00 
						 
				 
			
				
					
						
							
							
								Donald Sharp 
							
						 
					 
					
						
						
						
						
							
						
						
							fdfa6ecfad 
							
						 
					 
					
						
						
							
							pceplib: Add missing enum's to switch statement  
						
						... 
						
						
						
						Signed-off-by: Donald Sharp <sharpd@nvidia.com> 
						
					 
					
						2023-01-31 15:15:59 -05:00 
						 
				 
			
				
					
						
							
							
								David Lamparter 
							
						 
					 
					
						
						
						
						
							
						
						
							0f9de11a11 
							
						 
					 
					
						
						
							
							*: apply proper format string attributes  
						
						... 
						
						
						
						So that we get warnings about broken format strings.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org> 
						
					 
					
						2023-01-27 12:01:17 +01:00 
						 
				 
			
				
					
						
							
							
								Donald Sharp 
							
						 
					 
					
						
						
						
						
							
						
						
							2816045a6e 
							
						 
					 
					
						
						
							
							pceplib: Fix clang-16 not happy with build  
						
						... 
						
						
						
						In this case it was functions without a prototype
Signed-off-by: Donald Sharp <donaldsharp72@gmail.com> 
						
					 
					
						2022-10-25 20:04:43 -04:00 
						 
				 
			
				
					
						
							
							
								Donatas Abraitis 
							
						 
					 
					
						
						
						
						
							
						
						
							6006b807b1 
							
						 
					 
					
						
						
							
							*: Properly use memset() when zeroing  
						
						... 
						
						
						
						Wrong: memset(&a, 0, sizeof(struct ...));
    Good:  memset(&a, 0, sizeof(a));
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org> 
						
					 
					
						2022-05-11 14:08:47 +03:00 
						 
				 
			
				
					
						
							
							
								Igor Ryzhov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2a3807c3ce 
							
						 
					 
					
						
						
							
							Merge pull request  #11163  from opensourcerouting/fix/same_type_casting  
						
						... 
						
						
						
						*: Avoid casting to the same type as on the left 
						
					 
					
						2022-05-10 00:16:30 +03:00 
						 
				 
			
				
					
						
							
							
								Donatas Abraitis 
							
						 
					 
					
						
						
						
						
							
						
						
							8998807f69 
							
						 
					 
					
						
						
							
							*: Avoid casting to the same type as on the left  
						
						... 
						
						
						
						Just not necessary.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org> 
						
					 
					
						2022-05-08 16:07:42 +03:00 
						 
				 
			
				
					
						
							
							
								Donald Sharp 
							
						 
					 
					
						
						
						
						
							
						
						
							4c98b89e5c 
							
						 
					 
					
						
						
							
							*: Fix doesnt spelling mistakes  
						
						... 
						
						
						
						Signed-off-by: Donald Sharp <sharpd@nvidia.com> 
						
					 
					
						2022-05-06 20:38:40 -04:00 
						 
				 
			
				
					
						
							
							
								Donald Sharp 
							
						 
					 
					
						
						
						
						
							
						
						
							581776faa1 
							
						 
					 
					
						
						
							
							*: Fix spelling of ojbect  
						
						... 
						
						
						
						Signed-off-by: Donald Sharp <sharpd@nvidia.com> 
						
					 
					
						2022-04-02 07:46:19 -04:00 
						 
				 
			
				
					
						
							
							
								Donald Sharp 
							
						 
					 
					
						
						
						
						
							
						
						
							bd6beab0a6 
							
						 
					 
					
						
						
							
							pceplib: Fix uninited data in test vehicle  
						
						... 
						
						
						
						Coverity SA found this.  Fix
Signed-off-by: Donald Sharp <sharpd@nvidia.com> 
						
					 
					
						2022-02-22 11:11:31 -05:00 
						 
				 
			
				
					
						
							
							
								Donald Sharp 
							
						 
					 
					
						
						
						
						
							
						
						
							3d05c4bdcb 
							
						 
					 
					
						
						
							
							pceplib: Fix spelling mistakes  
						
						... 
						
						
						
						Signed-off-by: Donald Sharp <sharpd@nvidia.com> 
						
					 
					
						2022-02-14 12:54:05 -05:00 
						 
				 
			
				
					
						
							
							
								Quentin Young 
							
						 
					 
					
						
						
						
						
							
						
						
							b8cc7b6276 
							
						 
					 
					
						
						
							
							pceplib: fix style issues  
						
						... 
						
						
						
						run clang-format
run clang-format
run clang-format
run clang-format
run clang-format
Signed-off-by: Quentin Young <qlyoung@nvidia.com> 
						
					 
					
						2021-12-06 00:09:13 -05:00 
						 
				 
			
				
					
						
							
							
								Mark Stapp 
							
						 
					 
					
						
						
						
						
							
						
						
							a58ba88856 
							
						 
					 
					
						
						
							
							tests: clean up temp files in libpcep tests  
						
						... 
						
						
						
						Clean up temp files used by some libpcep unit tests.
Signed-off-by: Mark Stapp <mstapp@nvidia.com> 
						
					 
					
						2021-11-02 08:51:52 -04:00 
						 
				 
			
				
					
						
							
							
								David Lamparter 
							
						 
					 
					
						
						
						
						
							
						
						
							c17662db53 
							
						 
					 
					
						
						
							
							pceplib: fix for -Wstrict-prototypes  
						
						... 
						
						
						
						Just some "void" missing between empty braces.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org> 
						
					 
					
						2021-09-02 13:00:35 +02:00 
						 
				 
			
				
					
						
							
							
								Javier Garcia 
							
						 
					 
					
						
						
						
						
							
						
						
							5fe7f5b479 
							
						 
					 
					
						
						
							
							pceplib: Extract fields needed for PcInitiated with Cisco pce. (1/4)  
						
						... 
						
						
						
						1.- Unknown/non-standard tlv where cisco sends BSID.
2.- Non-standard Vendor Info object where cisco sends color.
Co-authored-by: Javier Garcia <javier.garcia@voltanet.io>
Signed-off-by: Sebastien Merle <sebastien@netdef.org>
Signed-off-by: Javier Garcia <javier.garcia@voltanet.io> 
						
					 
					
						2021-06-22 12:04:03 +02:00 
						 
				 
			
				
					
						
							
							
								Igor Ryzhov 
							
						 
					 
					
						
						
						
						
							
						
						
							694f0671c5 
							
						 
					 
					
						
						
							
							pceplib: fix mixup of global/local variables  
						
						... 
						
						
						
						CID 1502790
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com> 
						
					 
					
						2021-05-28 20:39:37 +03:00 
						 
				 
			
				
					
						
							
							
								Javier Garcia 
							
						 
					 
					
						
						
						
						
							
						
						
							fadf00aa54 
							
						 
					 
					
						
						
							
							pceplib: Clean scan-build static analyzer messages.  
						
						... 
						
						
						
						Signed-off-by: Javier Garcia <javier.garcia@voltanet.io> 
						
					 
					
						2021-05-05 12:11:53 +02:00 
						 
				 
			
				
					
						
							
							
								David Lamparter 
							
						 
					 
					
						
						
						
						
							
						
						
							1f8031f79a 
							
						 
					 
					
						
						
							
							*: make sure config.h or zebra.h is first  
						
						... 
						
						
						
						`config.h` has all the defines from autoconf, which may include things
that switch behavior of other included headers (e.g. _GNU_SOURCE
enabling prototypes for additional functions.)
So, the first include in any `.c` file must be either `config.h` (with
the appropriate guard) or `zebra.h` (which includes `config.h` first
thing.)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org> 
						
					 
					
						2021-04-23 12:06:35 +02:00 
						 
				 
			
				
					
						
							
							
								David Lamparter 
							
						 
					 
					
						
						
						
						
							
						
						
							0c4285d77e 
							
						 
					 
					
						
						
							
							build: properly split CFLAGS from AC_CFLAGS  
						
						... 
						
						
						
						`CFLAGS` is a "user variable", not intended to be controlled by
configure itself.  Let's put all the "important" stuff in AC_CFLAGS and
only leave debug/optimization controls in CFLAGS.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org> 
						
					 
					
						2021-04-21 15:42:36 +02:00 
						 
				 
			
				
					
						
							
							
								Mark Stapp 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							53c42c82de 
							
						 
					 
					
						
						
							
							Merge pull request  #8421  from opensourcerouting/xrelfo-arm  
						
						... 
						
						
						
						fix xrelfo on ARM(32) & cross-compile 
						
					 
					
						2021-04-12 08:07:05 -04:00 
						 
				 
			
				
					
						
							
							
								David Lamparter 
							
						 
					 
					
						
						
						
						
							
						
						
							0490ce41c1 
							
						 
					 
					
						
						
							
							pceplib: add missing endian.h and config.h  
						
						... 
						
						
						
						endian.h supplies be*toh() and htobe*() functions.  This fixes the build
on musl libc.  On other systems it seems endian.h comes in transitively
from some other header.
(Also, all .c files should have config.h or zebra.h as the first
include, even if it works without that it's b0rked and only works due to
luck.)
Tested-by: Lucian Cristian <lucian.cristian@gmail.com>
Signed-off-by: David Lamparter <equinox@diac24.net> 
						
					 
					
						2021-04-09 20:41:57 +02:00 
						 
				 
			
				
					
						
							
							
								Mark Stapp 
							
						 
					 
					
						
						
						
						
							
						
						
							2a034138d4 
							
						 
					 
					
						
						
							
							lib: use platform-neutral value for TCP MD5 signature len  
						
						... 
						
						
						
						Use a pcep-specific value for MD5SIG_MAXLEN, use the OS value if
present.
Signed-off-by: Mark Stapp <mjs@voltanet.io> 
						
					 
					
						2021-04-09 08:13:58 -04:00 
						 
				 
			
				
					
						
							
							
								Mark Stapp 
							
						 
					 
					
						
						
						
						
							
						
						
							6f94077061 
							
						 
					 
					
						
						
							
							build: add pceplib test output to gitignore  
						
						... 
						
						
						
						Add some pcep unit-test output files to gitignore.
Signed-off-by: Mark Stapp <mjs@voltanet.io> 
						
					 
					
						2021-03-31 08:27:11 -04:00 
						 
				 
			
				
					
						
							
							
								Mark Stapp 
							
						 
					 
					
						
						
						
						
							
						
						
							cdcb405119 
							
						 
					 
					
						
						
							
							libs: fix race in pcep lib  
						
						... 
						
						
						
						Fix a race in the libpcep timer code; reported by coverity.
Signed-off-by: Mark Stapp <mjs@voltanet.io> 
						
					 
					
						2021-03-25 09:56:11 -04:00 
						 
				 
			
				
					
						
							
							
								Javier Garcia 
							
						 
					 
					
						
						
						
						
							
						
						
							7ed8c4b1fd 
							
						 
					 
					
						
						
							
							pceplib: Fixing coverity messages.  
						
						... 
						
						
						
						Signed-off-by: Javier Garcia <javier.garcia@voltanet.io> 
						
					 
					
						2021-03-20 22:21:09 +01:00 
						 
				 
			
				
					
						
							
							
								David Lamparter 
							
						 
					 
					
						
						
						
						
							
						
						
							d85bf6f1eb 
							
						 
					 
					
						
						
							
							pathd: remove mid-string line breaks  
						
						... 
						
						
						
						cf. workflow.rst ("lines over 80 characters are allowed for text strings
to make it possible to search the code for them"), matching Linux kernel
coding style.
Signed-off-by: David Lamparter <equinox@diac24.net> 
						
					 
					
						2021-03-17 06:39:34 +01:00 
						 
				 
			
				
					
						
							
							
								Javier Garcia 
							
						 
					 
					
						
						
						
						
							
						
						
							749714731e 
							
						 
					 
					
						
						
							
							pceplib: Integrate pcelib into frr  
						
						... 
						
						
						
						Signed-off-by: Brady Johnson <brady@voltanet.io>
Co-authored-by: Javier Garcia <javier.garcia@voltanet.io>
Signed-off-by: Javier Garcia <javier.garcia@voltanet.io> 
						
					 
					
						2021-03-05 12:12:47 +01:00