mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
decnet: Convert to use flowidn where applicable.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1958b856c1
commit
bef55aebd5
10 changed files with 196 additions and 185 deletions
|
@ -192,10 +192,10 @@ static inline void dn_dn2eth(unsigned char *ethaddr, __le16 addr)
|
|||
ethaddr[5] = (__u8)(a >> 8);
|
||||
}
|
||||
|
||||
static inline void dn_sk_ports_copy(struct flowi *fl, struct dn_scp *scp)
|
||||
static inline void dn_sk_ports_copy(struct flowidn *fld, struct dn_scp *scp)
|
||||
{
|
||||
fl->u.dn.uli.ports.sport = scp->addrloc;
|
||||
fl->u.dn.uli.ports.dport = scp->addrrem;
|
||||
fld->fld_sport = scp->addrloc;
|
||||
fld->fld_dport = scp->addrrem;
|
||||
}
|
||||
|
||||
extern unsigned dn_mss_from_pmtu(struct net_device *dev, int mtu);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue