Searched refs:uports (Results 1 – 2 of 2) sorted by relevance
/linux-4.4.14/net/netfilter/ |
D | xt_HMARK.c | 37 union hmark_ports uports; member 61 static inline void hmark_swap_ports(union hmark_ports *uports, in hmark_swap_ports() argument 67 hp.b32 = (uports->b32 & info->port_mask.b32) | info->port_set.b32; in hmark_swap_ports() 72 uports->v32 = (dst << 16) | src; in hmark_swap_ports() 74 uports->v32 = (src << 16) | dst; in hmark_swap_ports() 103 t->uports.b16.src = otuple->src.u.all; in hmark_ct_set_htuple() 104 t->uports.b16.dst = rtuple->src.u.all; in hmark_ct_set_htuple() 105 hmark_swap_ports(&t->uports, info); in hmark_ct_set_htuple() 126 hash = jhash_3words(src, dst, t->uports.v32, info->hashrnd); in hmark_hash() 143 if (skb_copy_bits(skb, nhoff, &t->uports, sizeof(t->uports)) < 0) in hmark_set_tuple_ports() [all …]
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_init_chip.c | 712 u32 piobufs, uports; in ipath_init_chip() local 744 uports = dd->ipath_cfgports ? dd->ipath_cfgports - 1 : 0; in ipath_init_chip() 751 (uports * IPATH_MIN_USER_PORT_BUFCNT)) > piobufs) { in ipath_init_chip() 753 (int) (uports * IPATH_MIN_USER_PORT_BUFCNT); in ipath_init_chip() 759 piobufs, uports, IPATH_MIN_USER_PORT_BUFCNT, i); in ipath_init_chip() 771 uports ? dd->ipath_lastport_piobuf / uports : 0; in ipath_init_chip() 774 (dd->ipath_pbufsport * uports); in ipath_init_chip() 784 piobufs, dd->ipath_pbufsport, uports); in ipath_init_chip()
|