FUNCTION::SOCK_PROT_(3stap) Socket Tapset FUNCTION::SOCK_PROT_(3stap)

NAME function::sock_prot_str2num - Given a protocol name (string), return the corresponding protocol number

SYNOPSIS sock_prot_str2num:long(proto:string)

ARGUMENTS proto The protocol name

SEE ALSO tapset::socket(3stap)

SystemTap Tapset Reference December 2016 FUNCTION::SOCK_PROT_(3stap)