title: UDP socket state list?
body: <p>I'm currently writing a script pulling data from <code>/proc/net/tcp</code> and <code>/proc/net/udp</code> and I need to translate the connection states from their hex code into something meaningful.</p>
  
  <p>Example content:</p>
  
  <pre><code>  sl  local_address rem_address   st tx_queue rx_queue tr tm-&gt;when retrnsmt   uid  timeout inode ref pointer drops
    37: 00000000:2710 00000000:0000 07 00000000:00000000 00:00000000 00000000     0        0 862948 2 ffff8800109dbac0 0
    54: 00000000:00A1 00000000:0000 07 00000000:00000000 00:00000000 00000000     0        0 2055110 2 ffff8800109db780 0
  </code></pre>
  
  <p>So far I've turned up <a href="https://stackoverflow.com/a/5992274/1064767">this answer</a> which pointed me to the relevant kernel header file, but there is not a matching <code>udp_states.h</code> or anything in <code>udp.h</code> or <code>ip.h</code>.</p>
  
  <p>Where can I find a list of connection states for UDP sockets?</p>