Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
見つけられませんでしたが、存在しないことに驚いています。IP ヘッダーのプロトコル フィールドに対応する値 (TCP、UDP、ICMP など) を持つ定義済みの列挙型はありますか?
列挙型はありませんがgetprotoent()、 、getprotobyname()、およびgetprotobynumber()から検索する場合があります/etc/protocols。
getprotoent()
getprotobyname()
getprotobynumber()
/etc/protocols