


The standard library Net_Protocol_Db api defines access to basic TCP/IP logic to look up a protocol by name or by number.
The Net_Protocol_Db api is implemented by the net_protocol_db package.
The Net_Protocol_Db api source code is in src/lib/std/src/socket/net-protocol-db.api.
The above information is manually maintained and may contain errors.
api {
Entry ;
name : Entry -> String;
aliases : Entry -> List(String );
protocol : Entry -> Int;
get_by_name : String -> Null_Or(Entry );
get_by_number : Int -> Null_Or(Entry );
};


