Contents

ifnet_attach_protocol

Declaration

errno_t ifnet_attach_protocol(ifnet_t interface, protocol_family_t protocol_family, const struct ifnet_attach_proto_param *proto_details);

Parameters

  • interface:

    The interface.

  • protocol_family:

    The protocol family being attached (PF_INET/PF_INET6/etc...).

  • proto_details:

    Details of the protocol being attached.

Return Value

0 on success otherwise the errno error.

Discussion

Attaches a protocol to an interface.

See Also

Network Kernel Extensions