Repository: trafficserver Updated Branches: refs/heads/master 04699c5f7 -> 53b1d9466
docs: Add stubs for TSHttpTxnClientPacketMarkSet(), TSHttpTxnClientPacketTosSet(), TSHttpTxnServerPacketMarkSet(), and TSHttpTxnServerPacketTosSet() to API reference Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/53b1d946 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/53b1d946 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/53b1d946 Branch: refs/heads/master Commit: 53b1d9466168d14c9fc77f5f4a0c16b7e3890031 Parents: 04699c5 Author: Jack Bates <[email protected]> Authored: Sun Aug 10 15:49:17 2014 -0700 Committer: Jack Bates <[email protected]> Committed: Sun Aug 10 15:49:17 2014 -0700 ---------------------------------------------------------------------- .../api/TSHttpTxnClientPacketMarkSet.en.rst | 36 +++++++++++++++++ .../api/TSHttpTxnClientPacketTosSet.en.rst | 40 +++++++++++++++++++ .../api/TSHttpTxnServerPacketMarkSet.en.rst | 38 ++++++++++++++++++ .../api/TSHttpTxnServerPacketTosSet.en.rst | 42 ++++++++++++++++++++ 4 files changed, 156 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/53b1d946/doc/reference/api/TSHttpTxnClientPacketMarkSet.en.rst ---------------------------------------------------------------------- diff --git a/doc/reference/api/TSHttpTxnClientPacketMarkSet.en.rst b/doc/reference/api/TSHttpTxnClientPacketMarkSet.en.rst new file mode 100644 index 0000000..fb49c08 --- /dev/null +++ b/doc/reference/api/TSHttpTxnClientPacketMarkSet.en.rst @@ -0,0 +1,36 @@ +.. Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to you under the Apache License, Version + 2.0 (the "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied. See the License for the specific language governing + permissions and limitations under the License. + + +TSHttpTxnClientPacketMarkSet +============================ + +Change packet firewall mark for the client side connection. + + +Synopsis +-------- + +`#include <ts/ts.h>` + +.. c:function:: TSReturnCode TSHttpTxnClientPacketMarkSet(TSHttpTxn txnp, int mark) + + +Description +----------- + +.. note:: + + The change takes effect immediately http://git-wip-us.apache.org/repos/asf/trafficserver/blob/53b1d946/doc/reference/api/TSHttpTxnClientPacketTosSet.en.rst ---------------------------------------------------------------------- diff --git a/doc/reference/api/TSHttpTxnClientPacketTosSet.en.rst b/doc/reference/api/TSHttpTxnClientPacketTosSet.en.rst new file mode 100644 index 0000000..0d4626e --- /dev/null +++ b/doc/reference/api/TSHttpTxnClientPacketTosSet.en.rst @@ -0,0 +1,40 @@ +.. Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to you under the Apache License, Version + 2.0 (the "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied. See the License for the specific language governing + permissions and limitations under the License. + + +TSHttpTxnClientPacketTosSet +=========================== + +Change packet TOS for the client side connection. + + +Synopsis +-------- + +`#include <ts/ts.h>` + +.. c:function:: TSReturnCode TSHttpTxnClientPacketTosSet(TSHttpTxn txnp, int tos) + + +Description +----------- + +.. note:: + + The change takes effect immediately + + TOS is deprecated and replaced by DSCP, this is still used to set + DSCP however the first 2 bits of this value will be ignored as they + now belong to the ECN field. http://git-wip-us.apache.org/repos/asf/trafficserver/blob/53b1d946/doc/reference/api/TSHttpTxnServerPacketMarkSet.en.rst ---------------------------------------------------------------------- diff --git a/doc/reference/api/TSHttpTxnServerPacketMarkSet.en.rst b/doc/reference/api/TSHttpTxnServerPacketMarkSet.en.rst new file mode 100644 index 0000000..2a68f6b --- /dev/null +++ b/doc/reference/api/TSHttpTxnServerPacketMarkSet.en.rst @@ -0,0 +1,38 @@ +.. Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to you under the Apache License, Version + 2.0 (the "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied. See the License for the specific language governing + permissions and limitations under the License. + + +TSHttpTxnServerPacketMarkSet +============================ + +Change packet firewall mark for the server side connection. + + +Synopsis +-------- + +`#include <ts/ts.h>` + +.. c:function:: TSReturnCode TSHttpTxnServerPacketMarkSet(TSHttpTxn txnp, int mark) + + +Description +----------- + +.. note:: + + The change takes effect immediately, if no OS connection has been + made, then this sets the mark that will be used IF an OS connection + is established http://git-wip-us.apache.org/repos/asf/trafficserver/blob/53b1d946/doc/reference/api/TSHttpTxnServerPacketTosSet.en.rst ---------------------------------------------------------------------- diff --git a/doc/reference/api/TSHttpTxnServerPacketTosSet.en.rst b/doc/reference/api/TSHttpTxnServerPacketTosSet.en.rst new file mode 100644 index 0000000..d883abe --- /dev/null +++ b/doc/reference/api/TSHttpTxnServerPacketTosSet.en.rst @@ -0,0 +1,42 @@ +.. Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to you under the Apache License, Version + 2.0 (the "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied. See the License for the specific language governing + permissions and limitations under the License. + + +TSHttpTxnServerPacketTosSet +=========================== + +Change packet TOS for the server side connection. + + +Synopsis +-------- + +`#include <ts/ts.h>` + +.. c:function:: TSReturnCode TSHttpTxnServerPacketTosSet(TSHttpTxn txnp, int tos) + + +Description +----------- + +.. note:: + + The change takes effect immediately, if no OS connection has been + made, then this sets the mark that will be used IF an OS connection + is established + + TOS is deprecated and replaced by DSCP, this is still used to set + DSCP however the first 2 bits of this value will be ignored as they + now belong to the ECN field.
