Lines Matching refs:udp_port
10184 struct bnx2x_udp_tunnel *udp_port = &bp->udp_tunnel_ports[type]; in __bnx2x_add_udp_port() local
10189 if (udp_port->count && udp_port->dst_port == port) { in __bnx2x_add_udp_port()
10190 udp_port->count++; in __bnx2x_add_udp_port()
10194 if (udp_port->count) { in __bnx2x_add_udp_port()
10201 udp_port->dst_port = port; in __bnx2x_add_udp_port()
10202 udp_port->count = 1; in __bnx2x_add_udp_port()
10209 struct bnx2x_udp_tunnel *udp_port = &bp->udp_tunnel_ports[type]; in __bnx2x_del_udp_port() local
10214 if (!udp_port->count || udp_port->dst_port != port) { in __bnx2x_del_udp_port()
10221 udp_port->count--; in __bnx2x_del_udp_port()
10222 if (udp_port->count) in __bnx2x_del_udp_port()
10224 udp_port->dst_port = 0; in __bnx2x_del_udp_port()