|
@@ -612,6 +612,7 @@ static inline bool skb_mstamp_after(const struct skb_mstamp *t1,
|
|
* @wifi_acked_valid: wifi_acked was set
|
|
* @wifi_acked_valid: wifi_acked was set
|
|
* @wifi_acked: whether frame was acked on wifi or not
|
|
* @wifi_acked: whether frame was acked on wifi or not
|
|
* @no_fcs: Request NIC to treat last 4 bytes as Ethernet FCS
|
|
* @no_fcs: Request NIC to treat last 4 bytes as Ethernet FCS
|
|
|
|
+ * @dst_pending_confirm: need to confirm neighbour
|
|
* @napi_id: id of the NAPI struct this skb came from
|
|
* @napi_id: id of the NAPI struct this skb came from
|
|
* @secmark: security marking
|
|
* @secmark: security marking
|
|
* @mark: Generic packet mark
|
|
* @mark: Generic packet mark
|
|
@@ -741,6 +742,7 @@ struct sk_buff {
|
|
__u8 csum_level:2;
|
|
__u8 csum_level:2;
|
|
__u8 csum_bad:1;
|
|
__u8 csum_bad:1;
|
|
|
|
|
|
|
|
+ __u8 dst_pending_confirm:1;
|
|
#ifdef CONFIG_IPV6_NDISC_NODETYPE
|
|
#ifdef CONFIG_IPV6_NDISC_NODETYPE
|
|
__u8 ndisc_nodetype:2;
|
|
__u8 ndisc_nodetype:2;
|
|
#endif
|
|
#endif
|
|
@@ -3698,6 +3700,16 @@ static inline bool skb_rx_queue_recorded(const struct sk_buff *skb)
|
|
return skb->queue_mapping != 0;
|
|
return skb->queue_mapping != 0;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+static inline void skb_set_dst_pending_confirm(struct sk_buff *skb, u32 val)
|
|
|
|
+{
|
|
|
|
+ skb->dst_pending_confirm = val;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+static inline bool skb_get_dst_pending_confirm(const struct sk_buff *skb)
|
|
|
|
+{
|
|
|
|
+ return skb->dst_pending_confirm != 0;
|
|
|
|
+}
|
|
|
|
+
|
|
static inline struct sec_path *skb_sec_path(struct sk_buff *skb)
|
|
static inline struct sec_path *skb_sec_path(struct sk_buff *skb)
|
|
{
|
|
{
|
|
#ifdef CONFIG_XFRM
|
|
#ifdef CONFIG_XFRM
|