Print this page
WIP to help bringup NAT flows

*** 174,185 **** static mblk_t *udp_prepend_header_template(conn_t *, ip_xmit_attr_t *, mblk_t *, const in6_addr_t *, in_port_t, uint32_t, int *); static void udp_ud_err(queue_t *q, mblk_t *mp, t_scalar_t err); static void udp_ud_err_connected(conn_t *, t_scalar_t); static void udp_tpi_unbind(queue_t *q, mblk_t *mp); - static in_port_t udp_update_next_port(udp_t *udp, in_port_t port, - boolean_t random); static void udp_wput_other(queue_t *q, mblk_t *mp); static void udp_wput_iocdata(queue_t *q, mblk_t *mp); static void udp_wput_fallback(queue_t *q, mblk_t *mp); static size_t udp_set_rcv_hiwat(udp_t *udp, size_t size); --- 174,183 ----
*** 2651,2661 **** * Since the extra privileged ports can be arbitrary we also * ensure that we exclude those from consideration. * us->us_epriv_ports is not sorted thus we loop over it until * there are no changes. */ ! static in_port_t udp_update_next_port(udp_t *udp, in_port_t port, boolean_t random) { int i, bump; in_port_t nextport; boolean_t restart = B_FALSE; --- 2649,2659 ---- * Since the extra privileged ports can be arbitrary we also * ensure that we exclude those from consideration. * us->us_epriv_ports is not sorted thus we loop over it until * there are no changes. */ ! in_port_t udp_update_next_port(udp_t *udp, in_port_t port, boolean_t random) { int i, bump; in_port_t nextport; boolean_t restart = B_FALSE;