i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
#include <windows.h> #include <winsock.h> #include <stdio.h> #include <conio.h> #include <time.h>
#ifdef ARP_EXPORTS #define ARP_API __declspec(dllexport) #else #define ARP_API __declspec(dllimport) #endif
#define Max_Num_Adapter 10 typedef unsigned int __u32; #define ETH_ALEN6/* Octets in one ethernet addr */ #define ETH_P_ARP0x0806/* Address Resolution packet*/ #define ETH_P_802_30x0001/* Dummy type for 802.3 frames */ #define ETH_P_IP0x0800/* Internet Protocol packet*/ #defineARPOP_REQUEST1/* ARP request */ #defineARPOP_REPLY2/* ARP reply */ #defineARP_WAIT_TIME500/* Arp Response waiting time (ms) */
struct ethhdr { unsigned charh_dest[ETH_ALEN];/* destination eth addr*/ unsigned charh_source[ETH_ALEN];/* source ether addr*/ unsigned shorth_proto;/* packet type ID field*/ };
struct arphdr { unsigned shortar_hrd;/* format of hardware address*/ unsigned shortar_pro;/* format of protocol address*/ unsigned charar_hln;/* length of hardware address*/ unsigned charar_pln;/* length of protocol address*/ unsigned shortar_op;/* ARP opcode (command)*/ unsigned charar_sha[ETH_ALEN];/* sender hardware address*/ unsigned charar_sip[4];/* sender IP address*/ unsigned charar_tha[ETH_ALEN];/* target hardware address*/ unsigned charar_tip[4];/* target IP address*/ };
struct arpPacket { struct ethhdrethhdr; struct arphdrarphdr; };
RTCC EQU 1 PC EQU 2 STATUS EQU 3 FSR EQU 4 PORT_A EQU 5 PORT_B EQU 6 DISP EQU 0C DISP_100 EQU 0D INIT_10 EQU 0E INIT_1 EQU 0F UP_10 EQU 10 UP_1 EQU 11 LO_10 EQU 12 LO_1 EQU 13 DISUP_LIM EQU 14 DISDW_LIM EQU 15
DB0 EQU 16 DB1 EQU 17 DB2 EQU 18 DB3 EQU 19 SCAN EQU 1A CHAR EQU 1B TRISA EQU 5 TRISB EQU 6 SUB_N EQU 20 SUB_A EQU 21 SUBDISP_1 EQU 22 SUBDISP_10 EQU 23 DB4 EQU 24 EEDATA EQU 8 EEADR EQU 9 EECON1 EQU 8 EECON2 EQU 9 RD EQU 0 WR EQU 1 WREN EQU 2 EEIF EQU 4
OUTPUT ;I/O SET BSF STATUS,5 ;RB0-RB2 -> OUTPUT MOVLW B'11000000' MOVWF TRISB BCF STATUS,5 RETURN
INPUT ;I/O SET BSF STATUS,5 ;RB0-RB2 -> INPUT MOVLW B'11000111' MOVWF TRISB BCF STATUS,5 RETURN
MOVLW 0 MOVWF EEADR MOVLW 2 CALL EE_WRITE MOVLW D'6' MOVWF INIT_10 MOVLW D'114' MOVWF INIT_1 MOVLW 6 MOVWF DISP_100 MOVLW 50 MOVWF DISP MOVLW D'86' MOVWF SUB_N MOVLW 0 MOVWF SUB_A MOVLW 6 MOVWF SUBDISP_10 MOVLW 5 MOVWF SUBDISP_1
MOVLW D'7' MOVWF UP_10 MOVLW D'107' MOVWF UP_1 MOVLW D'6' MOVWF LO_10 MOVLW D'64' MOVWF LO_1 MOVLW D'8' MOVWF DISUP_LIM MOVLW D'6' MOVWF DISDW_LIM MOVLW 0C2H CALL SEND_CMD MOVLW B'00110101' ;DATA 5 CALL SEND_CHAR MOVLW B'00101110' ;DATA . CALL SEND_CHAR CALL TUNER_DATA CALL SUB_DISP BCF PORT_B,4 GOTO SW_0
SCAN_CHECK BTFSC DB3,0 GOTO SCAN_UP BTFSC DB3,1 GOTO SCAN_DWN BTFSC DB3,0 GOTO SW_1 BTFSC DB3,1 GOTO SW_1 GOTO SW_2
SCAN_STOP CLRF DB3 ;SCAN STOP MOVLW 1 MOVWF EEADR MOVF INIT_10,0 CALL EE_WRITE MOVLW 2 MOVWF EEADR MOVF INIT_1,0 CALL EE_WRITE MOVLW 3 MOVWF EEADR MOVF DISP_100,0 CALL EE_WRITE MOVLW 4 MOVWF EEADR MOVF DISP,0 CALL EE_WRITE GOTO SCAN_CHECK
DWN CALL EN_CHECK CALL CH_DOWN GOTO SW
SUB_C2 MOVF PORT_B,0 MOVWF DB0 BTFSC DB0,2 GOTO SW BTFSC DB0,6 GOTO SUB_C2 CALL WAIT MOVF PORT_B,0 MOVWF DB0 BTFSS DB0,7 GOTO SUB_DWN CALL EN_CHECK CALL SUB_CH_UP GOTO SUB_C
SW BCF PORT_B,4 ;SUB_C MODE LED OFF MOVF PORT_B,0 MOVWF DB0 BTFSC DB0,2 GOTO SW MOVLW D'10' ;チャタ防止 MOVWF DB1 CALL DELAY1 CLRF DB3 GOTO SW_0
USAGE: ipconfig [/? | /all | /renew [adapter] | /release [adapter] | /flushdns | /displaydns | /registerdns | /showclassid adapter | /setclassid adapter [classid] ]
where adapter Connection name (wildcard characters * and ? allowed, see examples) Options: /? Display this help message /all Display full configuration information. /release Release the IP address for the specified adapter. /renew Renew the IP address for the specified adapter. /flushdns Purges the DNS Resolver cache. /registerdns Refreshes all DHCP leases and re-registers DNS names /displaydns Display the contents of the DNS Resolver Cache. /showclassid Displays all the dhcp class IDs allowed for adapter. /setclassid Modifies the dhcp class id.
The default is to display only the IP address, subnet mask and default gateway for each adapter bound to TCP/IP. For Release and Renew, if no adapter name is specified, then the IP address leases for all adapters bound to TCP/IP will be released or renewed. For Setclassid, if no ClassId is specified, then the ClassId is removed.
Examples: > ipconfig ... Show information. > ipconfig /all ... Show detailed information > ipconfig /renew ... renew all adapters > ipconfig /renew EL* ... renew any connection that has its name starting with EL > ipconfig /release *Con* ... release all matching connections, eg. "Local Area Connection 1" or "Local Area Connection 2"
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ∧ ∧ / ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ | | | (,,゚Д゚)< 出してくれよとっつあん | | | / | | \_______________ | | | (___ノ| | | | | | | /、|、 | | | | |______,|____.|____,|____.|____,|____.|____,| ∧_∧ / ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ( ,,)< 誰が銭形やねん ( ○ ) \____________ | | |_ (__(__)
/ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ | | くそー!!脱獄シテヤル!! \_________ __________ | / \, ∨ ,|| .|| .|| .|| .|| .|| ,, ,,, ,,,, |  ̄ ̄~~ , || .|| .|| .|| .|| .||/ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ,,, ,,, ,,, | _____ ,, || .|| .|| .|| .|| .||| | ,┃‖‖‖‖┃ ,|| .|| .|| .|| .|| .||| できるもんならやってみろ。 ,,,, ,,,, , | ,┃‖‖‖‖┃, || .|| .ii‐ii‐ii‐ii\___ __________ ,,,, ,,,, , |  ̄ ̄ ̄ ̄ ̄ || .|| .ll .|| .|| .|| ∨ | ,, ,,, || .|| .|| .|| .||=||D ∧_∧ , ,,,, ,, |___∧ ∧,,,,__||_,||_,||_,||_,||_,||_____________(´∀` ) /,, ,,, ,(,,゚Д゚) ,, \|| .ll .|| .|| .|| ( ) / , ,,, , ,,,/ | , , \!!、|| .|| .|| | | | / ,, \(___ノ , \!!、|| .|| (_(__) / ,, ,,, ,, ,, \!!、|| /,,_________________,,\!!
♪聞いてアロエリーナ ちょっと言いにくいんだけど 聞いてアロエリーナ 聞いてくれてあーりがと アロエリーナ♪ \______ __________/ |/ ∧_∧ (○) (∀・ ) ヽ|〃 (∩∩ )  ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
∧_∧ ( ´∀`) /, つ (_(_, ) しし'
∧_∧ / ̄ ̄ ̄ ̄ ̄ ( −_−)< 逝きますか? 逝きませんか? (\Υ/) \_____ | | | (__)_)
\●/ ■ / \
ワケ ワカ ラン♪ ∧_∧ ∧_∧ ∧_∧ ( ・∀・) ( ・∀・) ( ・∀・) ⊂ ⊂ ) ( U つ ⊂__へ つ < < < ) ) ) (_)| (_(_) (__)_) 彡(__)
∧_∧ (´ε ` ) ボクガケイバイタノアイドルモナ (|∨∨|) | ̄| ̄| (_(__)
___________ / [西船橋] _ \ | .[93S]. ┏━━┓ |S| | |┏━━┓┃┏┓┃┏━━┓| / |┃快速┃┃┃┃┃┃ ┃| プアァァァァァァァァン! |┃ ┃┃┃┃┃┃ ┃| \ |┗━━┛┃┗┛┃┗━━┛| | ̄ ̄ ̄ ̄┃ ̄ ̄┃ ̄ ̄ ̄ ̄| | ┃5031┃ | | ●○ ┃__┃ ○● | | ̄ ̄ ̄ ̄┃ ┃ ̄ ̄ ̄ ̄| |_____.二二二._____| │ │[=.=]| │ └───ヽ(´Д`;)ノ ああああああ〜ッ!! / (___) 早稲田駅のホームから落ちちゃったよ〜〜〜!!! / | | \ / ◎ ̄ ̄◎ \ / \
1000 :
2R ◆XRNGYRS//A :03/02/25 19:28 ID:tsX+eIGK
1000get
1001 :
1001 :
Over 1000 Thread このスレッドは1000を超えました。 もう書けないので、新しいスレッドを立ててくださいです。。。