1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Based on include/net/flow.h 4 * No Authors, no Copyright 5 * 6 * NewIP Generic internet FLOW. 7 */ 8 #ifndef _NET_FLOW_NIP_H 9 #define _NET_FLOW_NIP_H 10 11 #include <net/flow.h> 12 13 struct flow_nip { 14 struct flowi_common __fl_common; 15 #define FLOWIN_OIF __fl_common.flowic_oif 16 #define FLOWIN_IIF __fl_common.flowic_iif 17 struct nip_addr daddr; 18 struct nip_addr saddr; 19 union flowi_uli uli; 20 #define FLN_SPORT uli.ports.sport 21 #define FLN_DPORT uli.ports.dport 22 } __attribute__((__aligned__(BITS_PER_LONG / 8))); 23 24 #endif 25