X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Ftunnel.h;h=784cda1a93d8f61d26e8ab55b2fb8999f3a09a16;hb=2b01925c18a52b2f7dbff5c70269a4b4d8aec027;hp=6ce9c468aefc94530e9f5d2bcb6bb04177206c88;hpb=f915f1a8ca180828983ef22cf2fd21b8f010b972;p=openvswitch diff --git a/datapath/tunnel.h b/datapath/tunnel.h index 6ce9c468..784cda1a 100644 --- a/datapath/tunnel.h +++ b/datapath/tunnel.h @@ -42,7 +42,8 @@ /* All public tunnel flags. */ #define TNL_F_PUBLIC (TNL_F_CSUM | TNL_F_TOS_INHERIT | TNL_F_TTL_INHERIT | \ - TNL_F_PMTUD | TNL_F_HDR_CACHE | TNL_F_IPSEC) + TNL_F_DF_INHERIT | TNL_F_DF_DEFAULT | TNL_F_PMTUD | \ + TNL_F_HDR_CACHE | TNL_F_IPSEC) /** * struct tnl_mutable_config - modifiable configuration for a tunnel. @@ -225,7 +226,7 @@ int tnl_set_addr(struct vport *vport, const unsigned char *addr); const char *tnl_get_name(const struct vport *vport); const unsigned char *tnl_get_addr(const struct vport *vport); int tnl_send(struct vport *vport, struct sk_buff *skb); -void tnl_rcv(struct vport *vport, struct sk_buff *skb); +void tnl_rcv(struct vport *vport, struct sk_buff *skb, u8 tos); struct vport *tnl_find_port(__be32 saddr, __be32 daddr, __be64 key, int tunnel_type,