History

Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next

Resolve conflicts between 5888b93 ("Merge branch 'nf-hook-compress'") and Florian Westphal br_netfilter works. Conflicts: net/bridge/br_netfilter.c

Pablo Neira Ayuso committed 11 years ago

Commit aadd51a2 parents 68e942e ee90b81691 files · +13324 −7276Browse files

Showing the changes to include/uapi (5 of 691 files). Show all

Unified · Split

5 files
  1. include/uapi/linux/bpf.h +38 −1
  2. include/uapi/linux/can/raw.h +1 −0
  3. include/uapi/linux/input.h +2 −1
  4. include/uapi/linux/nfsd/export.h +1 −1
  5. include/uapi/linux/rtnetlink.h +4 −0
include/uapi/linux/bpf.h+38−1
@@ -168,7 +168,43 @@ enum bpf_func_id { · 167 unmodified lines
168168 BPF_FUNC_map_delete_elem, /* int map_delete_elem(&map, &key) */
169169 BPF_FUNC_get_prandom_u32, /* u32 prandom_u32(void) */
170170 BPF_FUNC_get_smp_processor_id, /* u32 raw_smp_processor_id(void) */
171− BPF_FUNC_skb_store_bytes, /* int skb_store_bytes(skb, offset, from, len) */
171+
172+ /**
173+ * skb_store_bytes(skb, offset, from, len, flags) - store bytes into packet
174+ * @skb: pointer to skb
175+ * @offset: offset within packet from skb->data
176+ * @from: pointer where to copy bytes from
177+ * @len: number of bytes to store into packet
178+ * @flags: bit 0 - if true, recompute skb->csum
179+ * other bits - reserved
180+ * Return: 0 on success
181+ */
182+ BPF_FUNC_skb_store_bytes,
183+
184+ /**
185+ * l3_csum_replace(skb, offset, from, to, flags) - recompute IP checksum
186+ * @skb: pointer to skb
187+ * @offset: offset within packet where IP checksum is located
188+ * @from: old value of header field
189+ * @to: new value of header field
190+ * @flags: bits 0-3 - size of header field
191+ * other bits - reserved
192+ * Return: 0 on success
193+ */
194+ BPF_FUNC_l3_csum_replace,
195+
196+ /**
197+ * l4_csum_replace(skb, offset, from, to, flags) - recompute TCP/UDP checksum
198+ * @skb: pointer to skb
199+ * @offset: offset within packet where TCP/UDP checksum is located
200+ * @from: old value of header field
201+ * @to: new value of header field
202+ * @flags: bits 0-3 - size of header field
203+ * bit 4 - is pseudo header
204+ * other bits - reserved
205+ * Return: 0 on success
206+ */
207+ BPF_FUNC_l4_csum_replace,
172208 __BPF_FUNC_MAX_ID,
173209 };
174210
@@ -184,6 +220,7 @@ struct __sk_buff { · 9 unmodified lines
184220 __u32 vlan_present;
185221 __u32 vlan_tci;
186222 __u32 vlan_proto;
223+ __u32 priority;
187224 };
188225
189226 #endif /* _UAPI__LINUX_BPF_H__ */
include/uapi/linux/can/raw.h+1−0
@@ -57,6 +57,7 @@ enum { · 56 unmodified lines
5757 CAN_RAW_LOOPBACK, /* local loopback (default:on) */
5858 CAN_RAW_RECV_OWN_MSGS, /* receive my own msgs (default:off) */
5959 CAN_RAW_FD_FRAMES, /* allow CAN FD frames (default:off) */
60+ CAN_RAW_JOIN_FILTERS, /* all filters must match to trigger */
6061 };
6162
6263 #endif /* !_UAPI_CAN_RAW_H */
include/uapi/linux/input.h+2−1
@@ -973,7 +973,8 @@ struct input_keymap_entry { · 972 unmodified lines
973973 */
974974 #define MT_TOOL_FINGER 0
975975 #define MT_TOOL_PEN 1
976−#define MT_TOOL_MAX 1
976+#define MT_TOOL_PALM 2
977+#define MT_TOOL_MAX 2
977978
978979 /*
979980 * Values describing the status of a force-feedback effect
include/uapi/linux/nfsd/export.h+1−1
@@ -47,7 +47,7 @@ · 46 unmodified lines
4747 * exported filesystem.
4848 */
4949 #define NFSEXP_V4ROOT 0x10000
50−#define NFSEXP_NOPNFS 0x20000
50+#define NFSEXP_PNFS 0x20000
5151
5252 /* All flags that we claim to support. (Note we don't support NOACL.) */
5353 #define NFSEXP_ALLFLAGS 0x3FE7F
include/uapi/linux/rtnetlink.h+4−0
@@ -134,6 +134,8 @@ enum { · 133 unmodified lines
134134
135135 RTM_NEWNSID = 88,
136136 #define RTM_NEWNSID RTM_NEWNSID
137+ RTM_DELNSID = 89,
138+#define RTM_DELNSID RTM_DELNSID
137139 RTM_GETNSID = 90,
138140 #define RTM_GETNSID RTM_GETNSID
139141
@@ -635,6 +637,8 @@ enum rtnetlink_groups { · 495 unmodified lines
635637 #define RTNLGRP_MDB RTNLGRP_MDB
636638 RTNLGRP_MPLS_ROUTE,
637639 #define RTNLGRP_MPLS_ROUTE RTNLGRP_MPLS_ROUTE
640+ RTNLGRP_NSID,
641+#define RTNLGRP_NSID RTNLGRP_NSID
638642 __RTNLGRP_MAX
639643 };
640644 #define RTNLGRP_MAX (__RTNLGRP_MAX - 1)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t