net: Put flowi_* prefix on AF independent members of struct flowi
[linux-3.10.git] / include / net / xfrm.h
index d5dcf39..d5a12d1 100644 (file)
@@ -803,7 +803,7 @@ static __inline__
 __be16 xfrm_flowi_sport(const struct flowi *fl)
 {
        __be16 port;
-       switch(fl->proto) {
+       switch(fl->flowi_proto) {
        case IPPROTO_TCP:
        case IPPROTO_UDP:
        case IPPROTO_UDPLITE:
@@ -830,7 +830,7 @@ static __inline__
 __be16 xfrm_flowi_dport(const struct flowi *fl)
 {
        __be16 port;
-       switch(fl->proto) {
+       switch(fl->flowi_proto) {
        case IPPROTO_TCP:
        case IPPROTO_UDP:
        case IPPROTO_UDPLITE: