function::sock_prot_str2num.3stap man page

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 Also0

tapset::socket(3stap)

Info

March 2016 SystemTap Tapset Reference Socket Tapset