fd_entry.hh (13568:9c11b79e3223) fd_entry.hh (13570:b6484720c6a9)
1/*
2 * Copyright (c) 2016 Advanced Micro Devices, Inc.
3 * All rights reserved.
4 *
5 * For use for simulation and test purposes only
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are met:

--- 217 unchanged lines hidden (view full) ---

226 { }
227
228 std::shared_ptr<FDEntry>
229 clone() const override
230 {
231 return std::make_shared<SocketFDEntry>(*this);
232 }
233
1/*
2 * Copyright (c) 2016 Advanced Micro Devices, Inc.
3 * All rights reserved.
4 *
5 * For use for simulation and test purposes only
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are met:

--- 217 unchanged lines hidden (view full) ---

226 { }
227
228 std::shared_ptr<FDEntry>
229 clone() const override
230 {
231 return std::make_shared<SocketFDEntry>(*this);
232 }
233
234 private:
235 int _domain;
236 int _type;
237 int _protocol;
238};
239
240#endif // __FD_ENTRY_HH__
234 int _domain;
235 int _type;
236 int _protocol;
237};
238
239#endif // __FD_ENTRY_HH__