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

doc(driver): fix some comments #1883

Merged
merged 1 commit into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions driver/modern_bpf/helpers/store/auxmap_store_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -702,8 +702,8 @@ static __always_inline void auxmap__store_socktuple_param(struct auxiliary_map *
/* Pack the tuple info:
* - socket family
* - src_ipv4
* - dest_ipv4
* - src_port
* - dest_ipv4
* - dest_port
*/
push__u8(auxmap->data, &auxmap->payload_pos, socket_family_to_scap(socket_family));
Expand Down Expand Up @@ -754,8 +754,8 @@ static __always_inline void auxmap__store_socktuple_param(struct auxiliary_map *
/* Pack the tuple info:
* - socket family
* - src_ipv6
* - dest_ipv6
* - src_port
* - dest_ipv6
* - dest_port
*/
push__u8(auxmap->data, &auxmap->payload_pos, socket_family_to_scap(socket_family));
Expand Down
4 changes: 2 additions & 2 deletions test/drivers/event_class/event_class.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -747,8 +747,8 @@ void event_test::assert_tuple_unix_param(int param_num, uint8_t desired_family,
assert_address_family(desired_family, 0);

/* Here we have the two pointers:
* - source OS pointer.
* - destination OS pointer.
* - source OS pointer.
* but we cannot make assertions on that.
*/

Expand Down Expand Up @@ -1002,4 +1002,4 @@ bool event_test::is_ext4_fs(int fd)
}
#endif
return false;
}
}
Loading