History

bpf: sync bpf.h to tools/

Sync user_ip6 & msg_src_ip6 comments.

Stanislav Fomichev committed 7 years ago

Commit 4cfacbe1 parent 600c70b1 file · +3 −3Browse files

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

Unified · Split

tools/include/uapi/linux/bpf.h+3−3
@@ -3244,7 +3244,7 @@ struct bpf_sock_addr { · 3243 unmodified lines
32443244 __u32 user_ip4; /* Allows 1,2,4-byte read and 4-byte write.
32453245 * Stored in network byte order.
32463246 */
3247− __u32 user_ip6[4]; /* Allows 1,2,4-byte read an 4-byte write.
3247+ __u32 user_ip6[4]; /* Allows 1,2,4-byte read and 4,8-byte write.
32483248 * Stored in network byte order.
32493249 */
32503250 __u32 user_port; /* Allows 4-byte read and write.
@@ -3253,10 +3253,10 @@ struct bpf_sock_addr { · 2 unmodified lines
32533253 __u32 family; /* Allows 4-byte read, but no write */
32543254 __u32 type; /* Allows 4-byte read, but no write */
32553255 __u32 protocol; /* Allows 4-byte read, but no write */
3256− __u32 msg_src_ip4; /* Allows 1,2,4-byte read an 4-byte write.
3256+ __u32 msg_src_ip4; /* Allows 1,2,4-byte read and 4-byte write.
32573257 * Stored in network byte order.
32583258 */
3259− __u32 msg_src_ip6[4]; /* Allows 1,2,4-byte read an 4-byte write.
3259+ __u32 msg_src_ip6[4]; /* Allows 1,2,4-byte read and 4,8-byte write.
32603260 * Stored in network byte order.
32613261 */
32623262 __bpf_md_ptr(struct bpf_sock *, sk);