<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def nlmsg_next(nlh, remaining):
 """Next Netlink message in message stream. https://github.com/thom311/libnl/blob/libnl3_2_25/lib/msg.c#L194 Positional arguments: nlh -- Netlink message header (nlmsghdr class instance). remaining -- number of bytes remaining in message stream (c_int). Returns: The next Netlink message in the message stream and decrements remaining by the size of the current message. """

    totlen = libnl.linux_private.netlink.NLMSG_ALIGN(nlh.nlmsg_len)
    remaining.value -= totlen
    return libnl.linux_private.netlink.nlmsghdr(bytearray_ptr(nlh.bytearray, totlen))