(Addr)&((struct vki_ifreq *)ARG3)->ifr_map,
sizeof(((struct vki_ifreq *)ARG3)->ifr_map) );
break;
+ case VKI_SIOCSHWTSTAMP: /* Set hardware time stamping */
+ PRE_MEM_RASCIIZ( "ioctl(SIOCSHWTSTAMP)",
+ (Addr)((struct vki_ifreq *)ARG3)->vki_ifr_name );
+ PRE_MEM_READ( "ioctl(SIOCSHWTSTAMP)",
+ (Addr)((struct vki_ifreq *)ARG3)->vki_ifr_data,
+ sizeof(struct vki_hwtstamp_config) );
+ break;
case VKI_SIOCSIFTXQLEN: /* Set the tx queue length */
PRE_MEM_RASCIIZ( "ioctl(SIOCSIFTXQLEN)",
(Addr)((struct vki_ifreq *)ARG3)->vki_ifr_name );
case VKI_SIOCSIFFLAGS: /* set flags */
case VKI_SIOCSIFMAP: /* Set device parameters */
+ case VKI_SIOCSHWTSTAMP: /* Set hardware time stamping */
case VKI_SIOCSIFTXQLEN: /* Set the tx queue length */
case VKI_SIOCSIFDSTADDR: /* set remote PA address */
case VKI_SIOCSIFBRDADDR: /* set broadcast PA address */
#define VKI_SIOCGIFMAP 0x8970 /* Get device parameters */
#define VKI_SIOCSIFMAP 0x8971 /* Set device parameters */
+#define VKI_SIOCSHWTSTAMP 0x89B0 /* Set hardware time stamping */
+
//----------------------------------------------------------------------
// From linux-2.6.8.1/include/linux/ppdev.h
//----------------------------------------------------------------------
#define VKI_KVM_S390_INITIAL_RESET _VKI_IO(KVMIO, 0x97)
#define VKI_KVM_NMI _VKI_IO(KVMIO, 0x9a)
+//----------------------------------------------------------------------
+// From linux-2.6/include/linux/net_stamp.h
+//----------------------------------------------------------------------
+
+struct vki_hwtstamp_config {
+ int flags;
+ int tx_type;
+ int rx_filter;
+};
+
#endif // __VKI_LINUX_H
/*--------------------------------------------------------------------*/