Lines Matching defs:in
4 * Redistribution and use in source and binary forms, with or without
9 * * Redistributions in binary form must reproduce the above
11 * disclaimer in the documentation and/or other materials provided
59 void CtUpdateAmbassador::updateTimeout(IpaNatTimeoutUpdate in) {
62 in.src.ipAddr, in.src.port, in.dst.ipAddr, in.dst.port,
63 in.proto);
66 if (!translate(in, out)) {
75 * Because of this overhead, we would likely not want to check in a change
85 bool CtUpdateAmbassador::translate(IpaNatTimeoutUpdate in, HALNatTimeoutUpdate &out) {
86 return translate(in.src, out.src)
87 && translate(in.dst, out.dst)
88 && L4ToNetwork(in.proto, out.proto);
91 bool CtUpdateAmbassador::translate(IpaIpAddrPortPair in, HALIpAddrPortPair& out) {
94 if (inet_ntop(AF_INET, &(in.ipAddr), ipAddrStr, INET_ADDRSTRLEN) == nullptr) {
96 * be possible in our scenario though.
102 out.port = in.port;
107 bool CtUpdateAmbassador::L4ToNetwork(IpaL4Protocol in, NetworkProtocol &out) {
109 switch(in) {