History

bpf: sync bpf.h to tools/

Update bpf_sock_addr comments to indicate support for 8-byte reads from user_ip6 and msg_src_ip6.

Stanislav Fomichev committed 7 years ago

Commit 073a4831 parent 7dd8d611 file · +2 −2Browse files

Showing the changes to tools/include/uapi/linux (1 of 1 file). Show all

Unified · Split

tools/include/uapi/linux/bpf.h+2−2
@@ -3245,7 +3245,7 @@ struct bpf_sock_addr { · 3244 unmodified lines
32453245 __u32 user_ip4; /* Allows 1,2,4-byte read and 4-byte write.
32463246 * Stored in network byte order.
32473247 */
3248− __u32 user_ip6[4]; /* Allows 1,2,4-byte read and 4,8-byte write.
3248+ __u32 user_ip6[4]; /* Allows 1,2,4,8-byte read and 4,8-byte write.
32493249 * Stored in network byte order.
32503250 */
32513251 __u32 user_port; /* Allows 4-byte read and write.
@@ -3257,7 +3257,7 @@ struct bpf_sock_addr { · 5 unmodified lines
32573257 __u32 msg_src_ip4; /* Allows 1,2,4-byte read and 4-byte write.
32583258 * Stored in network byte order.
32593259 */
3260− __u32 msg_src_ip6[4]; /* Allows 1,2,4-byte read and 4,8-byte write.
3260+ __u32 msg_src_ip6[4]; /* Allows 1,2,4,8-byte read and 4,8-byte write.
32613261 * Stored in network byte order.
32623262 */
32633263 __bpf_md_ptr(struct bpf_sock *, sk);