Skip to content

Commit

Permalink
cleanup(driver): fix some comments
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Terzolo <[email protected]>
  • Loading branch information
Andreagit97 authored and poiana committed May 30, 2024
1 parent 1d31ad6 commit 3b93d91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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 @@ -707,8 +707,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 @@ -759,8 +759,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;
}
}

0 comments on commit 3b93d91

Please sign in to comment.