| /xnu-11215/tests/ |
| H A D | bpf_direction.c | 47 str_bpf_direction(u_int direction) in str_bpf_direction() argument 49 switch (direction) { in str_bpf_direction() 65 test_set_direction(int fd, u_int direction) in test_set_direction() argument 67 T_ASSERT_POSIX_SUCCESS(bpf_set_direction(fd, direction), in test_set_direction() 68 "bpf_set_direction(%d): %u (%s)", fd, direction, str_bpf_direction(direction)); in test_set_direction() 73 …T_ASSERT_EQ(get_direction, direction, "get_direction %d == direction %d", get_direction, direction… in test_set_direction() 81 u_int direction = (u_int)(-2); /* an invalid value */ variable 82 T_ASSERT_POSIX_SUCCESS(bpf_get_direction(fd, &direction), 83 "bpf_get_direction(%d): %u (%s)", fd, direction, str_bpf_direction(direction)); 91 direction = 10; [all …]
|
| H A D | bpflib.c | 93 bpf_set_direction(int fd, u_int direction) in bpf_set_direction() argument 95 return ioctl(fd, BIOCSDIRECTION, &direction); in bpf_set_direction() 99 bpf_get_direction(int fd, u_int *direction) in bpf_get_direction() argument 101 return ioctl(fd, BIOCGDIRECTION, direction); in bpf_get_direction()
|
| H A D | bpflib.h | 42 int bpf_set_direction(int fd, u_int direction); 43 int bpf_get_direction(int fd, u_int *direction);
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOInterleavedMemoryDescriptor.cpp | 37 IODirection direction ) in OSDefineMetaClassAndStructors() 49 /* direction */ direction )) { in OSDefineMetaClassAndStructors() 60 IODirection direction ) in initWithCapacity() argument 77 _flags = direction; in initWithCapacity() 99 IOInterleavedMemoryDescriptor::clearMemoryDescriptors( IODirection direction ) in clearMemoryDescriptors() argument 115 if (direction != kIODirectionNone) { in clearMemoryDescriptors() 116 _flags = (_flags & ~kIOMemoryDirectionMask) | direction; in clearMemoryDescriptors()
|
| H A D | IODMAEventSource.cpp | 104 IODMAEventSource::startDMACommand(IODMACommand *dmaCommand, IODirection direction, IOByteCount byte… in startDMACommand() argument 120 result = dmaController->startDMACommand(dmaIndex, dmaCommand, direction, byteCount, byteOffset); in startDMACommand() 157 IODMAEventSource::getFIFODepth(IODirection direction) in getFIFODepth() argument 163 return dmaController->getFIFODepth(dmaIndex, direction); in getFIFODepth() 179 IODMAEventSource::validFIFODepth(IOByteCount depth, IODirection direction) in validFIFODepth() argument 185 return dmaController->validFIFODepth(dmaIndex, depth, direction); in validFIFODepth()
|
| H A D | IOSubMemoryDescriptor.cpp | 65 IODirection direction ) in initSubRange() argument 99 _flags = direction; in initSubRange()
|
| H A D | IOMemoryDescriptor.cpp | 1692 IODirection direction) in withAddress() argument 1702 IODirection direction, in withAddress() argument 1728 IODirection direction, in withRanges() argument 1816 IODirection direction, in withPhysicalRanges() argument 1918 IODirection direction, in initWithPhysicalRanges() argument 1934 IODirection direction, in initWithRanges() argument 1938 IOOptionBits mdOpts = direction; in initWithRanges() 6005 IODirection direction) in initWithAddress() argument 6013 IODirection direction, in initWithAddress() argument 6032 IODirection direction, in initWithRanges() argument [all …]
|
| H A D | IODMACommand.cpp | 72 #define SHOULD_COPY_DIR(op, direction) \ argument 73 ((kIODirectionNone == (direction)) \ 76 & (direction))) 79 #define SHOULD_COPY_DIR(state, direction) (true) argument 623 IODMACommand::createCopyBuffer(IODirection direction, UInt64 length) in createCopyBuffer() argument 627 direction, length, mask); in createCopyBuffer()
|
| H A D | IOBufferMemoryDescriptor.cpp | 810 IOBufferMemoryDescriptor::setDirection(IODirection direction) in setDirection() argument 812 _flags = (_flags & ~kIOMemoryDirectionMask) | direction; in setDirection()
|
| /xnu-11215/iokit/IOKit/ |
| H A D | IOInterleavedMemoryDescriptor.h | 64 IODirection direction); 74 IODirection direction ); 81 virtual void clearMemoryDescriptors( IODirection direction = kIODirectionNone );
|
| H A D | IODMAController.h | 52 virtual IOReturn startDMACommand(UInt32 dmaIndex, IODMACommand *dmaCommand, IODirection direction, 58 virtual IOByteCount getFIFODepth(UInt32 dmaIndex, IODirection direction) = 0; 60 virtual IOByteCount validFIFODepth(UInt32 dmaIndex, IOByteCount depth, IODirection direction) = 0;
|
| H A D | IODMAEventSource.h | 61 …virtual IOReturn startDMACommand(IODMACommand *dmaCommand, IODirection direction, IOByteCount byte… 66 virtual IOByteCount getFIFODepth(IODirection direction = kIODirectionNone); 68 virtual IOByteCount validFIFODepth(IOByteCount depth, IODirection direction);
|
| H A D | IOBufferMemoryDescriptor.h | 319 virtual void setDirection(IODirection direction);
|
| /xnu-11215/bsd/net/ |
| H A D | pf.c | 3792 } else if (r->direction && r->direction != direction) { in pf_match_translation() 4475 sk->direction = psk->direction; in pf_alloc_state_key() 5271 } else if (r->direction && r->direction != direction) { in pf_test_rule() 5603 psk.direction = direction; in pf_test_rule() 6302 } else if (r->direction && r->direction != direction) { in pf_test_dummynet() 6512 } else if (r->direction && r->direction != direction) { in pf_test_fragment() 7072 if (direction != sk->direction) { in pf_test_state_tcp() 7111 if (direction == sk->direction) { in pf_test_state_tcp() 7461 direction == sk->direction ? in pf_test_state_tcp() 7526 direction == sk->direction ? in pf_test_state_tcp() [all …]
|
| H A D | if_var_status.h | 306 enum ifnet_interface_advisory_direction direction; member 499 uint8_t direction; member
|
| H A D | iptap.c | 257 iptap_tap_callback(ifnet_t ifp, u_int32_t dlt, bpf_tap_mode direction) in iptap_tap_callback() argument 269 if (direction == 0) { in iptap_tap_callback() 280 if (direction == 0) { in iptap_tap_callback()
|
| H A D | pf_ioctl.c | 1091 PF_MD5_UPD(rule, direction); in pf_hash_rule() 1280 sp->direction = sk->direction; in pf_state_export() 1338 sk->direction = sp->direction; in pf_state_import() 2932 uint32_t direction = DN_INOUT; in pfioctl_ioc_rule() local 2937 if (rule->direction == PF_IN) { in pfioctl_ioc_rule() 2938 direction = DN_IN; in pfioctl_ioc_rule() 2940 direction = DN_OUT; in pfioctl_ioc_rule() 3496 if (sk->direction == PF_OUT) { in pfioctl_ioc_state_kill() 3700 int m = 0, direction = pnl->direction; in pfioctl_ioc_natlook() local 3719 if (direction == PF_IN) { in pfioctl_ioc_natlook() [all …]
|
| H A D | droptap.c | 174 droptap_tap_callback(ifnet_t ifp, u_int32_t dlt, bpf_tap_mode direction) in droptap_tap_callback() argument 181 if (direction == BPF_MODE_DISABLED) { in droptap_tap_callback()
|
| H A D | nat464_utils.c | 786 protocol_family_t naf, int direction, boolean_t only_csum) in nat464_translate_proto() argument 914 if (direction == NT_OUT && in nat464_translate_proto() 1095 if (direction == NT_OUT) { in nat464_translate_proto() 1123 } else if (direction == NT_IN) { in nat464_translate_proto()
|
| H A D | content_filter_crypto.c | 58 ptr = (u_int8_t *)&data->direction; in cfil_crypto_print_data()
|
| /xnu-11215/iokit/DriverKit/ |
| H A D | IOMemoryDescriptor.iig | 167 * descriptors must include this direction. 169 * descriptors must include this direction.
|
| /xnu-11215/osfmk/kern/ |
| H A D | thread_act.c | 807 int direction, in thread_convert_thread_state() argument 819 if (direction != THREAD_CONVERT_THREAD_STATE_TO_SELF && in thread_convert_thread_state() 820 direction != THREAD_CONVERT_THREAD_STATE_FROM_SELF) { in thread_convert_thread_state() 832 if (direction == THREAD_CONVERT_THREAD_STATE_FROM_SELF) { in thread_convert_thread_state()
|
| /xnu-11215/bsd/kern/ |
| H A D | socket_flows.c | 1138 size_t data_size, soflow_direction_t direction, uint16_t rcv_ifindex) in soflow_get_flow() argument 1177 if (data_size > 0 && direction != SOFLOW_DIRECTION_UNKNOWN) { in soflow_get_flow() 1178 soflow_update_flow_stats(hash_entry, data_size, direction == SOFLOW_DIRECTION_OUTBOUND); in soflow_get_flow() 1189 if (direction == SOFLOW_DIRECTION_UNKNOWN) { in soflow_get_flow() 1220 hash_entry->soflow_outgoing = (direction == SOFLOW_DIRECTION_OUTBOUND); in soflow_get_flow() 1222 soflow_update_flow_stats(hash_entry, data_size, direction == SOFLOW_DIRECTION_OUTBOUND); in soflow_get_flow()
|
| /xnu-11215/bsd/netinet/ |
| H A D | tcp_log.c | 762 const char *direction = ""; in tcp_log_drop_pcb() local 792 direction = "outgoing "; in tcp_log_drop_pcb() 796 direction = "incoming "; in tcp_log_drop_pcb() 816 direction, \ in tcp_log_drop_pcb()
|
| /xnu-11215/tools/lldbmacros/core/ |
| H A D | iterators.py | 416 def _minmax(self, direction): argument 421 path = "->" + self.field + direction
|