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
3244 __u32 user_ip4; /* Allows 1,2,4-byte read and 4-byte write.3244 __u32 user_ip4; /* Allows 1,2,4-byte read and 4-byte write.
3245 * Stored in network byte order.3245 * Stored in network byte order.
3246 */3246 */
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.
3248 * Stored in network byte order.3248 * Stored in network byte order.
3249 */3249 */
3250 __u32 user_port; /* Allows 4-byte read and write.3250 __u32 user_port; /* Allows 4-byte read and write.
@@ -3253,10 +3253,10 @@ struct bpf_sock_addr { · 2 unmodified lines
3253 __u32 family; /* Allows 4-byte read, but no write */3253 __u32 family; /* Allows 4-byte read, but no write */
3254 __u32 type; /* Allows 4-byte read, but no write */3254 __u32 type; /* Allows 4-byte read, but no write */
3255 __u32 protocol; /* Allows 4-byte read, but no write */3255 __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.
3257 * Stored in network byte order.3257 * Stored in network byte order.
3258 */3258 */
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.
3260 * Stored in network byte order.3260 * Stored in network byte order.
3261 */3261 */
3262 __bpf_md_ptr(struct bpf_sock *, sk);3262 __bpf_md_ptr(struct bpf_sock *, sk);