Skip to content

Conversation

amass-jump
Copy link
Contributor

No description provided.

} shredcap;

struct {
struct fd_topo_tile_snapct {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: This change is so that I can copy this struct from the topo* in unprivliged_init to the tile's context. I don't see this pattern being done already, but it avoids having to define this struct a third time in the code (fd_config + fd_topo + snapct_ctx)

@amass-jump amass-jump force-pushed the amass/snap-config branch 4 times, most recently from 4d11156 to 4341be7 Compare October 22, 2025 18:36
@amass-jump amass-jump changed the base branch from main to amass/snap-ping October 22, 2025 18:36
@amass-jump amass-jump force-pushed the amass/snap-config branch 2 times, most recently from 3f6b4f0 to 60ca0eb Compare October 22, 2025 21:29
Comment on lines +394 to +397
/* FD_ARRAY_CNT returns the number of elements of the given array. */

#define FD_ARRAY_CNT(x) (sizeof(x)/sizeof((x)[0]))

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant