def split_network_line(line):
    """Parses line of /proc/virtual/<xid>/cacct for network usage.

  The cacct file has a header followed by usage counts for multiple protocols.

  Header (provided for context):
    Type      recv #/bytes       send #/bytes       fail #/bytes

  Each protocol's usage counts are formatted like this example:
    INET:         32/9909               43/253077              0/0

  Args:
    line: str, a line of text from cacct file.

  Returns:
    4-tuple of int: representing
        ('recv' syscalls, received octets, 'send' syscalls, sent octets).
  """
    fields = line.strip().split()
    receive_field = fields[1]
    transmit_field = fields[2]
    (recv_calls, rx_octets) = receive_field.split('/')
    (send_calls, tx_octets) = transmit_field.split('/')
    return (int(recv_calls), int(rx_octets), int(send_calls), int(tx_octets))