MCPcopy Create free account
hub / github.com/apache/trafficserver / TSUrlPortGet

Function TSUrlPortGet

src/api/InkAPI.cc:1167–1178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1165}
1166
1167int
1168TSUrlPortGet(TSMBuffer bufp, TSMLoc obj)
1169{
1170 sdk_assert(sdk_sanity_check_mbuffer(bufp) == TS_SUCCESS);
1171 sdk_assert(sdk_sanity_check_url_handle(obj) == TS_SUCCESS);
1172
1173 URL u;
1174 u.m_heap = (reinterpret_cast<HdrHeapSDKHandle *>(bufp))->m_heap;
1175 u.m_url_impl = reinterpret_cast<URLImpl *>(obj);
1176
1177 return u.port_get();
1178}
1179
1180int
1181TSUrlRawPortGet(TSMBuffer bufp, TSMLoc obj)

Callers 15

TSRemapDoRemapFunction · 0.85
Urls.ccFile · 0.85
getPortMethod · 0.85
testsForReqHdrFunction · 0.85
populateMethod · 0.85
append_valueMethod · 0.85
getCanonicalUrlFunction · 0.85
read_requestFunction · 0.85
portMethod · 0.85
populateMethod · 0.85

Calls 3

sdk_sanity_check_mbufferFunction · 0.85
port_getMethod · 0.45

Tested by 3

testsForReqHdrFunction · 0.68