mirror of
https://github.com/thug1src/thug.git
synced 2025-01-22 13:53:46 +00:00
237 lines
9.7 KiB
C
237 lines
9.7 KiB
C
|
/* SCE CONFIDENTIAL
|
|||
|
"PlayStation 2" Programmer Tool Runtime Library Release 2.5
|
|||
|
*/
|
|||
|
/*
|
|||
|
* Netcnf Interface Library
|
|||
|
*
|
|||
|
* Version 1.2
|
|||
|
* Shift-JIS
|
|||
|
*
|
|||
|
* Copyright (C) 2002 Sony Computer Entertainment Inc.
|
|||
|
* All Rights Reserved.
|
|||
|
*
|
|||
|
* netcnfif.h
|
|||
|
*
|
|||
|
* Version Date Design Log
|
|||
|
* --------------------------------------------------------------------
|
|||
|
* 1.1 2002.01.28 tetsu First version
|
|||
|
* 1.2 2002.02.10 tetsu Add SCE_NETCNFIF_CHECK_ADDITIONAL_AT
|
|||
|
* Add sceNETCNFIF_TOO_LONG_STR
|
|||
|
*/
|
|||
|
|
|||
|
#ifndef __netcnfif_common_h_
|
|||
|
#define __netcnfif_common_h_
|
|||
|
|
|||
|
#ifdef __cplusplus
|
|||
|
extern "C" {
|
|||
|
#endif /* __cplusplus */
|
|||
|
|
|||
|
/* Sifrpc <20>p */
|
|||
|
#define SCE_NETCNFIF_SSIZE (4096) /* <20><><EFBFBD><EFBFBD><EFBFBD>M<EFBFBD><4D><EFBFBD><EFBFBD><EFBFBD>f<EFBFBD>[<5B>^<5E>o<EFBFBD>b<EFBFBD>t<EFBFBD>@<40>̃T<CC83>C<EFBFBD>Y */
|
|||
|
#define SCE_NETCNFIF_INTERFACE (0x80001101) /* <20><><EFBFBD>N<EFBFBD>G<EFBFBD>X<EFBFBD>g<EFBFBD><67><EFBFBD>ʎq */
|
|||
|
|
|||
|
/* Sifrpc <20>T<EFBFBD>[<5B>r<EFBFBD>X<EFBFBD><EFBFBD><D690>p<EFBFBD>ԍ<EFBFBD> */
|
|||
|
#define SCE_NETCNFIF_GET_COUNT (0) /* <20>l<EFBFBD>b<EFBFBD>g<EFBFBD><67><EFBFBD>[<5B>N<EFBFBD>ݒ<EFBFBD><DD92>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>̐<EFBFBD><CC90><EFBFBD><EFBFBD>擾 */
|
|||
|
#define SCE_NETCNFIF_GET_LIST (1) /* <20>l<EFBFBD>b<EFBFBD>g<EFBFBD><67><EFBFBD>[<5B>N<EFBFBD>ݒ<EFBFBD><DD92>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>̃<EFBFBD><CC83>X<EFBFBD>g<EFBFBD><67><EFBFBD>擾 */
|
|||
|
#define SCE_NETCNFIF_LOAD_ENTRY (2) /* <20>l<EFBFBD>b<EFBFBD>g<EFBFBD><67><EFBFBD>[<5B>N<EFBFBD>ݒ<EFBFBD><DD92>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>̓<EFBFBD><CC93>e<EFBFBD><65><EFBFBD>擾 */
|
|||
|
#define SCE_NETCNFIF_ADD_ENTRY (3) /* <20>l<EFBFBD>b<EFBFBD>g<EFBFBD><67><EFBFBD>[<5B>N<EFBFBD>ݒ<EFBFBD><DD92>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>̒lj<CC92> */
|
|||
|
#define SCE_NETCNFIF_EDIT_ENTRY (4) /* <20>l<EFBFBD>b<EFBFBD>g<EFBFBD><67><EFBFBD>[<5B>N<EFBFBD>ݒ<EFBFBD><DD92>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>̕ҏW */
|
|||
|
#define SCE_NETCNFIF_DELETE_ENTRY (5) /* <20>l<EFBFBD>b<EFBFBD>g<EFBFBD><67><EFBFBD>[<5B>N<EFBFBD>ݒ<EFBFBD><DD92>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>̍폜 */
|
|||
|
#define SCE_NETCNFIF_SET_LATEST_ENTRY (6) /* <20>l<EFBFBD>b<EFBFBD>g<EFBFBD><67><EFBFBD>[<5B>N<EFBFBD>ݒ<EFBFBD><DD92>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>̃<EFBFBD><CC83>X<EFBFBD>g<EFBFBD><67><EFBFBD>ҏW */
|
|||
|
#define SCE_NETCNFIF_DELETE_ALL (7) /* <20><><EFBFBD>Ȃ<EFBFBD><C882>̃l<CC83>b<EFBFBD>g<EFBFBD><67><EFBFBD>[<5B>N<EFBFBD>ݒ<EFBFBD><DD92>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>폜 */
|
|||
|
#define SCE_NETCNFIF_CHECK_CAPACITY (8) /* <20>f<EFBFBD>o<EFBFBD>C<EFBFBD>X<EFBFBD>̎c<CC8E><63><EFBFBD>e<EFBFBD>ʂ<EFBFBD><CA82>`<60>F<EFBFBD>b<EFBFBD>N */
|
|||
|
#define SCE_NETCNFIF_CHECK_ADDITIONAL_AT (9) /* <20>lj<EFBFBD> AT <20>R<EFBFBD>}<7D><><EFBFBD>h<EFBFBD><68><EFBFBD>`<60>F<EFBFBD>b<EFBFBD>N */
|
|||
|
#define SCE_NETCNFIF_GET_ADDR (100) /* IOP <20><><EFBFBD>̎<EFBFBD><CC8E>M<EFBFBD>̈<EFBFBD>(sceNetcnfifData)<29>̃A<CC83>h<EFBFBD><68><EFBFBD>X<EFBFBD><58><EFBFBD>擾 */
|
|||
|
#define SCE_NETCNFIF_ALLOC_WORKAREA (101) /* IOP <20><><EFBFBD>̃<EFBFBD><CC83>[<5B>N<EFBFBD>G<EFBFBD><47><EFBFBD>A<EFBFBD><41><EFBFBD>m<EFBFBD><6D> */
|
|||
|
#define SCE_NETCNFIF_FREE_WORKAREA (102) /* IOP <20><><EFBFBD>̃<EFBFBD><CC83>[<5B>N<EFBFBD>G<EFBFBD><47><EFBFBD>A<EFBFBD><41><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
|
|||
|
#define SCE_NETCNFIF_SET_ENV (103) /* IOP <20><><EFBFBD><EFBFBD> sceNetCnfEnv <20>̈<EFBFBD><CC88><EFBFBD> sceNetcnfifData <20>̓<EFBFBD><CC93>e<EFBFBD><65><EFBFBD>ݒ<EFBFBD> */
|
|||
|
|
|||
|
/* <20>G<EFBFBD><47><EFBFBD>[<5B>R<EFBFBD>[<5B>h(-18 <20>܂ł<DC82> netcnf.irx <20>Ɠ<EFBFBD><C693><EFBFBD>) */
|
|||
|
#define sceNETCNFIF_NG (-1) /* <20><><EFBFBD>̑<EFBFBD><CC91>̃G<CC83><47><EFBFBD>[ */
|
|||
|
#define sceNETCNFIF_ALLOC_ERROR (-2) /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̊m<CC8A>ۂɎ<DB82><C98E>s */
|
|||
|
#define sceNETCNFIF_OPEN_ERROR (-3) /* <20>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>J<EFBFBD><4A><EFBFBD>Ȃ<EFBFBD> */
|
|||
|
#define sceNETCNFIF_READ_ERROR (-4) /* <20>ǂݍ<C782><DD8D>݂Ɏ<DD82><C98E>s */
|
|||
|
#define sceNETCNFIF_WRITE_ERROR (-5) /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>݂Ɏ<DD82><C98E>s */
|
|||
|
#define sceNETCNFIF_SEEK_ERROR (-6) /* <20>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>T<EFBFBD>C<EFBFBD>Y<EFBFBD>擾<EFBFBD>Ɏ<EFBFBD><C98E>s */
|
|||
|
#define sceNETCNFIF_REMOVE_ERROR (-7) /* <20>폜<EFBFBD>Ɏ<EFBFBD><C98E>s */
|
|||
|
#define sceNETCNFIF_ENTRY_NOT_FOUND (-8) /* <20>ݒ肪<DD92>Ȃ<EFBFBD> */
|
|||
|
#define sceNETCNFIF_INVALID_FNAME (-9) /* <20>ݒ<EFBFBD><DD92>Ǘ<EFBFBD><C797>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>̃p<CC83>X<EFBFBD><58><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73> */
|
|||
|
#define sceNETCNFIF_INVALID_TYPE (-10) /* <20><><EFBFBD>Ȃ<EFBFBD><C882>̃l<CC83>b<EFBFBD>g<EFBFBD><67><EFBFBD>[<5B>N<EFBFBD>ݒ<EFBFBD><DD92>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>̎<EFBFBD><CC8E>ނ<EFBFBD><DE82>s<EFBFBD><73> */
|
|||
|
#define sceNETCNFIF_INVALID_USR_NAME (-11) /* <20>ݒ薼<DD92><E896BC><EFBFBD>s<EFBFBD><73> */
|
|||
|
#define sceNETCNFIF_TOO_MANY_ENTRIES (-12) /* <20>ݒ萔<DD92><E89094><EFBFBD>ő吔<C591>ɒB<C992><42><EFBFBD>Ă<EFBFBD><C482><EFBFBD> */
|
|||
|
#define sceNETCNFIF_ID_ERROR (-13) /* ID <20><><EFBFBD>擾<EFBFBD>ł<EFBFBD><C582>Ȃ<EFBFBD> */
|
|||
|
#define sceNETCNFIF_SYNTAX_ERROR (-14) /* <20>ݒ<EFBFBD><DD92><EFBFBD><EFBFBD>e<EFBFBD><65><EFBFBD>s<EFBFBD><73> */
|
|||
|
#define sceNETCNFIF_MAGIC_ERROR (-15) /* <20><><EFBFBD><EFBFBD> "PlayStation 2" <20>ŕۑ<C595><DB91><EFBFBD><EFBFBD>ꂽ<EFBFBD>ݒ<EFBFBD> */
|
|||
|
#define sceNETCNFIF_CAPACITY_ERROR (-16) /* <20>f<EFBFBD>o<EFBFBD>C<EFBFBD>X<EFBFBD>̎c<CC8E><63><EFBFBD>e<EFBFBD>ʂ<EFBFBD><CA82><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȃ<EFBFBD> */
|
|||
|
#define sceNETCNFIF_UNKNOWN_DEVICE (-17) /* <20><><EFBFBD>m<EFBFBD>̃f<CC83>o<EFBFBD>C<EFBFBD>X<EFBFBD><58><EFBFBD>w<EFBFBD>肳<EFBFBD><E882B3><EFBFBD>Ă<EFBFBD><C482><EFBFBD> */
|
|||
|
#define sceNETCNFIF_IO_ERROR (-18) /* IO <20>G<EFBFBD><47><EFBFBD>[ */
|
|||
|
#define sceNETCNFIF_TOO_LONG_STR (-19) /* <20>w<EFBFBD>肳<EFBFBD>ꂽ<EFBFBD><EA82BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><F182AA92><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
|
|||
|
#define sceNETCNFIF_NO_DATA (-100) /* <20>f<EFBFBD>[<5B>^<5E><><EFBFBD>ݒ肳<DD92><E882B3><EFBFBD>ĂȂ<C482> */
|
|||
|
|
|||
|
/* Netcnf Interface <20>ɕK<C995>v<EFBFBD>ȃf<C883>[<5B>^ */
|
|||
|
typedef struct sceNetcnfifArg{
|
|||
|
int data; /* <20><><EFBFBD>̑<EFBFBD><CC91>̈<EFBFBD><CC88><EFBFBD>/<2F><><EFBFBD>̑<EFBFBD><CC91>̕Ԃ<CC95><D482>l */
|
|||
|
int f_no_decode; /* no_decode <20>t<EFBFBD><74><EFBFBD>O */
|
|||
|
int type; /* <20><><EFBFBD>Ȃ<EFBFBD><C882>̃l<CC83>b<EFBFBD>g<EFBFBD><67><EFBFBD>[<5B>N<EFBFBD>ݒ<EFBFBD><DD92>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>̎<EFBFBD><CC8E><EFBFBD> */
|
|||
|
int addr; /* EE <20><><EFBFBD>̎<EFBFBD><CC8E>M<EFBFBD>̈<EFBFBD><CC88>̃A<CC83>h<EFBFBD><68><EFBFBD>X/IOP <20><><EFBFBD>A<EFBFBD>h<EFBFBD><68><EFBFBD>X<EFBFBD>̕Ԃ<CC95><D482>l */
|
|||
|
char fname[256]; /* <20>ݒ<EFBFBD><DD92>Ǘ<EFBFBD><C797>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>̃p<CC83>X<EFBFBD><58>/<2F>lj<EFBFBD> AT <20>R<EFBFBD>}<7D><><EFBFBD>h */
|
|||
|
char usr_name[256]; /* <20>ݒ薼 */
|
|||
|
char new_usr_name[256]; /* <20>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>ݒ薼 */
|
|||
|
} sceNetcnfifArg_t;
|
|||
|
|
|||
|
enum
|
|||
|
{
|
|||
|
sceNetcnfifArg_f_no_decode_off, /* f_no_decode <20><><EFBFBD>ݒ肵<DD92>Ȃ<EFBFBD> */
|
|||
|
sceNetcnfifArg_f_no_decode_on /* f_no_decode <20><><EFBFBD>ݒ肷<DD92><E882B7> */
|
|||
|
};
|
|||
|
|
|||
|
enum
|
|||
|
{
|
|||
|
sceNetcnfifArg_type_net, /* <20>g<EFBFBD>ݍ<EFBFBD><DD8D>킹 */
|
|||
|
sceNetcnfifArg_type_ifc, /* <20>ڑ<EFBFBD><DA91>v<EFBFBD><76><EFBFBD>o<EFBFBD>C<EFBFBD>_<EFBFBD>ݒ<EFBFBD> */
|
|||
|
sceNetcnfifArg_type_dev /* <20>ڑ<EFBFBD><DA91>@<40><><EFBFBD>ݒ<EFBFBD> */
|
|||
|
};
|
|||
|
|
|||
|
/* <20><><EFBFBD>Ȃ<EFBFBD><C882>̃l<CC83>b<EFBFBD>g<EFBFBD><67><EFBFBD>[<5B>N<EFBFBD>ݒ<EFBFBD><DD92>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>̃<EFBFBD><CC83>X<EFBFBD>g */
|
|||
|
typedef struct sceNetcnfifList{
|
|||
|
int type; /* <20><><EFBFBD>Ȃ<EFBFBD><C882>̃l<CC83>b<EFBFBD>g<EFBFBD><67><EFBFBD>[<5B>N<EFBFBD>ݒ<EFBFBD><DD92>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>̎<EFBFBD><CC8E><EFBFBD> */
|
|||
|
int stat; /* <20>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>X<EFBFBD>e<EFBFBD>[<5B>^<5E>X */
|
|||
|
char sys_name[256]; /* <20>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD> */
|
|||
|
char usr_name[256]; /* <20>ݒ薼 */
|
|||
|
int p0[14]; /* <20>\<5C><><EFBFBD>̈<EFBFBD>0 */
|
|||
|
} sceNetcnfifList_t __attribute__((aligned(64)));
|
|||
|
|
|||
|
/* <20><><EFBFBD>Ȃ<EFBFBD><C882>̃l<CC83>b<EFBFBD>g<EFBFBD><67><EFBFBD>[<5B>N<EFBFBD>ݒ<EFBFBD><DD92>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>ɕۑ<C995><DB91><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>f<EFBFBD>[<5B>^ */
|
|||
|
typedef struct sceNetcnfifData{
|
|||
|
char attach_ifc[256]; /* <20>ڑ<EFBFBD><DA91>v<EFBFBD><76><EFBFBD>o<EFBFBD>C<EFBFBD>_<EFBFBD>ݒ<EFBFBD><DD92>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD>(net) */
|
|||
|
char attach_dev[256]; /* <20>ڑ<EFBFBD><DA91>@<40><><EFBFBD>ݒ<EFBFBD><DD92>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD>(net) */
|
|||
|
char dhcp_host_name[256]; /* DHCP<43>p<EFBFBD>z<EFBFBD>X<EFBFBD>g<EFBFBD><67>(ifc) */
|
|||
|
char address[256]; /* IP<49>A<EFBFBD>h<EFBFBD><68><EFBFBD>X(ifc) */
|
|||
|
char netmask[256]; /* <20>l<EFBFBD>b<EFBFBD>g<EFBFBD>}<7D>X<EFBFBD>N(ifc) */
|
|||
|
char gateway[256]; /* <20>f<EFBFBD>t<EFBFBD>H<EFBFBD><48><EFBFBD>g<EFBFBD><67><EFBFBD>[<5B>^(ifc) */
|
|||
|
char dns1_address[256]; /* <20>v<EFBFBD><76><EFBFBD>C<EFBFBD>}<7D><>DNS(ifc) */
|
|||
|
char dns2_address[256]; /* <20>Z<EFBFBD>J<EFBFBD><4A><EFBFBD>_<EFBFBD><5F>DNS(ifc) */
|
|||
|
char phone_numbers1[256]; /* <20>ڑ<EFBFBD><DA91><EFBFBD><EFBFBD>d<EFBFBD>b<EFBFBD>ԍ<EFBFBD>1(ifc) */
|
|||
|
char phone_numbers2[256]; /* <20>ڑ<EFBFBD><DA91><EFBFBD><EFBFBD>d<EFBFBD>b<EFBFBD>ԍ<EFBFBD>2(ifc) */
|
|||
|
char phone_numbers3[256]; /* <20>ڑ<EFBFBD><DA91><EFBFBD><EFBFBD>d<EFBFBD>b<EFBFBD>ԍ<EFBFBD>3(ifc) */
|
|||
|
char auth_name[256]; /* <20><><EFBFBD>[<5B>UID(ifc) */
|
|||
|
char auth_key[256]; /* <20>p<EFBFBD>X<EFBFBD><58><EFBFBD>[<5B>h(ifc) */
|
|||
|
char peer_name[256]; /* <20>ڑ<EFBFBD><DA91><EFBFBD><EFBFBD>̔F<CC94>ؖ<EFBFBD>(ifc) */
|
|||
|
char vendor[256]; /* <20>x<EFBFBD><78><EFBFBD>_<EFBFBD><5F>(dev) */
|
|||
|
char product[256]; /* <20>v<EFBFBD><76><EFBFBD>_<EFBFBD>N<EFBFBD>g<EFBFBD><67>(dev) */
|
|||
|
char chat_additional[256]; /* <20>lj<EFBFBD>AT<41>R<EFBFBD>}<7D><><EFBFBD>h(dev) */
|
|||
|
char outside_number[256]; /* <20>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD>M<EFBFBD>ԍ<EFBFBD><D48D>ݒ<EFBFBD>(<28>ԍ<EFBFBD><D48D>ݒ蕔<DD92><E89594>)(dev) */
|
|||
|
char outside_delay[256]; /* <20>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD>M<EFBFBD>ԍ<EFBFBD><D48D>ݒ<EFBFBD>(<28>x<EFBFBD><78><EFBFBD>ݒ蕔<DD92><E89594>)(dev) */
|
|||
|
int ifc_type; /* <20>f<EFBFBD>o<EFBFBD>C<EFBFBD>X<EFBFBD><58><EFBFBD>C<EFBFBD><43><EFBFBD>̎<EFBFBD><CC8E><EFBFBD>(ifc) */
|
|||
|
int mtu; /* MTU<54>̐ݒ<CC90>(ifc) */
|
|||
|
int ifc_idle_timeout; /* <20><><EFBFBD><EFBFBD><EFBFBD>ؒf<D892>ݒ<EFBFBD>(ifc) */
|
|||
|
int dev_type; /* <20>f<EFBFBD>o<EFBFBD>C<EFBFBD>X<EFBFBD><58><EFBFBD>C<EFBFBD><43><EFBFBD>̎<EFBFBD><CC8E><EFBFBD>(dev) */
|
|||
|
int phy_config; /* <20>C<EFBFBD>[<5B>T<EFBFBD>l<EFBFBD>b<EFBFBD>g<EFBFBD>ڑ<EFBFBD><DA91>@<40><><EFBFBD>̓<EFBFBD><CC93>샂<EFBFBD>[<5B>h(dev) */
|
|||
|
int dialing_type; /* <20>_<EFBFBD>C<EFBFBD>A<EFBFBD><41><EFBFBD><EFBFBD><EFBFBD>@(dev) */
|
|||
|
int dev_idle_timeout; /* <20><><EFBFBD><EFBFBD><EFBFBD>ؒf<D892>ݒ<EFBFBD>(dev) */
|
|||
|
int p0; /* <20>\<5C><><EFBFBD>̈<EFBFBD>0 */
|
|||
|
unsigned char dhcp; /* DHCP<43>g<EFBFBD>p<EFBFBD>E<EFBFBD>s<EFBFBD>g<EFBFBD>p(ifc) */
|
|||
|
unsigned char dns1_nego; /* DNS<4E>T<EFBFBD>[<5B>o<EFBFBD>A<EFBFBD>h<EFBFBD><68><EFBFBD>X<EFBFBD><58><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>擾<EFBFBD><E693BE><EFBFBD><EFBFBD><EFBFBD>E<EFBFBD><45><EFBFBD>Ȃ<EFBFBD>(ifc) */
|
|||
|
unsigned char dns2_nego; /* DNS<4E>T<EFBFBD>[<5B>o<EFBFBD>A<EFBFBD>h<EFBFBD><68><EFBFBD>X<EFBFBD><58><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>擾<EFBFBD><E693BE><EFBFBD><EFBFBD><EFBFBD>E<EFBFBD><45><EFBFBD>Ȃ<EFBFBD>(ifc) */
|
|||
|
unsigned char f_auth; /* <20>F<EFBFBD>ؕ<EFBFBD><D895>@<40>̎w<CC8E><77><EFBFBD>L<EFBFBD><4C>(ifc) */
|
|||
|
unsigned char auth; /* <20>F<EFBFBD>ؕ<EFBFBD><D895>@(ifc) */
|
|||
|
unsigned char pppoe; /* PPPoE<6F>g<EFBFBD>p<EFBFBD>E<EFBFBD>s<EFBFBD>g<EFBFBD>p(ifc) */
|
|||
|
unsigned char prc_nego; /* PFC<46>l<EFBFBD>S<EFBFBD>V<EFBFBD>G<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>̋֎~(ifc) */
|
|||
|
unsigned char acc_nego; /* ACFC<46>l<EFBFBD>S<EFBFBD>V<EFBFBD>G<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>̋֎~(ifc) */
|
|||
|
unsigned char accm_nego; /* ACCM<43>l<EFBFBD>S<EFBFBD>V<EFBFBD>G<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>̋֎~(ifc) */
|
|||
|
unsigned char p1; /* <20>\<5C><><EFBFBD>̈<EFBFBD>1 */
|
|||
|
unsigned char p2; /* <20>\<5C><><EFBFBD>̈<EFBFBD>2 */
|
|||
|
unsigned char p3; /* <20>\<5C><><EFBFBD>̈<EFBFBD>3 */
|
|||
|
int p4[5]; /* <20>\<5C><><EFBFBD>̈<EFBFBD>4 */
|
|||
|
} sceNetcnfifData_t __attribute__((aligned(64)));
|
|||
|
|
|||
|
enum
|
|||
|
{
|
|||
|
sceNetcnfifData_type_no_set = -1, /* <20>ݒ肵<DD92>Ȃ<EFBFBD> */
|
|||
|
sceNetcnfifData_type_eth = 1, /* type eth */
|
|||
|
sceNetcnfifData_type_ppp, /* type ppp */
|
|||
|
sceNetcnfifData_type_nic /* type nic */
|
|||
|
};
|
|||
|
|
|||
|
enum
|
|||
|
{
|
|||
|
sceNetcnfifData_mtu_no_set = -1, /* <20>ݒ肵<DD92>Ȃ<EFBFBD> */
|
|||
|
sceNetcnfifData_mtu_default = 1454 /* mtu 1454 */
|
|||
|
};
|
|||
|
|
|||
|
enum
|
|||
|
{
|
|||
|
sceNetcnfifData_idle_timeout_no_set = -1 /* <20>ݒ肵<DD92>Ȃ<EFBFBD> */
|
|||
|
};
|
|||
|
|
|||
|
enum
|
|||
|
{
|
|||
|
sceNetcnfifData_phy_config_no_set = -1, /* <20>ݒ肵<DD92>Ȃ<EFBFBD> */
|
|||
|
sceNetcnfifData_phy_config_auto = 1, /* phy_config auto */
|
|||
|
sceNetcnfifData_phy_config_10, /* phy_config 10 */
|
|||
|
sceNetcnfifData_phy_config_10_FD, /* phy_config 10_fd */
|
|||
|
sceNetcnfifData_phy_config_TX = 5, /* phy_config tx */
|
|||
|
sceNetcnfifData_phy_config_TX_FD /* phy_config tx_fd */
|
|||
|
};
|
|||
|
|
|||
|
enum
|
|||
|
{
|
|||
|
sceNetcnfifData_dialing_type_no_set = -1, /* <20>ݒ肵<DD92>Ȃ<EFBFBD> */
|
|||
|
sceNetcnfifData_dialing_type_tone = 0, /* dialing_type tone */
|
|||
|
sceNetcnfifData_dialing_type_pulse /* dialing_type pulse */
|
|||
|
};
|
|||
|
|
|||
|
enum
|
|||
|
{
|
|||
|
sceNetcnfifData_dhcp_no_set = 0xff, /* <20>ݒ肵<DD92>Ȃ<EFBFBD> */
|
|||
|
sceNetcnfifData_dhcp_no_use = 0, /* -dhcp */
|
|||
|
sceNetcnfifData_dhcp_use /* dhcp */
|
|||
|
};
|
|||
|
|
|||
|
enum
|
|||
|
{
|
|||
|
sceNetcnfifData_dns_nego_no_set = 0xff, /* <20>ݒ肵<DD92>Ȃ<EFBFBD> */
|
|||
|
sceNetcnfifData_dns_nego_on = 1 /* want.dns1_nego/want.dns2_nego */
|
|||
|
};
|
|||
|
|
|||
|
enum
|
|||
|
{
|
|||
|
sceNetcnfifData_f_auth_off, /* allow.auth chap/pap <20><><EFBFBD>ݒ肵<DD92>Ȃ<EFBFBD> */
|
|||
|
sceNetcnfifData_f_auth_on /* allow.auth chap/pap <20><><EFBFBD>ݒ肷<DD92><E882B7> */
|
|||
|
};
|
|||
|
|
|||
|
enum
|
|||
|
{
|
|||
|
sceNetcnfifData_auth_chap_pap = 4 /* allow.auth chap/pap */
|
|||
|
};
|
|||
|
|
|||
|
enum
|
|||
|
{
|
|||
|
sceNetcnfifData_pppoe_no_set = 0xff, /* <20>ݒ肵<DD92>Ȃ<EFBFBD> */
|
|||
|
sceNetcnfifData_pppoe_use = 1 /* pppoe */
|
|||
|
};
|
|||
|
|
|||
|
enum
|
|||
|
{
|
|||
|
sceNetcnfifData_prc_nego_no_set = 0xff, /* <20>ݒ肵<DD92>Ȃ<EFBFBD> */
|
|||
|
sceNetcnfifData_prc_nego_off = 0 /* -want.prc_nego */
|
|||
|
};
|
|||
|
|
|||
|
enum
|
|||
|
{
|
|||
|
sceNetcnfifData_acc_nego_no_set = 0xff, /* <20>ݒ肵<DD92>Ȃ<EFBFBD> */
|
|||
|
sceNetcnfifData_acc_nego_off = 0 /* -want.acc_nego */
|
|||
|
};
|
|||
|
|
|||
|
enum
|
|||
|
{
|
|||
|
sceNetcnfifData_accm_nego_no_set = 0xff, /* <20>ݒ肵<DD92>Ȃ<EFBFBD> */
|
|||
|
sceNetcnfifData_accm_nego_off = 0 /* -want.accm_nego */
|
|||
|
};
|
|||
|
|
|||
|
#ifdef __cplusplus
|
|||
|
}
|
|||
|
#endif /* __cplusplus */
|
|||
|
|
|||
|
#endif /*__netcnfif_common_h_ */
|