This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
smartos-build(~)[0]% cat test.c | |
#include "/home/danmcd/nat-reform/projects/illumos/usr/src/uts/common/inet/vxlnat.h" | |
main() | |
{ | |
vxn_msg_t vxnm; | |
vxnm.vxnm_type = 1; | |
printf("Hello, type = %d\n", vxnm.vxnm_type); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> fffffe5a40bb51e8::ire -v | |
ADDR SRC TYPE | |
DST MARKS | |
STACK ZONE FLAGS INTF | |
fffffe5a40bb51e8 0.0.0.0 <LOCAL> | |
172.24.4.142 | |
14 0 <UP> net0 | |
> fffffe5a40bb51e8::print ire_t | |
{ | |
ire_next = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ifconfig e1000g2 plumb 10.51.50.1/32 up | |
# ifconfig e1000g2 | |
e1000g2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3 | |
inet 10.51.50.1 netmask ffffffff broadcast 10.51.50.1 | |
ether 0:c:29:1a:65:e5 | |
# route add 10.51.50.2/32 -interface 10.51.50.1 | |
add host 10.51.50.2/32: gateway 10.51.50.1 | |
# route get 10.51.50.2 | |
route to: 10.51.50.2 | |
destination: 10.51.50.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@moe (kebecloud) ~]# /zones/root/dtrace/downstack.d icmp_send_reply_v4 | |
dtrace: script '/zones/root/dtrace/downstack.d' matched 82074 probes | |
CPU FUNCTION | |
16 -> icmp_send_reply_v4 | |
ip`icmp_inbound_v4+0x5fb | |
ip`ip_fanout_v4+0xf49 | |
ip`ip_input_local_v4+0x16e | |
ip`ire_recv_local_v4+0x132 | |
ip`ill_input_short_v4+0x4ee | |
ip`ip_input_common_v4+0x3a7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WS-nowhere-WS(cmd/ptools)[0]% ls -lti $ROOT/usr/bin/p{env,auxv} | |
1239691 -r-xr-xr-x 64 danmcd staff 13128 Jun 6 23:50 /export/home/danmcd/build/illumos-omnios/proto/root_i386/usr/bin/pauxv* | |
1239691 -r-xr-xr-x 64 danmcd staff 13128 Jun 6 23:50 /export/home/danmcd/build/illumos-omnios/proto/root_i386/usr/bin/penv* | |
WS-nowhere-WS(cmd/ptools)[0]% ls -lti $ROOT/usr/lib/isaexec | |
1239691 -r-xr-xr-x 64 danmcd staff 13128 Jun 6 23:50 /export/home/danmcd/build/illumos-omnios/proto/root_i386/usr/lib/isaexec* | |
WS-nowhere-WS(cmd/ptools)[0]% | |
WS-nowhere-WS(cmd/ptools)[0]% /bin/rm -rf $ROOT/usr/bin/p* | |
WS-nowhere-WS(cmd/ptools)[0]% dmake install >& /dev/null | |
WS-nowhere-WS(cmd/ptools)[0]% ls -lti $ROOT/usr/bin/p{env,auxv} | |
1239691 -r-xr-xr-x 64 danmcd staff 13128 Jun 6 23:50 /export/home/danmcd/build/illumos-omnios/proto/root_i386/usr/bin/pauxv* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/sbin/dtrace -FCs | |
treeclimb_export:entry | |
{ | |
stack(); | |
self->trace = 1; | |
} | |
treeclimb_export:return | |
/self->trace == 1/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dtrace: script './nfs-zone-treeclimb_export.d' matched 4 probes | |
CPU FUNCTION | |
0 -> treeclimb_export | |
nfssrv`exportfs+0x1333 | |
unix`stubs_common_code+0x59 | |
nfs`nfs_export+0x71 | |
zfs`zfs_ioc_share+0xb3 | |
zfs`zfsdev_ioctl+0x1bf | |
genunix`cdev_ioctl+0x25 | |
specfs`spec_ioctl+0x4d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# egrep 'flag|path|"' /tmp/vnode | |
uint_t v_flag = 0x1 | |
char *v_path = 0xfffffe06b10a62a0 | |
hrtime_t v_path_stamp = 0xdc4cf3c70e1 | |
}string "/zones/tz2/root/rpool/omniti" | |
uint_t v_flag = 0x100 | |
char *v_path = 0xfffffe069948bd98 | |
hrtime_t v_path_stamp = 0xafe22531a | |
}string "/zones/tz2/root/rpool/omniti" | |
uint_t v_flag = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dtrace: script '/zones/root/dtrace/nfs-zone-treeclimb_export.d' matched 4 probes | |
CPU FUNCTION | |
6 -> treeclimb_export | |
nfssrv`exportfs+0x11dd | |
unix`stubs_common_code+0x59 | |
nfs`nfs_export+0x78 | |
zfs`zfs_ioc_share+0x43 | |
zfs`zfsdev_ioctl+0x562 | |
genunix`cdev_ioctl+0x39 | |
specfs`spec_ioctl+0x60 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
egrep 'flag|path|"' /zones/root/vnode | |
uint_t v_flag = 0x1 | |
char *v_path = 0xfffffe5af3411d00 | |
hrtime_t v_path_stamp = 0x9ed032fb35 | |
}string "/zones/3d4c4352-689e-e17f-87db-e5da8de8db8e/root/zones/zshare" | |
uint_t v_flag = 0x100 | |
char *v_path = 0xfffffe5a5d361300 | |
hrtime_t v_path_stamp = 0x115ebfa3cc | |
}string "/zones/3d4c4352-689e-e17f-87db-e5da8de8db8e/root/zones/zshare" | |
uint_t v_flag = 0 |