Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isisd, lib: add some codepoints usually shared with other vendors #17957

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

isisd, lib: add some codepoints usually shared with other vendors

d95b65d
Select commit
Loading
Failed to load commit list.
Open

isisd, lib: add some codepoints usually shared with other vendors #17957

isisd, lib: add some codepoints usually shared with other vendors
d95b65d
Select commit
Loading
Failed to load commit list.
frrbot / frrbot completed Jan 30, 2025 in 6s

Style and/or linter errors found

Style and/or linter errors found

Details

Thanks for your contribution to FRR!

Click for style suggestions

diff --git a/lib/srv6.h b/lib/srv6.h
index 7113af630..54d7feea2 100644
--- a/lib/srv6.h
+++ b/lib/srv6.h
@@ -174,24 +174,24 @@ struct srv6_locator_chunk {
  * https://www.iana.org/assignments/segment-routing/segment-routing.xhtml
  */
 enum srv6_endpoint_behavior_codepoint {
-	SRV6_ENDPOINT_BEHAVIOR_RESERVED         = 0x0000,
-	SRV6_ENDPOINT_BEHAVIOR_END              = 0x0001,
-	SRV6_ENDPOINT_BEHAVIOR_END_PSP          = 0x0002,
-	SRV6_ENDPOINT_BEHAVIOR_END_X            = 0x0005,
-	SRV6_ENDPOINT_BEHAVIOR_END_X_PSP        = 0x0006,
-	SRV6_ENDPOINT_BEHAVIOR_END_DT6          = 0x0012,
-	SRV6_ENDPOINT_BEHAVIOR_END_DT4          = 0x0013,
-	SRV6_ENDPOINT_BEHAVIOR_END_DT46         = 0x0014,
-	SRV6_ENDPOINT_BEHAVIOR_END_PSP_USD      = 0x001D,
-	SRV6_ENDPOINT_BEHAVIOR_END_X_PSP_USD    = 0x0021,
-	SRV6_ENDPOINT_BEHAVIOR_END_NEXT_CSID    = 0x002B,
-	SRV6_ENDPOINT_BEHAVIOR_END_X_NEXT_CSID  = 0x002C,
-	SRV6_ENDPOINT_BEHAVIOR_END_NEXT_CSID_PSP_USD   = 0x0030,
+	SRV6_ENDPOINT_BEHAVIOR_RESERVED = 0x0000,
+	SRV6_ENDPOINT_BEHAVIOR_END = 0x0001,
+	SRV6_ENDPOINT_BEHAVIOR_END_PSP = 0x0002,
+	SRV6_ENDPOINT_BEHAVIOR_END_X = 0x0005,
+	SRV6_ENDPOINT_BEHAVIOR_END_X_PSP = 0x0006,
+	SRV6_ENDPOINT_BEHAVIOR_END_DT6 = 0x0012,
+	SRV6_ENDPOINT_BEHAVIOR_END_DT4 = 0x0013,
+	SRV6_ENDPOINT_BEHAVIOR_END_DT46 = 0x0014,
+	SRV6_ENDPOINT_BEHAVIOR_END_PSP_USD = 0x001D,
+	SRV6_ENDPOINT_BEHAVIOR_END_X_PSP_USD = 0x0021,
+	SRV6_ENDPOINT_BEHAVIOR_END_NEXT_CSID = 0x002B,
+	SRV6_ENDPOINT_BEHAVIOR_END_X_NEXT_CSID = 0x002C,
+	SRV6_ENDPOINT_BEHAVIOR_END_NEXT_CSID_PSP_USD = 0x0030,
 	SRV6_ENDPOINT_BEHAVIOR_END_X_NEXT_CSID_PSP_USD = 0x0039,
-	SRV6_ENDPOINT_BEHAVIOR_END_DT6_USID     = 0x003E,
-	SRV6_ENDPOINT_BEHAVIOR_END_DT4_USID     = 0x003F,
-	SRV6_ENDPOINT_BEHAVIOR_END_DT46_USID    = 0x0040,
-	SRV6_ENDPOINT_BEHAVIOR_OPAQUE           = 0xFFFF,
+	SRV6_ENDPOINT_BEHAVIOR_END_DT6_USID = 0x003E,
+	SRV6_ENDPOINT_BEHAVIOR_END_DT4_USID = 0x003F,
+	SRV6_ENDPOINT_BEHAVIOR_END_DT46_USID = 0x0040,
+	SRV6_ENDPOINT_BEHAVIOR_OPAQUE = 0xFFFF,
 };
 
 /*

To apply the style suggestions:

curl https://gist.githubusercontent.com/polychaeta/ab445af2e07043af6c3a59275d73a0d7/raw/2dbe91d5cc486e72094c4005b41a674fdfb1fed7/style.diff | git apply -

If you are a new contributor to FRR, please see our contributing guidelines.

After making changes, you do not need to create a new PR. You should perform an amend or interactive rebase followed by a force push.