net: Put flowi_* prefix on AF independent members of struct flowi
I intend to turn struct flowi into a union of AF specific flowi structs. There will be a common structure that each variant includes first, much like struct sock_common. This is the first step to move in that direction. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user