One way is to create listening socket for some protocol, and module for that protocol will be loaded. For example, DCCP and SCTP. Are there other ways?